Furter rework on script hooks, simplifying required logic.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <vector>
|
||||
|
||||
namespace CreatureLib::Battling{
|
||||
class BaseTurnChoice;
|
||||
class ExecutingAttack;
|
||||
class Creature;
|
||||
|
||||
@@ -23,6 +24,7 @@ namespace CreatureLib::Battling{
|
||||
return _name;
|
||||
}
|
||||
|
||||
virtual void OnBeforeTurn(const BaseTurnChoice* choice);
|
||||
virtual void FailIncomingAttack(ExecutingAttack* attack, Creature* target, bool& result){};
|
||||
virtual void IsInvulnerable(ExecutingAttack* attack, Creature* target , bool& result){};
|
||||
virtual void OnAttackMiss(ExecutingAttack* attack, Creature* target){};
|
||||
|
||||
Reference in New Issue
Block a user