IF
CharacterStatusApplied(_Player,"SZ_P_GHOSTSOULMODE",)
AND
CharacterGetEquippedWeapon(_Player,_CurrentWeapon)
AND
NOT DB_SZ_GhostSoul_Weapon(_Player,_CurrentWeapon)
THEN
CharacterUnequipItem(_Player,(ITEMGUID)_CurrentWeapon);
DB_SZ_GhostSoul_Weapon(_Player,_CurrentWeapon);
IF
CharacterStatusApplied(_Player,"SZ_P_GHOSTSOULMODE",)
AND
CharacterGetEquippedItem(_Player,"Shield",_CurrentOffhand)
AND
NOT DB_SZ_GhostSoul_Shield(_Player,_CurrentOffhand)
THEN
CharacterUnequipItem(_Player,(ITEMGUID)_CurrentOffhand);
DB_SZ_GhostSoul_Shield(_Player,_CurrentOffhand);
IF
CharacterStatusRemoved(_Player,"SZ_P_GHOSTSOULMODE",)
AND
DB_SZ_GhostSoul_Weapon(_Player,_WeaponToEq)
THEN
CharacterEquipItem(_Player,(ITEMGUID)_WeaponToEq);
NOT DB_SZ_GhostSoul_Weapon(_Player,_WeaponToEq);
IF
CharacterStatusRemoved(_Player,"SZ_P_GHOSTSOULMODE",)
AND
DB_SZ_GhostSoul_Shield(_Player,_OffhandToEq)
THEN
CharacterEquipItem(_Player,(ITEMGUID)_OffhandToEq);
NOT DB_SZ_GhostSoul_Shield(_Player,_OffhandToEq);