From 189d40706feea796fe9307c915f29d2158769357 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 1 Jun 2025 22:51:33 -0300 Subject: more work on spell primitives --- src/stubs.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stubs.hh') diff --git a/src/stubs.hh b/src/stubs.hh index 3a58557..c254ec7 100644 --- a/src/stubs.hh +++ b/src/stubs.hh @@ -26,6 +26,7 @@ extern void CircleShapeSpell(TCreature *Actor, int DestX, int DestY, int DestZ, int Range, int Animation, int Radius, TImpact *Impact, int Effect); extern void CleanHouseField(int x, int y, int z); extern int ComputeDamage(TCreature *Creature, int SpellNr, int Damage, int Variation); +extern int CountInventoryObjects(uint32 CreatureID, ObjectType Type, uint32 Value); extern void CreateField(int x, int y, int z, int FieldType, uint32 Owner, bool Peaceful); extern void CreateMonster(int Race, int x, int y, int z, int Home, uint32 Master, bool ShowEffect); extern void CreatePlayerList(bool Online); @@ -33,6 +34,7 @@ extern void CreatePool(Object Con, ObjectType Type, uint32 Value); extern void Delete(Object Obj, int Count); extern Object GetBodyObject(uint32 CreatureID, int Position); extern TCreature *GetCreature(uint32 CreatureID); +extern TCreature *GetCreature(Object Obj); extern TConnection *GetFirstConnection(void); extern TConnection *GetNextConnection(void); extern TPlayer *GetPlayer(uint32 CreatureID); -- cgit v1.2.3