Implements clearbody, update changestatboost interface
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
shared abstract class PkmnScript {
|
||||
ref@ __owner;
|
||||
|
||||
ref@& GetOwner(){ return __owner; };
|
||||
const ref@& GetOwner(){ return __owner; };
|
||||
void SetOwner(ref@){};
|
||||
void OnInitialize(const BattleLibrary@, const narray<EffectParameter@>@){};
|
||||
void Stack(){};
|
||||
void OnRemove(){};
|
||||
@@ -20,7 +21,7 @@ shared abstract class PkmnScript {
|
||||
void BlockCritical(ExecutingMove@, Pokemon@, uint8, bool &inout){};
|
||||
void OnIncomingHit(ExecutingMove@, Pokemon@, uint8){};
|
||||
void OnFaintingOpponent(ExecutingMove@, Pokemon@, uint8){};
|
||||
void PreventStatBoostChange(Pokemon@, Statistic, int8, bool &inout){};
|
||||
void PreventStatBoostChange(Pokemon@, Statistic, int8, bool, bool &inout){};
|
||||
void ModifyStatBoostChange(Pokemon@, Statistic, int8 &inout){};
|
||||
void PreventSecondaryEffects(ExecutingMove@, Pokemon@, uint8, bool &inout){};
|
||||
void OnSecondaryEffect(ExecutingMove@, Pokemon@, uint8){};
|
||||
|
||||
@@ -30,7 +30,7 @@ type Pokemon {
|
||||
void Damage(uint type, DamageSource source);
|
||||
void Heal(uint type);
|
||||
void OverrideActiveAbility(const string &in ability);
|
||||
void ChangeStatBoost(Statistic stat, int8 amount);
|
||||
void ChangeStatBoost(Statistic stat, int8 amount, bool selfInflicted);
|
||||
uint GetFlatStat(Statistic stat) const;
|
||||
uint GetBoostedStat(Statistic stat) const;
|
||||
uint GetBaseStat(Statistic stat) const;
|
||||
|
||||
Reference in New Issue
Block a user