- Joined
- Apr 18, 2010
- Messages
- 102
HI i have question, my spells involve array variables like Spell_Caster[1] to Spell_Caster[16] spread throughout many spells. some have Spell_Duration[x] others spell_Damage[x] (you get the idea) will I hit the OP limit if I continue using this system?
Just a while ago, one of my spell triggers malfunctioned, using a variable Spell_Damage[16] and many more variables, but a latter-made trigger using Spell_Damage[17] works fine. I figured that I hit the OP limit, but when I deleted that variable from the malfunctioning trigger, everything turned out fine again..
Question is, would future spells malfunction?
Next spell should use Spell_something[<18] variables on its triggers.
Also, my spells use a unique cooldown system, making me keep all the spells in check,
like Spell_Ability[1] = Firebolt, Spell_ability[2] = Frost nova, etc..
and a trigger running every second, checks whether the spell is on CD or not,
That trigger has a loop like
for each variable A from 1 to 100
if Spell_Ability[variable A] is on Cooldown
>>>> u get the idea
Just a while ago, one of my spell triggers malfunctioned, using a variable Spell_Damage[16] and many more variables, but a latter-made trigger using Spell_Damage[17] works fine. I figured that I hit the OP limit, but when I deleted that variable from the malfunctioning trigger, everything turned out fine again..
Question is, would future spells malfunction?
Next spell should use Spell_something[<18] variables on its triggers.
Also, my spells use a unique cooldown system, making me keep all the spells in check,
like Spell_Ability[1] = Firebolt, Spell_ability[2] = Frost nova, etc..
and a trigger running every second, checks whether the spell is on CD or not,
That trigger has a loop like
for each variable A from 1 to 100
if Spell_Ability[variable A] is on Cooldown
>>>> u get the idea