Argentum Online - Servidor
special_heal.h
1 #ifndef SPECIAL_HEAL_H
2 #define SPECIAL_HEAL_H
3 
4 #include <vector>
5 
6 #include "../entities/components/player_combat_component.h"
7 #include "../entities/entity.h"
8 #include "../map.h"
9 #include "../map_log_factory.h"
10 #include "special_ability.h"
11 
12 class SpecialHeal : public SpecialAbility {
13  private:
14  unsigned int heal_amount;
15  unsigned int mp_cost;
16 
17  public:
18  SpecialHeal(uint32_t ability_id, unsigned int heal_amount,
19  unsigned int mp_cost);
20 
21  std::vector<map_log_t> execute(Player* thrower, Entity* target,
22  position_t source,
23  position_t dest) const override;
24 };
25 
26 #endif // SPECIAL_HEAL_H
SpecialHeal
Definition: special_heal.h:12
SpecialAbility
Definition: special_ability.h:11
Entity
Definition: entity.h:15
Player
Definition: player.h:14
position
Definition: position.h:8