Add angelscript getter for number of hits on an executingmove
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b8f790cb61
commit
b6f539b1f7
|
@ -40,6 +40,8 @@ void RegisterExecutingAttack::RegisterExecutingAttackType(asIScriptEngine* engin
|
|||
GetAttack);
|
||||
REGISTER_GETTER("ExecutingMove", "MoveData@ get_UseMove() const property", CreatureLib::Battling::ExecutingAttack,
|
||||
GetUseAttack);
|
||||
REGISTER_GETTER("ExecutingMove", "uint8 get_NumberOfHits() const property", CreatureLib::Battling::ExecutingAttack,
|
||||
GetNumberOfHits);
|
||||
|
||||
auto r = engine->RegisterObjectMethod("ExecutingMove", "HitData@ GetHitData(Pokemon@ target, uint8 hit) const",
|
||||
asFUNCTION(GetHitDataWrapper), asCALL_CDECL_OBJFIRST);
|
||||
|
|
Loading…
Reference in New Issue