Ezzz-dev/Nostalrius

Antidote Rune dont work

selo-lewap opened this issue · 6 comments

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?

It only works if the other person heals me.

confirmed, antidote rune don't work

change aggressive in spells.xml to either 0 or 1

or inside the spell itself to true and then in spells.xml to 0 so it doesnt give skull

You can use the same workaround that I posted on the spell:
tarantonio@7878c57

Fixed