Hello to all hiveworkshopers. Im newcomer for W3 GUI and a newbie to programmer area. So i have a basic question that i searhed but i coudnt fiind an answer.
My question is:
First look at my script here.
Quetion. Is is more memory efficient than using different realVeriables instead 1 array. ( like reLevelofAbility, reMaxHp, reCasterInte...)?
My question is:
First look at my script here.
-
Cast
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Renew
-
((Casting unit) is A Hero) Equal to True
-
-
Actions
-
Set reInt = 0.00
-
Set reCaster = (Casting unit)
-
Set reTarget = (Target unit of ability being cast)
-
Set reAb = (Ability being cast)
-
Set reArry[1] = (Real((Level of reAb for reCaster)))
-
Set reArry[2] = (Real((Intelligence of reCaster (Include bonuses))))
-
Set reArry[3] = (Real((Max HP of reTarget)))
-
Set reDur = (Ability Cooldown of reCaster for ability reAb, Level: (Integer((reArry[1] - 1.00))))
-
Trigger - Turn on rePeriod <gen>
-
-
Quetion. Is is more memory efficient than using different realVeriables instead 1 array. ( like reLevelofAbility, reMaxHp, reCasterInte...)?
Last edited: