You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
441 B

  1. #ifndef SPELL_H
  2. #define SPELL_H
  3. #include "character.h"
  4. typedef struct {
  5. int damage, healing, manaCost, effect, effectDuration;
  6. } SpellEffect;
  7. enum {
  8. SPELL_EFFECT_NONE = 0, SPELL_EFFECT_BURN = 1, SPELL_EFFECT_FREEZE = 2, SPELL_EFFECT_STUN =3 , SPELL_EFFECT_REGENERATION = 4
  9. };
  10. SpellEffect spellFireball(Character *character);
  11. SpellEffect spellHeal(Character *character);
  12. SpellEffect spellLightning(Character *character);
  13. #endif