]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/AttackChoice.h
fixed a bug in BattleState::PreviousHero()
[l2e.git] / src / battle / AttackChoice.h
index 42eb0d3c51c2b40bde00a98e788f34bfa7891169..8cba2353a164bccfd155672dd9c9fc5df291aa0c 100644 (file)
 
 #include "TargetSelection.h"
 
-namespace common { class Item; }
+namespace common {
+       class Ikari;
+       class Item;
+       class Spell;
+}
 
 namespace battle {
 
@@ -35,6 +39,8 @@ public:
        void SetType(Type t) { type = t; }
        const common::Item *GetItem() const { return (const common::Item *)thing; }
        void SetItem(const common::Item *i) { thing = i; }
+       const common::Spell *GetSpell() const { return (const common::Spell *)thing; }
+       void SetSpell(const common::Spell *s) { thing = s; }
        TargetSelection &Selection() { return selection; }
        const TargetSelection &Selection() const { return selection; }