• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[TFS1.1]'CONDITION_PARAM_STAT_MAGICLEVEL' doesn't work

nope, it works
CONDITION_PARAM_STAT_MAGICPOINTS
o lol I didn't even notice xD
But you know what we could here to make it smoother?

:D lets add this line to global.lua (or whereever you write you global scripts. (compat.lua?)
Code:
CONDITION_PARAM_STAT_MAGICLEVEL = CONDITION_PARAM_STAT_MAGICPOINTS
Now next time from top of your head when you type something like this:
attributes:setParameter(CONDITION_PARAM_STAT_MAGICLEVEL, 2)
It will autically understand you were walking about MAGICPOINTS.

What I like to do is this too:
Code:
PHYSICAL = COMBAT_PHYSICALDAMAGE
ICE = COMBAT_ICEDAMAGE
FIRE = COMBAT_FIREDAMAGE
ENERGY = COMBAT_ENERGYDAMAGE
EARTH = COMBAT_EARTHDAMAGE
DEATH = COMBAT_DEATHDAMAGE
keeps them lines smaller and easier to read.
 
Back
Top