|
7343| 11
|
[有事请教] 伤害公式请教? |
|
悬赏200星屑已解决
最佳答案如果对于技能,可以用YEP的DamageCore
如果是对于某个人物,那就要自己写插件了,这样对于该人物所有技能都有效
[pre lang="javascript"]var _Game_Action_executeDamage = Game_Action.prototype.executeDamage;
Game_Action.prototype.executeDamage = function (target, value) {
if(value>0)
{/*Damage Formula中间的东西,去掉第3行*/}
_Game_Action_executeDamage.call(this, target, value);
}[/pre] ...
| ||
| ||
| ||
| ||