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

Lua Runes Bomb

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
201
Reaction score
15
Hello, does anyone know why this happens and how to solve it?

1) when launching any rune bomb be it energy, fire or earth, it does not hit when launched

2) When the player launches a rune and when dying if another person does pass through the rune, they take out pk, as in the video

3) I use otbr tfs 1.3 and if it happens to me I think it is happening to everyone who uses otbr

I don't know if it's something from the spell scripts but I'll still leave them here


Code:
<rune group="attack" spellid="17" name="Firebomb" id="2305" allowfaruse="1" setPzLocked="0" charges="2" lvl="27" maglv="5" exhaustion="2000" groupcooldown="2000" blocktype="solid" script="attack/fire bomb.lua" />

Lua:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
combat:setParameter(COMBAT_PARAM_CREATEITEM, ITEM_FIREFIELD_PVP_FULL)
combat:setArea(createCombatArea(AREA_SQUARE1X1))

function onCastSpell(creature, var, isHotkey)
    return combat:execute(creature, var)
end

 
Last edited:
Back
Top