From 7878c5762715e62c9e8a3e1680f3f50eedd12128 Mon Sep 17 00:00:00 2001 From: tarantonio Date: Fri, 22 Mar 2019 00:37:29 +0100 Subject: [PATCH] Fix antidote while running Fix https://github.com/TwistedScorpio/Nostalrius/issues/32 --- data/spells/scripts/spells/antidote.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/spells/scripts/spells/antidote.lua b/data/spells/scripts/spells/antidote.lua index b248b41..abecde8 100644 --- a/data/spells/scripts/spells/antidote.lua +++ b/data/spells/scripts/spells/antidote.lua @@ -1,8 +1,8 @@ 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) + creature:removeCondition(CONDITION_POISON) return combat:execute(creature, variant) -end \ No newline at end of file +end