KaerfNomekop
Swim, fishies. Swim through the veil of steel.
- Reaction score
- 613
Trigger:
- Custom script: local real InitialMana
This creates a local variable to be used.
Trigger:
- Custom script: set InitialMana = GetUnitStateSwap(UNIT_STATE_MANA, GetTriggerUnit())
This sets the local variable to the unit's current MP.
Trigger:
- Custom script: set udg_TempReal = InitialMana
This sets the variable TempReal to the unit's MP before using the ring. We then use TempReal to compare with the unit's current MP.
Both TempReal and InitialMana are real variables.