mirror of
https://github.com/zoriya/ForecastingVillage.git
synced 2026-06-03 02:51:45 +00:00
The shield now heal the player
This commit is contained in:
+1
-1
@@ -59,6 +59,6 @@ void fireball(gc_engine *engine, gc_entity *from, gc_entity *enemy);
|
||||
void uppercut(gc_engine *engine, gc_entity *from, gc_entity *enemy);
|
||||
void water_jet(gc_engine *engine, gc_entity *from, gc_entity *enemy);
|
||||
void shield(gc_engine *engine, gc_entity *from, gc_entity *enemy);
|
||||
void ennemie_attack(gc_engine *engine, gc_entity *from, gc_entity *enemy);
|
||||
void enemy_attack(gc_engine *engine, gc_entity *from, gc_entity *enemy);
|
||||
|
||||
void load_attacks(gc_scene *scene);
|
||||
@@ -31,6 +31,7 @@ struct combat_manager {
|
||||
enum combat_state state;
|
||||
char *last_attack;
|
||||
int last_damage;
|
||||
int last_enemy_damage;
|
||||
};
|
||||
|
||||
extern const struct combat_manager combat_manager;
|
||||
|
||||
Reference in New Issue
Block a user