Adds Assurance effect
This commit is contained in:
7
Scripts/Interfaces/AttackUseHistory.astypedef
Normal file
7
Scripts/Interfaces/AttackUseHistory.astypedef
Normal file
@@ -0,0 +1,7 @@
|
||||
type AttackUseHistory {
|
||||
const HistoryElement@ Previous { get const; };
|
||||
HistoryElementKind Kind { get const; };
|
||||
uint TurnNumber { get const; };
|
||||
const HistoryElement@ opImplCast() const;
|
||||
const ExecutingMove@ Move { get const; };
|
||||
}
|
||||
@@ -6,6 +6,7 @@ type Battle {
|
||||
ChoiceQueue@ TurnQueue { get const; };
|
||||
narray<BattleSide>@ Sides { get const; };
|
||||
narray<BattleParty>@ Parties { get const; };
|
||||
BattleHistory@ History { get const; };
|
||||
bool CanUse(BaseTurnChoice@ choice);
|
||||
ref@ AddVolatile(const constString &in name);
|
||||
void RemoveVolatile(const constString &in name) const;
|
||||
|
||||
5
Scripts/Interfaces/BattleHistory.astypedef
Normal file
5
Scripts/Interfaces/BattleHistory.astypedef
Normal file
@@ -0,0 +1,5 @@
|
||||
type BattleHistory {
|
||||
const HistoryElement@ TopElement { get const; };
|
||||
const AttackUseHistory@ GetLastUsedAttack() const;
|
||||
const DamageHistory@ GetLastDamageOnTarget(Pokemon@ target) const;
|
||||
}
|
||||
9
Scripts/Interfaces/DamageHistory.astypedef
Normal file
9
Scripts/Interfaces/DamageHistory.astypedef
Normal file
@@ -0,0 +1,9 @@
|
||||
type DamageHistory {
|
||||
const HistoryElement@ Previous { get const; };
|
||||
HistoryElementKind Kind { get const; };
|
||||
uint TurnNumber { get const; };
|
||||
const HistoryElement@ opImplCast() const;
|
||||
Pokemon@ Target { get const; };
|
||||
uint Amount { get const; };
|
||||
DamageSource Source { get const; };
|
||||
}
|
||||
4
Scripts/Interfaces/HistoryElement.astypedef
Normal file
4
Scripts/Interfaces/HistoryElement.astypedef
Normal file
@@ -0,0 +1,4 @@
|
||||
type HistoryElement {
|
||||
const DamageHistory@ opCast() const;
|
||||
const AttackUseHistory@ opCast() const;
|
||||
}
|
||||
4
Scripts/Interfaces/HistoryElementKind.astypedef
Normal file
4
Scripts/Interfaces/HistoryElementKind.astypedef
Normal file
@@ -0,0 +1,4 @@
|
||||
enum HistoryElementKind {
|
||||
AttackUse = 0,
|
||||
Damage = 1,
|
||||
}
|
||||
Reference in New Issue
Block a user