Constructor


AttackBox(battler: PartyBattler, offset: number, index: number, x: number, y: number)

Arguments:

battler: PartyBattler

PartyBattlers are a type of Battler that represent PartyMembers when they are in battle.
The set of PartyBattlers in the current battle are stored in Game.battle.party.
Unlike EnemyBattler, party members do not need to define a PartyBattler in a file as their PartyMember file defines everything necessary and is utilised by PartyBattler.

offset: number
index: number
x: number
y: number




Methods








AttackBox:hit()

Returns:

1: number







Undocumented











AttackBox.battler: PartyBattler

PartyBattlers are a type of Battler that represent PartyMembers when they are in battle.
The set of PartyBattlers in the current battle are stored in Game.battle.party.
Unlike EnemyBattler, party members do not need to define a PartyBattler in a file as their PartyMember file defines everything necessary and is utilised by PartyBattler.







AttackBox.bolt_target: integer

AttackBox X offset Bolt X offset









AttackBox.head_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.







AttackBox.press_sprite: Sprite

A simple object that renders a texture.
This texture must be placed inside assets/sprites/.