What do these parameters mean? (addStatusEffect)
Posted: Sat Dec 07, 2013 5:13 pm
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),...); ?
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),...); ?