修改视为造成伤害的结算

This commit is contained in:
Spmario233 2024-05-06 23:22:26 +08:00
parent e398ab311c
commit dd16017804
1 changed files with 1 additions and 0 deletions

View File

@ -5848,6 +5848,7 @@ export class Player extends HTMLDivElement {
return get.is.sameNature(natures, naturesx); return get.is.sameNature(natures, naturesx);
}; };
if (next.hasNature("poison")) delete next._triggered; if (next.hasNature("poison")) delete next._triggered;
else if(next.unreal) next._triggered = 2;
next.setContent("damage"); next.setContent("damage");
next.filterStop = function () { next.filterStop = function () {
if (this.source && this.source.isDead()) delete this.source; if (this.source && this.source.isDead()) delete this.source;