From 54c2169ec9a99e34e1270e43e9fd1fccd3d2a824 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sat, 9 May 2026 12:24:34 -0300 Subject: 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. --- src/magic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/magic.cc') 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; } -- cgit v1.2.3