Adds anticipation ability
This commit is contained in:
@@ -4,6 +4,7 @@ type BattleSide {
|
||||
bool IsDefeated { get const; };
|
||||
bool HasFled { get const; };
|
||||
Battle@ Battle { get const; };
|
||||
narray<Pokemon>@ Pokemon { get const; };
|
||||
uint8 GetPokemonIndex(const Pokemon@ pokemon) const;
|
||||
Pokemon@ GetPokemon(uint8 index) const;
|
||||
ref@ AddVolatile(const constString &in name);
|
||||
|
||||
@@ -19,6 +19,8 @@ type Pokemon {
|
||||
float Weight { get const; set; };
|
||||
float Height { get const; set; };
|
||||
const constString& ActiveAbility { get const; };
|
||||
uint64 TypesLength { get const; };
|
||||
uint8 GetType(uint64 index) const;
|
||||
bool HasHeldItem(const constString &in name) const;
|
||||
void SetHeldItem(const constString &in name);
|
||||
void SetHeldItem(const Item@ item);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
type TypeLibrary {
|
||||
uint8 GetTypeId(const constString &in name) const;
|
||||
float GetSingleEffectiveness(uint8 attacking, uint8 defensive) const;
|
||||
float GetEffectiveness(uint8 attackingType, Pokemon@ defender) const;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user