• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Funny will with Fire

GeKirAh

Banned User
Joined
Feb 14, 2009
Messages
163
Reaction score
0
Location
Brazil !!!
Funny Kill with fire
Hello I'm here again for show new scripts to all people.

See this ^^

Script:
The Best Scripter Wrote:
--Cepe Style--

local fire = createConditionObject(CONDITION_FIRE)
addDamageCondition(fire, 5, 3000, -10)

function onUse(cid, item, frompos, item2, topos)
if item.itemid == 5475 then
doTeleportThing(cid,topos)
doCreatureAddHealth(cid,-getPlayerHealth(cid)+20)
doPlayerAddMana(cid, -getPlayerMana(cid))
doSendAnimatedText(topos,"Don't use my box!",50)
doTransformItem(item.uid,item.itemid-1)
doTargetCombatCondition(0, cid, fire, CONST_ME_NONE)
else
doTransformItem(item.uid,item.itemid+1)
end
return 1
end

5475 ID of the box. (You can use your own id of box)
Don't use my box! Message showed in the screen of player.
+20 HP of player after used box.
--RED Conditional event (Player get fire of 20).

Put this on data/actions/actions.xml
Code:
<action itemid="5475" script="funykillfire.lua" />
5475 is the id of the box.
I'll try to explain...

When the player uses the box, the box makes it to 20 HP and burned. And give him wana for do any spell.



I hope you enjoy.

Good bye. see you later.

Credits -> Cape Style
 
if player go with fire have an msg:
Dont use the box, if him use go to 20 HP, and dead to fire understand? ;D
and lose more 20 hitpoints by fire, it get dead ;D
 
Back
Top