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

How to make when u walk on ground lose health

You can use function onStepIn (movements) for example with using an actionid on the grond, or itemid if you want it for all items with a certain id.
For the health loss you can use for example
Lua:
doTargetCombatHealth(0, cid, COMBAT_PHYSICALDAMAGE, -15, -30, CONST_ME_NONE)
If you are not sure where the parameters stand for: doTargetCombatHealth(cid, target, type, min, max, effect).
For the poison you can use doAddCondition(cid, condition) or doTargetCombatCondition(0, cid, condition, CONST_ME_NONE), then add a poison condition.
 
Back
Top