From ab9f606371a1df23e9cacbffa0811db7a9e50100 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 8 Jun 2025 02:16:45 -0300 Subject: more `cract.cc` functions --- src/magic.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/magic.cc') diff --git a/src/magic.cc b/src/magic.cc index 53ec1da..1caf83b 100644 --- a/src/magic.cc +++ b/src/magic.cc @@ -279,9 +279,9 @@ void TDrunkenImpact::handleCreature(TCreature *Victim){ int Power = this->Power; int Duration = this->Duration; - TSkill *Drunk = Victim->Skills[SKILL_DRUNK]; - if(Drunk->TimerValue() <= Power){ - Victim->SetTimer(SKILL_DRUNK, Power, Duration, Duration, -1); + TSkill *Drunken = Victim->Skills[SKILL_DRUNKEN]; + if(Drunken->TimerValue() <= Power){ + Victim->SetTimer(SKILL_DRUNKEN, Power, Duration, Duration, -1); } } -- cgit v1.2.3