diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2026-05-09 12:24:34 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2026-05-09 12:40:41 -0300 |
| commit | 54c2169ec9a99e34e1270e43e9fd1fccd3d2a824 (patch) | |
| tree | 0da9195620521a3e4cbfcbb042441c34aba3794b /src/magic.cc | |
| parent | 7beaa081de8aedd28f4c7ce717bcfbd2b09230d3 (diff) | |
| download | game-54c2169ec9a99e34e1270e43e9fd1fccd3d2a824.tar.gz game-54c2169ec9a99e34e1270e43e9fd1fccd3d2a824.zip | |
fix issues with TMonster constructor + Search functions + UH formula
The issue with the TMonster constructor was obvious, but the others
were slightly different from the original.
Diffstat (limited to 'src/magic.cc')
| -rw-r--r-- | src/magic.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/magic.cc b/src/magic.cc index 4e92808..d30c894 100644 --- a/src/magic.cc +++ b/src/magic.cc @@ -4119,7 +4119,7 @@ void UseMagicItem(uint32 CreatureID, Object Obj, Object Dest){ throw NOCREATURE; } - int Amount = ComputeDamage(Actor, SpellNr, 250, 30); + int Amount = ComputeDamage(Actor, SpellNr, 250, 0); Heal(Target, -1, 0, Amount); // -1 ? break; } |
