Familiar territory. Game_Fight keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Checks (True / False) 2
| isAction() | Whether it is action. |
| canRetreat() | Whether it can retreat. |
Actions 4
| clear() | Clear. |
| start() | Start. |
| finish() | Finish. |
| startRound() | Starts the round. |
Events, Commands & Input 1
| commandRetreat() | Runs the retreat command. |
Updating & Drawing 1
| update() | Update. |
Other 14
| act() | Act. |
| actionRevision() | Action revision. |
| playerUnit() | The unit the player moves: the party member who is the leader. |
| strikeFor() | Strike for. |
| landHits() | Land hits. |
| defeat() | Defeat. |
| actionAttack() | Action attack. |
| actionReload() | Action reload. |
| actionDodge() | Action dodge. |
| actionNextWeapon() | Action next weapon. |
| actionLock() | Action lock. |
| actionUse() | Uses the hotbar's slot (1-8): on the aimed or locked opponent, the user, the friend most hurt or a fallen one… |
| actionHud() | Action hud. |
| objectiveText() | Objective text. |
Checks (True / False)
isAction
method sourceGame_Fight.prototype.isAction()
Whether it is action. (Same as the RPG Maker MZ method of this name.)
canRetreat
method sourceGame_Fight.prototype.canRetreat()
Whether it can retreat. (Same as the RPG Maker MZ method of this name.)
Actions
clear
method sourceGame_Fight.prototype.clear()
Clear. (Same as the RPG Maker MZ method of this name.)
start
method sourceGame_Fight.prototype.start(options)
Start. (Same as the RPG Maker MZ method of this name.)
finish
method sourceGame_Fight.prototype.finish()
Finish. (Same as the RPG Maker MZ method of this name.)
startRound
method sourceGame_Fight.prototype.startRound()
Starts the round. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
commandRetreat
method sourceGame_Fight.prototype.commandRetreat()
Runs the retreat command. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceGame_Fight.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
Other
act
method sourceGame_Fight.prototype.act()
Act. (Same as the RPG Maker MZ method of this name.)
actionRevision
method sourceGame_Fight.prototype.actionRevision()
Action revision. (Same as the RPG Maker MZ method of this name.)
playerUnit
method sourceGame_Fight.prototype.playerUnit()
The unit the player moves: the party member who is the leader.
strikeFor
method sourceGame_Fight.prototype.strikeFor(run, action, target)
Strike for. (Same as the RPG Maker MZ method of this name.)
landHits
method sourceGame_Fight.prototype.landHits(run, action, targets, count, first, total)
Land hits. (Same as the RPG Maker MZ method of this name.)
defeat
method sourceGame_Fight.prototype.defeat(unit)
Defeat. (Same as the RPG Maker MZ method of this name.)
actionAttack
method sourceGame_Fight.prototype.actionAttack()
Action attack. (Same as the RPG Maker MZ method of this name.)
actionReload
method sourceGame_Fight.prototype.actionReload()
Action reload. (Same as the RPG Maker MZ method of this name.)
actionDodge
method sourceGame_Fight.prototype.actionDodge()
Action dodge. (Same as the RPG Maker MZ method of this name.)
actionNextWeapon
method sourceGame_Fight.prototype.actionNextWeapon(step)
Action next weapon. (Same as the RPG Maker MZ method of this name.)
actionLock
method sourceGame_Fight.prototype.actionLock()
Action lock. (Same as the RPG Maker MZ method of this name.)
actionUse
method sourceGame_Fight.prototype.actionUse(slot)
Uses the hotbar's slot (1-8): on the aimed or locked opponent, the user, the friend most hurt or a fallen one, as its Scope says.
actionHud
method sourceGame_Fight.prototype.actionHud()
Action hud. (Same as the RPG Maker MZ method of this name.)
objectiveText
method sourceGame_Fight.prototype.objectiveText()
Objective text. (Same as the RPG Maker MZ method of this name.)