Namespace in reactor_fight_action.js

Game_Fight

22 public functions in 5 groups · show internal (_) functions

A Battle Room: a classic battle staged in 3D.

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 source
Game_Fight.prototype.isAction()

Whether it is action. (Same as the RPG Maker MZ method of this name.)

canRetreat

method source
Game_Fight.prototype.canRetreat()

Whether it can retreat. (Same as the RPG Maker MZ method of this name.)

Actions

clear

method source
Game_Fight.prototype.clear()

Clear. (Same as the RPG Maker MZ method of this name.)

start

method source
Game_Fight.prototype.start(options)

Start. (Same as the RPG Maker MZ method of this name.)

finish

method source
Game_Fight.prototype.finish()

Finish. (Same as the RPG Maker MZ method of this name.)

startRound

method source
Game_Fight.prototype.startRound()

Starts the round. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

commandRetreat

method source
Game_Fight.prototype.commandRetreat()

Runs the retreat command. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

update

method source
Game_Fight.prototype.update()

Update. (Same as the RPG Maker MZ method of this name.)

Other

act

method source
Game_Fight.prototype.act()

Act. (Same as the RPG Maker MZ method of this name.)

actionRevision

method source
Game_Fight.prototype.actionRevision()

Action revision. (Same as the RPG Maker MZ method of this name.)

playerUnit

method source
Game_Fight.prototype.playerUnit()

The unit the player moves: the party member who is the leader.

strikeFor

method source
Game_Fight.prototype.strikeFor(run, action, target)

Strike for. (Same as the RPG Maker MZ method of this name.)

landHits

method source
Game_Fight.prototype.landHits(run, action, targets, count, first, total)

Land hits. (Same as the RPG Maker MZ method of this name.)

defeat

method source
Game_Fight.prototype.defeat(unit)

Defeat. (Same as the RPG Maker MZ method of this name.)

actionAttack

method source
Game_Fight.prototype.actionAttack()

Action attack. (Same as the RPG Maker MZ method of this name.)

actionReload

method source
Game_Fight.prototype.actionReload()

Action reload. (Same as the RPG Maker MZ method of this name.)

actionDodge

method source
Game_Fight.prototype.actionDodge()

Action dodge. (Same as the RPG Maker MZ method of this name.)

actionNextWeapon

method source
Game_Fight.prototype.actionNextWeapon(step)

Action next weapon. (Same as the RPG Maker MZ method of this name.)

actionLock

method source
Game_Fight.prototype.actionLock()

Action lock. (Same as the RPG Maker MZ method of this name.)

actionUse

method source
Game_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 source
Game_Fight.prototype.actionHud()

Action hud. (Same as the RPG Maker MZ method of this name.)

objectiveText

method source
Game_Fight.prototype.objectiveText()

Objective text. (Same as the RPG Maker MZ method of this name.)