• 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!

Lua I have a doubt in conditions.

beenii

Well-Known Member
Joined
Jul 26, 2010
Messages
586
Solutions
1
Reaction score
58
exist any condition of protec fire or any element o protec all?
 
i want this:

-absorbPercentEnergy
-absorbPercentFire
-absorbPercentIce
-absorbPercentPoison
-absorbPercentManaDrain
-absorbPercentLifeDrain
-absorbPercenPhysical
-absorbPercenDeath
-absorbPercenEarth
-absorbPercenHoly
-absorbPercenDrown


for example in.
its posible?

conditionDIST = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(conditionDIST, CONDITION_PARAM_TICKS, -1)
setConditionParam(conditionDIST, CONDITION_PARAM_SKILL_DISTANCE, i)
setConditionParam(conditionDIST, CONDITION_PARAM_BUFF, true)
setConditionParam(conditionDIST, CONDITION_PARAM_SUBID, 55)
 
These absorb percentages is what you would normally find on an item or as part of a vocation, conditions are temporary although they can be made to be consistent.
 
I have make to do manually, with the attrib in article and with the function onstatschange.

it would have been easier with those attributes creaturescript xD
 
Back
Top