<Custom Apply Effect> this._toxic = this._toxic || 0; this._toxic += 1; </Custom Apply Effect> <Custom Regenerate Effect> var n = this._toxic; var value = n * 40; //播放中毒动画 user.startAnimation(59); user.gainHp(-value); </Custom Regenerate Effect>
shiroin 发表于 2024-4-21 08:34
有YEP-buffsStatesCore就够了
把这些代码填在你中毒的状态注释栏里
我顺便加了一个新机制,中毒状态可以堆 ...
Mirat 发表于 2024-4-21 01:55
YEP的Extended Damage Over Time插件可以做到用数值或公式来减少或增加HP哦
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |