aboutsummaryrefslogtreecommitdiff
path: root/src/magic.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-05-09 12:24:34 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-05-09 12:40:41 -0300
commit54c2169ec9a99e34e1270e43e9fd1fccd3d2a824 (patch)
tree0da9195620521a3e4cbfcbb042441c34aba3794b /src/magic.cc
parent7beaa081de8aedd28f4c7ce717bcfbd2b09230d3 (diff)
downloadgame-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.cc2
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;
}