Template:VisuMZ Battle System - CTB Notetags

From Yanfly.moe Wiki
Jump to navigation Jump to search

The following are notetags that have been added through this plugin. These notetags will not work with your game if this plugin is OFF or not present.

---

General CTB-Related Notetags

These notetags are general purpose notetags that have became available through this plugin.

---

<CTB Help>
 description
 description
</CTB Help>

- Used for: Skill, Item Notetags
- If your game happens to support the ability to change battle systems, this
  notetag lets you change how the skill/item's help description text will
  look under CTB.
- This is primarily used if the skill behaves differently in CTB versus any
  other battle system.
- Replace 'description' with help text that's only displayed if the game's
  battle system is set to CTB.

---

CTB Turn Order Display-Related Notetags

CTB TurnOrder.png

These notetags affect the CTB Turn Order Display

---

<CTB Turn Order Icon: x>

- Used for: Actor, Enemy Notetags
- Changes the slot graphic used for the battler to a specific icon.
- Replace 'x' with the icon index to be used.

---

<CTB Turn Order Face: filename, index>

- Used for: Actor, Enemy Notetags
- Changes the slot graphic used for the enemy to a specific face.
- Replace 'filename' with the filename of the image.
  - Do not include the file extension.
- Replace 'index' with the index of the face. Index values start at 0.
- Example: <CTB Turn Order Face: Monster, 1>

---

CTB Speed Manipulation-Related Notetags

CTB Delay.gif

These notetags are used for CTB Speed manipulation purposes.

---

<CTB Set Order: x>

- Used for: Skill, Item Notetags
- Sets the target's CTB Turn Order position to exactly x.
- Replace 'x' with a number value depicting the exact position of the turn
  order position. 0 is the currently active battler and cannot be used.
  1 is closest to taking a turn. Higher numbers are further away.
- This does not affect the currently active battler.

---

<CTB Change Order: +x>
<CTB Change Order: -x>

- Used for: Skill, Item Notetags
- Sets the target's CTB Turn Order position by x slots.
- Replace 'x' with a number value indicating the increase or decrease.
  Negative values decrease the turns needed to wait while positive values
  increase the turns needed.
- This does not affect the currently active battler.

---

<CTB After Speed: x%>

- Used for: Skill, Item Notetags
- After using the skill/item, the user's CTB Speed will be set to x%.
- Replace 'x' with a percentile value representing the amount you want the
  CTB Speed to reset to after the skill/item's usage.

---

<CTB Charge Speed: x%>
<CTB Charge Speed: +x%>
<CTB Charge Speed: -x%>

- Used for: Skill, Item Notetags
- If the target is in a charging state, change the target's speed amount to
  x% or by x% (if using the +/- variants).
- Replace 'x' with a percentile value representing the amount of the CTB
  Speed you wish to alter it to/by.
- This only affects targets who are in a charging state.

---

<CTB Cast Speed: x%>
<CTB Cast Speed: +x%>
<CTB Cast Speed: -x%>

- Used for: Skill, Item Notetags
- If the target is in a casting state, change the target's speed amount to
  x% or by x% (if using the +/- variants).
- Replace 'x' with a percentile value representing the amount of the CTB
  Speed you wish to alter it to/by.
- This only affects targets who are in a casting state.

---

JavaScript Notetags: CTB Speed Manipulation

CTB Delay.gif

The following are notetags made for users with JavaScript knowledge to give more control over conditional CTB Speed Manipulation.

---

<JS CTB Order>
 code
 code
 order = code;
</JS CTB Order>

- Used for: Skill, Item Notetags
- Replace 'code' with JavaScript code to determine where to set the target's
  order on the CTB Turn Order Display to.
- The 'order' variable represents the final position on the Turn Order
  Display to place the target.
- The 'position' variable represents the target's current position on the
  Turn Order Display.
- This does not affect the currently active battler.

---

<JS CTB Charge Speed>
 code
 code
 rate = code;
</JS CTB Charge Speed>

- Used for: Skill, Item Notetags
- Replace 'code' with JavaScript code to determine how much to change the
  CTB Speed to if the target is in a charging state.
- The 'rate' variable represents rate value the CTB Speed will change to
  between the values of 0 and 1.
- The 'rate' variable will default to the target's current CTB Speed rate
  if the target is in a charging state.

---

<JS CTB Cast Speed>
 code
 code
 rate = code;
</JS CTB Cast Speed>

- Used for: Skill, Item Notetags
- Replace 'code' with JavaScript code to determine how much to change the
  CTB Speed to if the target is in a casting state.
- The 'rate' variable represents rate value the CTB Speed will change to
  between the values of 0 and 1.
- The 'rate' variable will default to the target's current CTB Speed rate
  if the target is in a casting state.

---

<JS CTB After Speed>
 code
 code
 rate = code;
</JS CTB After Speed>

- Used for: Skill, Item Notetags
- Replace 'code' with JavaScript code to determine how much to change the
  CTB Speed to after performing this skill/item action.
- The 'rate' variable represents rate value the CTB Speed will change to
  between the values of 0 and 1.
- The 'rate' variable will default to 0.

---