Antidote Rune dont work
selo-lewap opened this issue · 6 comments
selo-lewap commented
Antidote Rune dont work, but exana pox is working
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
function onCastSpell(creature, variant)
return combat:execute(creature, variant)
end
and i change to this and still dont work
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON)
combat:setParameter(COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
function onCastSpell(creature, variant)
return combat:execute(creature, variant)
end
any solution?
selo-lewap commented
It only works if the other person heals me.
tarantonio commented
confirmed, antidote rune don't work
Wirless commented
change aggressive in spells.xml to either 0 or 1
Wirless commented
or inside the spell itself to true and then in spells.xml to 0 so it doesnt give skull
tarantonio commented
You can use the same workaround that I posted on the spell:
tarantonio@7878c57
Ezzz-dev commented
Fixed