Retry Upgrade
This plugin requires the Game Over Core plugin.This plugin takes players to a new scene after retrying a battle.It allows users to manage skills, equips, options, etc.
這個插件需要 Game Over Core為基礎,可以讓玩家在一個新的場景選擇重新開始戰斗,在場景內可以設置技能、裝備等。
How to Set up Commands
Using this plugin, the Retry Scene can have commands set up the same as they
could with plugins such as Yanfly’s Main Menu Manager.
使用這個插件,重新戰斗的場景可以定義設置命令,有點類似YEP的 Main Menu Manager插件
There are four properties for each command:
每個命令都有四個特性
Text
This is the name of the command and how it will appear in the command window.
命令的名字
Set Actor
If set to ‘true’, then the game will prompt the user to set up a menu actor
before preforming the command’s evaluation.
如果你這是了true,則需要玩家先選擇某個角色在使用菜單
Eval
This is the JavaScript evaluation that occurs when the command is pressed.
This should primarily be used to call other scenes.
For example – SceneManager.push(Scene_Item);
當命令被執行時會運行的代碼,主要是用來調用窗口,例如
SceneManager.push(Scene_Item)
Condition
This is the JavaScript condition that determines whether the command appears.
Using this, commands can be shown or hidden based on different conditions.
這是JS代碼寫出的命令出現條件,使用這個,命令在不同的條件下隱藏或顯示
To make a condition based off a Switch, use the following code:
例如為了設置一個基于開關的條件,你可以這么寫
$gameSwitches.value(X)
If Switch ID X is turned on, then the command will be shown.
如果開關是開著的,命令將會顯示