MUI question

Status
Not open for further replies.
Level 11
Joined
Dec 5, 2009
Messages
846
In many MUI spells i see people storing stuff in "unnecessary" variables.
Like so
  • Set Damage[index] = 400
and use it for something like
  • Unit - Cause Unit to damage Unit2, dealing Damage[index] damage of attack type Spells and damage type Unknown
Why not just do like this?
  • Unit - Cause Unit to damage Unit2, dealing 400 damage of attack type Spells and damage type Unknown
and skip the whole variable? because it wont make the spell less MUI right?
 
Level 29
Joined
Sep 26, 2009
Messages
2,594
If the damage is constant then I think yes.
Storing the value first is better if the damage is different per cast (like it takes part of caster's attribute as bonus, etc.). It's way better to store it if your ability is AoE-based (in other words, it's better if you were about to loop a group of targets)
 
Status
Not open for further replies.
Top