Posted April 17, 2020 by Another RPG Enthusiast
BATTLE_GRID
variable to true
in StoryInit to enable this feature, but mind the instructions in the documentation. An additional menu pane for altering the formation of your characters has also been added. Helper functions have been added to 1_support-functions.js
to assist, allowing you to easily call parties excluding empty slots. (Thanks to A Friendly Irin for providing this code.)enemytarget
has been tweaked for compatibility with loss-of-control effects. As it can now be called by puppets as well, it has been renamed randomtarget
for clarity.echodamage
has been tweaked to avoid triggering counters and damage reflection if an attacker targets itself with an attack.refreshPuppets
will now automatically remove sticky effects.trigger
property has been tweaked: It is now designed as a function that returns true
if the counter should trigger, offloading functionality into the specific counters themselves. By default, it now returns true
, meaning an undefined trigger will always activate the counter.formula
property for actions, allowing users to specify unique damage formulas.useSpecial
property for actions. This is a number between 0 and 1 that determines the proportion of base damage affected by the Special stat as opposed to the Attack stat. By default, this is set to 1 for attack items. See the updated damagecalc
function for details.useSpecial
functionality, has made the "damagecalc special actions" passage obsolete, and it has been removed.displayname
part of the basic actionData
getter instead of manually inserting it into each getter.actions_this_turn
is now a property of the battle controller, and tracks the actions of all the enemies during the round, not just the current enemy. This allows you to have enemies react to other enemies' behavior.populateEnemies
. This allows you to more quickly generate enemy parties by just passing the names of each enemy. (Thanks to A Friendly Irin for providing this code.)massAttack
has been improved with support for row, column, and adjacent attacks if the battle grid is enabled.pushAttack
action function that moves characters on the battle grid.getActor
have been split into a separate file, 1_support-functions.js
. Several functions for the aiding of battle grids have been added, plus a function that converts numbers to words.playMusic
.