From 9b49eec185d94d91ae958aca7b0dfcb4b211cff9 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 1 Jun 2025 01:54:49 -0300 Subject: magic init functions --- src/magic.hh | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src/magic.hh') diff --git a/src/magic.hh b/src/magic.hh index d24edd8..91b7c0a 100644 --- a/src/magic.hh +++ b/src/magic.hh @@ -2,8 +2,7 @@ #define TIBIA_MAGIC_HH_ 1 #include "common.hh" - -struct TCreature; +#include "creature.hh" struct TImpact{ // VIRTUAL FUNCTIONS @@ -85,6 +84,25 @@ struct TDamageImpact: TImpact{ bool AllowDefense; }; +struct TCircle { + int x[32]; + int y[32]; + int Count; +}; + +struct TSpellList { + uint8 Syllable[10]; + uint8 RuneGr; + uint8 RuneNr; + const char *Comment; + uint16 Level; + uint16 RuneLevel; + uint16 Flags; + int Mana; + int SoulPoints; + int Amount; +}; + void CheckMana(TCreature *Creature, int ManaPoints, int SoulPoints, int Delay); #endif //TIBIA_MAGIC_HH_ -- cgit v1.2.3