| 赞 | 43  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 61 | 
 
| 经验 | 240 | 
 
| 最后登录 | 2025-8-11 | 
 
| 在线时间 | 605 小时 | 
 
 
 
 
 
Lv4.逐梦者 
	- 梦石
 - 0 
 
        - 星屑
 - 6090 
 
        - 在线时间
 - 605 小时
 
        - 注册时间
 - 2017-9-27
 
        - 帖子
 - 251
 
 
 
 | 
	
Game_Action.prototype.makeDamageValue = function(target, critical) { 
    var item = this.item(); 
    var baseValue = this.evalDamageFormula(target); 
    var value = baseValue * this.calcElementRate(target); 
    $gameVariables.setValue(1,target._actorId);//1号变量代入目标ID 
    if (this.isPhysical()) { 
        value *= target.pdr; 
    } 
    if (this.isMagical()) { 
        value *= target.mdr; 
    } 
    if (baseValue < 0) { 
        value *= target.rec; 
    } 
    if (critical) { 
        value = this.applyCritical(value); 
    } 
    value = this.applyVariance(value, item.damage.variance); 
    value = this.applyGuard(value, target); 
    value = Math.round(value); 
    return value; 
}; |   
 
 
 
 |