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

Linux How to make :O

Lbtg

Intermediate OT User
Joined
Nov 22, 2008
Messages
2,324
Reaction score
136
Hey guys , is it possible to make that spell takes HEALTH not mana for casting it ? :) is it possible if so how ? :)
 
doCreatureAddHealth(cid, health[, force])

Use a negative value for health. Disregard force.
 
Thanks alot .
can you please help me with line at login.lua for that vocation 13 has magicshield 4ever ?
 
Note.. if there is a mana shield ring.. or something else that removes manashield from target, they would need to relog to re-obtain the manashield buff.
Code:
if getPlayerVocation(cid) == 13 then
    local mana_shield = createConditionObject(CONDITION_MANASHIELD)
    setConditionParam(mana_shield, CONDITION_PARAM_TICKS, -1)
end

Not tested either.. I just copy pasted most of it from somewhere. :x
 
Back
Top