diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-06-01 01:54:49 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-06-01 01:56:31 -0300 |
| commit | 9b49eec185d94d91ae958aca7b0dfcb4b211cff9 (patch) | |
| tree | f1387897442364dbab16a4368eb745a86e047787 /src/magic.hh | |
| parent | da5672b1e903cce47b9d76b2ffd19b0c42bd80f3 (diff) | |
| download | game-9b49eec185d94d91ae958aca7b0dfcb4b211cff9.tar.gz game-9b49eec185d94d91ae958aca7b0dfcb4b211cff9.zip | |
magic init functions
Diffstat (limited to 'src/magic.hh')
| -rw-r--r-- | src/magic.hh | 22 |
1 files changed, 20 insertions, 2 deletions
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_ |
