0471名前は開発中のものです。
2017/10/21(土) 21:34:25.38ID:lwta9Vsv耐久足すだけだと耐久高い武器でインフレするしカスパラかなんかで最大を決めて
最大 * (weapon.getLimit() / weapon.getLimitMax())とかにしたほうがいいと思うけど
(function(){
var alias = BaseUnitParameter.getUnitTotalParamBonus;
BaseUnitParameter.getUnitTotalParamBonus = function(unit, weapon){
var value = alias.call(this, unit, weapon);
if(weapon !== null && weapon.custom.type === this.getParameterType()){
value += weapon.getLimit();
}
return value;
};
})();