diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-08 02:16:45 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-08 02:16:45 -0300 |
| commit | ab9f606371a1df23e9cacbffa0811db7a9e50100 (patch) | |
| tree | b5bca97b18977197eb4b5b33f1f1076dcd22e70b /src/magic.cc | |
| parent | 0590a5f1b3e0ffe295d7894a16b9d8aff3fae586 (diff) | |
| download | game-ab9f606371a1df23e9cacbffa0811db7a9e50100.tar.gz game-ab9f606371a1df23e9cacbffa0811db7a9e50100.zip | |
more `cract.cc` functions
Diffstat (limited to 'src/magic.cc')
| -rw-r--r-- | src/magic.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |
