Implement AngelScript support for effect chance changes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-02-16 15:21:58 +01:00
parent 321afbebe4
commit 0147515ffb
4 changed files with 23 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ shared abstract class PkmnScript {
void OnSecondaryEffect(ExecutingMove@ attack, Pokemon@ target, uint8 hit){};
void OnAfterHits(ExecutingMove@ attack, Pokemon@ target){};
void ModifyEffectChance(ExecutingMove@ attack, Pokemon@ target, uint16& chance){};
}
)");
assert(r >= 0);