Hello as we know theres aint source script for firewalker boots so i made one in lua, it wont crash your server or lag/frezee script is fine made and tested on 60+ players online.
I self using 0.2.10 and shoted monsters fire fields not disspearing so i used firewalkers to work only for this fire field id.
but if you wanna to add for all fire fields this script to use, remove all fire fields ids and paste same line as down just change itemid to removed line item id.
find word 1487 then delete line and add this one.
firewalker.lua
It works simple doing animated text how much damage taken, and removing player health so this means it allways will remove for you -20 life or -2 if you wearing fire absorb items or not, after -20 damage you will get condition condition can be absorbed by fire absorbing items. why i made doCreatureAddHealth, well thats simple doAddCondition cant remove for players so fast -20 health by fire, so if player runs very fast he wont be damaged and server will freeze...
I self using 0.2.10 and shoted monsters fire fields not disspearing so i used firewalkers to work only for this fire field id.
but if you wanna to add for all fire fields this script to use, remove all fire fields ids and paste same line as down just change itemid to removed line item id.
find word 1487 then delete line and add this one.
Code:
<movevent event="StepIn" itemid="1487" script="firewalker.lua"/>
firewalker.lua
LUA:
local condition = createConditionObject(CONDITION_FIRE)
setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 10, 3000, -10)
function onStepIn(cid, item, fromPosition)
if isPlayer(cid) then
if getPlayerSlotItem(cid, CONST_SLOT_FEET).itemid == 9932 then
doCreatureAddHealth(cid, -2)
doSendAnimatedText(cid, fromPosition, "-2", TALKTYPE_ORANGE_1)
else
doCreatureAddHealth(cid, -20)
doSendAnimatedText(cid, fromPosition, "-20", TALKTYPE_ORANGE_1)
doAddCondition(cid, condition)
end
end
return true
end
It works simple doing animated text how much damage taken, and removing player health so this means it allways will remove for you -20 life or -2 if you wearing fire absorb items or not, after -20 damage you will get condition condition can be absorbed by fire absorbing items. why i made doCreatureAddHealth, well thats simple doAddCondition cant remove for players so fast -20 health by fire, so if player runs very fast he wont be damaged and server will freeze...
Last edited: