No more fire fields on water!
I made this like a year ago, it's a very simple script(waaay to simple ) , but some people may find it useful.
movements.xml
scripts/nofire.lua
And that's it.... Now If a player summons a fire elemental underwater, when it dies, instead of leaving a fire field there breaking the laws of physics, the fire elemental will just Poff.
The same applies to throwing Fire Field, Fire Bombs and Fire Wall runes underwater or on walkable water tiles.
I made this like a year ago, it's a very simple script(waaay to simple ) , but some people may find it useful.
movements.xml
Code:
<movevent event="AddItem" tileitem="1" fromid="4820" toid="4825" script="nofire.lua"/>
<movevent event="AddItem" tileitem="1" fromid="5405" toid="5410" script="nofire.lua"/>
<movevent event="AddItem" tileitem="1" itemid="5743" script="nofire.lua"/>
<movevent event="AddItem" tileitem="1" itemid="5764" script="nofire.lua"/>
Code:
function onAddItem(moveitem, tileitem, position)
if moveitem.itemid == 1492 then
doRemoveItem(moveitem.uid,1)
doSendMagicEffect(position, CONST_ME_POFF)
end
end
And that's it.... Now If a player summons a fire elemental underwater, when it dies, instead of leaving a fire field there breaking the laws of physics, the fire elemental will just Poff.
The same applies to throwing Fire Field, Fire Bombs and Fire Wall runes underwater or on walkable water tiles.
Last edited: