@Losam
That is not necessary as it is GUI although it is better to use the custom script as it is more efficient.
@TO
This does not accurately show if a unit is dead.
-
((Picked unit) is dead) Equal to True
If a unit is removed from game it shows as if it is alive. There is also some other cases.
You should use an or condition with
unit type of unit not equal to 0
((Picked unit) is dead) Equal to True
All of these variables should simply be temp variables.
-
Set WP_Key_PickedUnit = (Picked unit)
-
Set WP_Key = (Key WP_Key_PickedUnit)
-
Set WP_Caster = (Load 1 of WP_Key in WP_Hashtable)
-
Set WP_Damage_Total = (Load 2 of WP_Key from WP_Hashtable)
-
Set WP_Range_Total = (Load 3 of WP_Key from WP_Hashtable)
-
Set WP_Point_Whirlpool = (Load 4 of WP_Key in WP_Hashtable)
-
Set WP_Int_Counter = (Load 5 of WP_Key from WP_Hashtable)
-
Set WP_Int_Counter = (WP_Int_Counter + 1)
-
Hashtable - Save WP_Int_Counter as 5 of WP_Key in WP_Hashtable
-
Set WP_Pull_Intensity_Total = (Load 6 of WP_Key from WP_Hashtable)
-
Set WP_Int_Counter_2 = (Load 7 of WP_Key from WP_Hashtable)
-
Set WP_Int_Counter_2 = (WP_Int_Counter_2 + 1)
All variables that are only temporary should use temp variables. This way you don't create unnecessary variables.