Adds Arena Trap ability

This commit is contained in:
2021-11-20 14:43:13 +01:00
parent f19c60c4c1
commit baae9377ef
4 changed files with 36 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ type Pokemon {
void SetHeldItem(const Item@ item);
string Nickname { get const; };
bool HasType(uint8 type) const;
bool HasType(const constString &in type) const;
void Damage(uint type, DamageSource source);
void Heal(uint type);
void OverrideActiveAbility(const string &in ability);
@@ -34,7 +35,7 @@ type Pokemon {
uint GetBoostedStat(Statistic stat) const;
uint GetBaseStat(Statistic stat) const;
int8 GetStatBoost(Statistic stat) const;
bool HasVolatile(const constString &in name);
bool HasVolatile(const constString &in name) const;
ref@ AddVolatile(const constString &in name);
void RemoveVolatile(const constString &in name) const;
void ClearStatus() const;