Looking through luas, I've come across the method addStatusEffect. I am wondering what exactly the parameters mean for this method.
addStatusEffect(EFFECT_AGGRESSOR,1,0,180);
For this, I understand 180 is duration. But what I don't understand is the 1 and 0. Same thing for Tabula Rasa:
addStatusEffect(EFFECT_TABULA_RASA,math.floor(helixbonus*1.5),0,180,0,math.floor(regenbonus*1.5));
I understand the 180 and effects. But how are the parameters set up? is it:
addStatusEffect(effect, (first mod), (idk what 0 is), (duration), (again, 0), (second mod), (0 I assume?), (third mod),...); ?
What do these parameters mean? (addStatusEffect)
Re: What do these parameters mean? (addStatusEffect)
Code: Select all
CStatusEffect(
EFFECT id,
uint16 icon,
uint16 power,
uint32 tick,
uint32 duration,
uint32 subid = 0,
uint16 subPower = 0,
uint16 tier = 0);
thus
Code: Select all
addStatusEffect(EFFECT_TABULA_RASA,math.floor(helixbonus*1.5),0,180,0,math.floor(regenbonus*1.5));