Several status fixes (#7216)

* Fixes #7215.
* Fixes endows not being removed on death and staying while switching weapon.
* Fixes some statuses that must disappear when logging off: Strip skills, Asura SP Regen Malus, Critical Explosion, NPC Change Undead.
* Monsters in StoneWait are correctly prevented from attacking.
This commit is contained in:
Singe Horizontal 2022-09-06 14:52:27 +02:00 committed by GitHub
parent 8629c6445a
commit 957efd823f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 8 deletions

View File

@ -79,6 +79,7 @@ Body:
DurationLookup: NPC_PETRIFYATTACK
States:
NoCast: true
NoAttack: true
Opt1: StoneWait
Flags:
SendOption: true
@ -352,6 +353,8 @@ Body:
DurationLookup: AS_ENCHANTPOISON
CalcFlags:
Atk_Ele: true
Flags:
RemoveOnUnequipWeapon: true
End:
Aspersio: true
Fireweapon: true
@ -752,6 +755,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Stripshield
Icon: EFST_NOEQUIPSHIELD
DurationLookup: RG_STRIPSHIELD
@ -763,6 +767,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Striparmor
Icon: EFST_NOEQUIPARMOR
DurationLookup: RG_STRIPARMOR
@ -774,6 +779,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Striphelm
Icon: EFST_NOEQUIPHELM
DurationLookup: RG_STRIPHELM
@ -785,6 +791,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Cp_Weapon
Icon: EFST_PROTECTWEAPON
DurationLookup: AM_CP_WEAPON
@ -932,6 +939,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Explosionspirits
Icon: EFST_EXPLOSIONSPIRITS
DurationLookup: MO_EXPLOSIONSPIRITS
@ -943,6 +951,7 @@ Body:
Flags:
Debuff: true
NoClearance: true
NoSave: true
- Status: Combo
Flags:
NoClearbuff: true
@ -979,7 +988,7 @@ Body:
CalcFlags:
Atk_Ele: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -994,7 +1003,7 @@ Body:
CalcFlags:
Atk_Ele: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1009,7 +1018,7 @@ Body:
CalcFlags:
Atk_Ele: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1024,7 +1033,7 @@ Body:
CalcFlags:
Atk_Ele: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1326,6 +1335,7 @@ Body:
Flags:
Debuff: true
NoClearance: true
NoSave: true
End:
Blessing: true
Increaseagi: true

View File

@ -80,6 +80,7 @@ Body:
DurationLookup: NPC_PETRIFYATTACK
States:
NoCast: true
NoAttack: true
Opt1: StoneWait
Flags:
SendOption: true
@ -363,6 +364,8 @@ Body:
DurationLookup: AS_ENCHANTPOISON
CalcFlags:
Atk_Ele: true
Flags:
RemoveOnUnequipWeapon: true
End:
Aspersio: true
Fireweapon: true
@ -767,6 +770,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Stripshield
Icon: EFST_NOEQUIPSHIELD
DurationLookup: RG_STRIPSHIELD
@ -778,6 +782,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Striparmor
Icon: EFST_NOEQUIPARMOR
DurationLookup: RG_STRIPARMOR
@ -789,6 +794,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Striphelm
Icon: EFST_NOEQUIPHELM
DurationLookup: RG_STRIPHELM
@ -800,6 +806,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Cp_Weapon
Icon: EFST_PROTECTWEAPON
DurationLookup: AM_CP_WEAPON
@ -947,6 +954,7 @@ Body:
NoDispell: true
NoBanishingBuster: true
NoClearance: true
NoSave: true
- Status: Explosionspirits
Icon: EFST_EXPLOSIONSPIRITS
DurationLookup: MO_EXPLOSIONSPIRITS
@ -958,6 +966,7 @@ Body:
Flags:
Debuff: true
NoClearance: true
NoSave: true
- Status: Combo
Flags:
NoClearbuff: true
@ -994,7 +1003,7 @@ Body:
CalcFlags:
All: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1009,7 +1018,7 @@ Body:
CalcFlags:
All: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1024,7 +1033,7 @@ Body:
CalcFlags:
All: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1039,7 +1048,7 @@ Body:
CalcFlags:
All: true
Flags:
NoRemoveOnDead: true
RemoveOnUnequipWeapon: true
End:
Encpoison: true
Aspersio: true
@ -1341,6 +1350,7 @@ Body:
Flags:
Debuff: true
NoClearance: true
NoSave: true
End:
Blessing: true
Increaseagi: true