Familiar territory. Game_BattlerBase 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
Setup & Creation 2
| initialize() | Sets up a new instance. |
| initMembers() | Initializes the members. |
Getting Information 9
| paramBase() | The param base value. |
| paramPlus() | The param plus value. |
| paramBasePlus() | The param base plus value. |
| paramMin() | The param min value. |
| paramMax() | The param max value. |
| paramRate() | The param rate value. |
| paramBuffRate() | The param buff rate value. |
| param() | Param. |
| maxTp() | The maximum tp. |
Checks (True / False) 44
| isStateAffected() | Whether it is state affected. |
| isDeathStateAffected() | Whether it is death state affected. |
| isStateExpired() | Whether it is state expired. |
| isBuffAffected() | Whether it is buff affected. |
| isDebuffAffected() | Whether it is debuff affected. |
| isBuffOrDebuffAffected() | Whether it is buff or debuff affected. |
| isMaxBuffAffected() | Whether it is max buff affected. |
| isMaxDebuffAffected() | Whether it is max debuff affected. |
| isBuffExpired() | Whether it is buff expired. |
| isBuffAccepted() | One roll against buffRate, clamped to 0-100%. |
| isStateResist() | Whether it is state resist. |
| isSkillTypeSealed() | Whether it is skill type sealed. |
| isSkillSealed() | Whether it is skill sealed. |
| isEquipWtypeOk() | Whether it is equip wtype ok. |
| isEquipAtypeOk() | Whether it is equip atype ok. |
| isEquipTypeLocked() | Whether it is equip type locked. |
| isEquipTypeSealed() | Whether it is equip type sealed. |
| isDualWield() | Whether it is dual wield. |
| isAutoBattle() | Whether it is auto battle. |
| isGuard() | Whether it is guard. |
| isSubstitute() | Whether it is substitute. |
| isPreserveTp() | Whether it is preserve tp. |
| isHidden() | Whether it is hidden. |
| isAppeared() | Whether it is appeared. |
| isDead() | Whether it is dead. |
| isAlive() | Whether it is alive. |
| isDying() | Whether it is dying. |
| isRestricted() | Whether it is restricted. |
| canInput() | Whether it can input. |
| canMove() | Whether it can move. |
| isConfused() | Whether it is confused. |
| isActor() | Whether it is actor. |
| isEnemy() | Whether it is enemy. |
| isSkillWtypeOk() | Whether it is skill wtype ok. |
| isPoolOn() | Resource pools a project turned off (System.json rrPoolsOff: ["mp"], ["tp"] or both; set in Database > System… |
| canPaySkillCost() | Whether it can pay skill cost. |
| isOccasionOk() | Whether it is occasion ok. |
| hasItemStock() | Whether the party currently holds item for this battler to use. |
| canUse() | Whether it can use. |
| canEquip() | Whether it can equip. |
| canEquipWeapon() | Whether it can equip weapon. |
| canEquipArmor() | Whether it can equip armor. |
| canAttack() | Whether it can attack. |
| canGuard() | Whether it can guard. |
Actions 21
| clearParamPlus() | Clears the param plus. |
| clearStates() | Clears the states. |
| resetStateCounts() | Resets the state counts. |
| setStateTurns() | Set how many turns a state the battler already has will last. |
| clearBuffs() | Clears the buffs. |
| setPendingBuffPotency() | The strength the effect being applied asked for, held only for as long as it takes that effect to move the st… |
| die() | Die. |
| revive() | Revive. |
| attackElements() | Attack elements. |
| attackStates() | Attack states. |
| attackStatesRate() | Attack states rate. |
| attackSpeed() | Attack speed. |
| attackTimesAdd() | Attack times add. |
| attackSkillId() | Attack skill id. |
| addParam() | Adds the param. |
| setHp() | Sets the hp. |
| setMp() | Sets the mp. |
| setTp() | Sets the tp. |
| recoverAll() | Recover all. |
| hide() | Hide. |
| addNewState() | Adds the new state. |
Events, Commands & Input 1
| onRestrict() | Called when restrict happens. |
Updating & Drawing 3
| updateStateTurns() | Updates the state turns each frame. |
| updateBuffTurns() | Updates the buff turns each frame. |
| refresh() | Refresh. |
Other 56
| eraseState() | Erase state. |
| deathStateId() | Death state id. |
| eraseBuff() | Erase buff. |
| buffPotencyList() | The strengths of a parameter's current buff or debuff stacks, one entry per stack, oldest first. |
| shiftBuffPotency() | Keep the strengths in step with the stack count: a stack gained takes the strength the current effect asked f… |
| buffRateFromStacks() | A parameter's buff rate: every stack contributes its own strength and they add up, with a stack that named no… |
| buffLength() | Buff length. |
| buff() | Buff. |
| increaseBuff() | Increase buff. |
| decreaseBuff() | Decrease buff. |
| overwriteBuffTurns() | Overwrite buff turns. |
| states() | States. |
| stateIcons() | State icons. |
| buffIcons() | Buff icons. |
| buffIconIndex() | Buff icon index. |
| allIcons() | All icons. |
| traitObjects() | Trait objects. |
| allTraits() | All traits. |
| traits() | Traits. |
| traitsWithId() | Traits with id. |
| traitsPi() | Traits pi. |
| traitsSum() | Traits sum. |
| traitsSumAll() | Traits sum all. |
| traitsSet() | Traits set. |
| xparam() | Xparam. |
| sparam() | Sparam. |
| elementRate() | Element rate. |
| debuffRate() | Debuff rate. |
| buffRate() | The chance a buff on this parameter is accepted (Buff Rate trait). |
| stateRate() | State rate. |
| stateResistSet() | State resist set. |
| addedSkillTypes() | Added skill types. |
| addedSkills() | Added skills. |
| slotType() | Slot type. |
| slotLayout() | Slot layout. |
| actionPlusSet() | Action plus set. |
| specialFlag() | Special flag. |
| collapseType() | Collapse type. |
| partyAbility() | Party ability. |
| hpRate() | Hp rate. |
| mpRate() | Mp rate. |
| tpRate() | Tp rate. |
| appear() | Appear. |
| confusionLevel() | Confusion level. |
| sortStates() | Sort states. |
| restriction() | Restriction. |
| mostImportantStateText() | Most important state text. |
| stateMotionIndex() | State motion index. |
| stateOverlayIndex() | State overlay index. |
| skillMpCost() | Skill mp cost. |
| skillTpCost() | Skill tp cost. |
| paySkillCost() | Pay skill cost. |
| meetsUsableItemConditions() | Meets usable item conditions. |
| meetsSkillConditions() | Meets skill conditions. |
| meetsItemConditions() | Meets item conditions. |
| guardSkillId() | Guard skill id. |
Setup & Creation
initialize
method sourceGame_BattlerBase.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initMembers
method sourceGame_BattlerBase.prototype.initMembers()
Initializes the members. (Same as the RPG Maker MZ method of this name.)
Getting Information
paramBase
method sourceGame_BattlerBase.prototype.paramBase(/*paramId*/)
The param base value. (Same as the RPG Maker MZ method of this name.)
paramPlus
method sourceGame_BattlerBase.prototype.paramPlus(paramId)
The param plus value. (Same as the RPG Maker MZ method of this name.)
paramBasePlus
method sourceGame_BattlerBase.prototype.paramBasePlus(paramId)
The param base plus value. (Same as the RPG Maker MZ method of this name.)
paramMin
method sourceGame_BattlerBase.prototype.paramMin(paramId)
The param min value. (Same as the RPG Maker MZ method of this name.)
paramMax
method sourceGame_BattlerBase.prototype.paramMax(/*paramId*/)
The param max value. (Same as the RPG Maker MZ method of this name.)
paramRate
method sourceGame_BattlerBase.prototype.paramRate(paramId)
The param rate value. (Same as the RPG Maker MZ method of this name.)
paramBuffRate
method sourceGame_BattlerBase.prototype.paramBuffRate(paramId)
The param buff rate value. (Same as the RPG Maker MZ method of this name.)
param
method sourceGame_BattlerBase.prototype.param(paramId)
Param. (Same as the RPG Maker MZ method of this name.)
maxTp
method sourceGame_BattlerBase.prototype.maxTp()
The maximum tp. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isStateAffected
method sourceGame_BattlerBase.prototype.isStateAffected(stateId)
Whether it is state affected. (Same as the RPG Maker MZ method of this name.)
isDeathStateAffected
method sourceGame_BattlerBase.prototype.isDeathStateAffected()
Whether it is death state affected. (Same as the RPG Maker MZ method of this name.)
isStateExpired
method sourceGame_BattlerBase.prototype.isStateExpired(stateId)
Whether it is state expired. (Same as the RPG Maker MZ method of this name.)
isBuffAffected
method sourceGame_BattlerBase.prototype.isBuffAffected(paramId)
Whether it is buff affected. (Same as the RPG Maker MZ method of this name.)
isDebuffAffected
method sourceGame_BattlerBase.prototype.isDebuffAffected(paramId)
Whether it is debuff affected. (Same as the RPG Maker MZ method of this name.)
isBuffOrDebuffAffected
method sourceGame_BattlerBase.prototype.isBuffOrDebuffAffected(paramId)
Whether it is buff or debuff affected. (Same as the RPG Maker MZ method of this name.)
isMaxBuffAffected
method sourceGame_BattlerBase.prototype.isMaxBuffAffected(paramId)
Whether it is max buff affected. (Same as the RPG Maker MZ method of this name.)
isMaxDebuffAffected
method sourceGame_BattlerBase.prototype.isMaxDebuffAffected(paramId)
Whether it is max debuff affected. (Same as the RPG Maker MZ method of this name.)
isBuffExpired
method sourceGame_BattlerBase.prototype.isBuffExpired(paramId)
Whether it is buff expired. (Same as the RPG Maker MZ method of this name.)
isBuffAccepted
method sourceGame_BattlerBase.prototype.isBuffAccepted(paramId)
One roll against buffRate, clamped to 0-100%.
Details
One roll against buffRate, clamped to 0-100%. A sure answer either way draws no random number, so a project without the trait sees the same sequence from Math.random as before the trait existed.
isStateResist
method sourceGame_BattlerBase.prototype.isStateResist(stateId)
Whether it is state resist. (Same as the RPG Maker MZ method of this name.)
isSkillTypeSealed
method sourceGame_BattlerBase.prototype.isSkillTypeSealed(stypeId)
Whether it is skill type sealed. (Same as the RPG Maker MZ method of this name.)
isSkillSealed
method sourceGame_BattlerBase.prototype.isSkillSealed(skillId)
Whether it is skill sealed. (Same as the RPG Maker MZ method of this name.)
isEquipWtypeOk
method sourceGame_BattlerBase.prototype.isEquipWtypeOk(wtypeId)
Whether it is equip wtype ok. (Same as the RPG Maker MZ method of this name.)
isEquipAtypeOk
method sourceGame_BattlerBase.prototype.isEquipAtypeOk(atypeId)
Whether it is equip atype ok. (Same as the RPG Maker MZ method of this name.)
isEquipTypeLocked
method sourceGame_BattlerBase.prototype.isEquipTypeLocked(etypeId)
Whether it is equip type locked. (Same as the RPG Maker MZ method of this name.)
isEquipTypeSealed
method sourceGame_BattlerBase.prototype.isEquipTypeSealed(etypeId)
Whether it is equip type sealed. (Same as the RPG Maker MZ method of this name.)
isDualWield
method sourceGame_BattlerBase.prototype.isDualWield()
Whether it is dual wield. (Same as the RPG Maker MZ method of this name.)
isAutoBattle
method sourceGame_BattlerBase.prototype.isAutoBattle()
Whether it is auto battle. (Same as the RPG Maker MZ method of this name.)
isGuard
method sourceGame_BattlerBase.prototype.isGuard()
Whether it is guard. (Same as the RPG Maker MZ method of this name.)
isSubstitute
method sourceGame_BattlerBase.prototype.isSubstitute()
Whether it is substitute. (Same as the RPG Maker MZ method of this name.)
isPreserveTp
method sourceGame_BattlerBase.prototype.isPreserveTp()
Whether it is preserve tp. (Same as the RPG Maker MZ method of this name.)
isHidden
method sourceGame_BattlerBase.prototype.isHidden()
Whether it is hidden. (Same as the RPG Maker MZ method of this name.)
isAppeared
method sourceGame_BattlerBase.prototype.isAppeared()
Whether it is appeared. (Same as the RPG Maker MZ method of this name.)
isDead
method sourceGame_BattlerBase.prototype.isDead()
Whether it is dead. (Same as the RPG Maker MZ method of this name.)
isAlive
method sourceGame_BattlerBase.prototype.isAlive()
Whether it is alive. (Same as the RPG Maker MZ method of this name.)
isDying
method sourceGame_BattlerBase.prototype.isDying()
Whether it is dying. (Same as the RPG Maker MZ method of this name.)
isRestricted
method sourceGame_BattlerBase.prototype.isRestricted()
Whether it is restricted. (Same as the RPG Maker MZ method of this name.)
canInput
method sourceGame_BattlerBase.prototype.canInput()
Whether it can input. (Same as the RPG Maker MZ method of this name.)
canMove
method sourceGame_BattlerBase.prototype.canMove()
Whether it can move. (Same as the RPG Maker MZ method of this name.)
isConfused
method sourceGame_BattlerBase.prototype.isConfused()
Whether it is confused. (Same as the RPG Maker MZ method of this name.)
isActor
method sourceGame_BattlerBase.prototype.isActor()
Whether it is actor. (Same as the RPG Maker MZ method of this name.)
isEnemy
method sourceGame_BattlerBase.prototype.isEnemy()
Whether it is enemy. (Same as the RPG Maker MZ method of this name.)
isSkillWtypeOk
method sourceGame_BattlerBase.prototype.isSkillWtypeOk(/*skill*/)
Whether it is skill wtype ok. (Same as the RPG Maker MZ method of this name.)
isPoolOn
static sourceGame_BattlerBase.isPoolOn(key)
Resource pools a project turned off (System.json rrPoolsOff: ["mp"], ["tp"] or both; set in Database > System 1 > Options).
Details
Resource pools a project turned off (System.json rrPoolsOff: ["mp"], ["tp"] or both; set in Database > System 1 > Options). A pool that is off is hidden on every window and HUD, costs nothing (a skill priced in it stays usable) and, for TP, gains nothing. HP is never off.
canPaySkillCost
method sourceGame_BattlerBase.prototype.canPaySkillCost(skill)
Whether it can pay skill cost. (Same as the RPG Maker MZ method of this name.)
isOccasionOk
method sourceGame_BattlerBase.prototype.isOccasionOk(item)
Whether it is occasion ok. (Same as the RPG Maker MZ method of this name.)
hasItemStock
method sourceGame_BattlerBase.prototype.hasItemStock(item)
Whether the party currently holds item for this battler to use.
Details
Whether the party currently holds item for this battler to use.
Split out of meetsItemConditions so that "can this battler act with this
item" and "is there any left" are separately overridable. A plugin that
prepays or waives an item's cost — a replayed action, a pair consumed up
front — can override this one method and leave every other usability
condition intact, including conditions added by plugins that alias
meetsItemConditions. Overriding meetsItemConditions or Game_Action's
validity check instead means reimplementing that chain, which silently drops
any condition added to it later.
canUse
method sourceGame_BattlerBase.prototype.canUse(item)
Whether it can use. (Same as the RPG Maker MZ method of this name.)
canEquip
method sourceGame_BattlerBase.prototype.canEquip(item)
Whether it can equip. (Same as the RPG Maker MZ method of this name.)
canEquipWeapon
method sourceGame_BattlerBase.prototype.canEquipWeapon(item)
Whether it can equip weapon. (Same as the RPG Maker MZ method of this name.)
canEquipArmor
method sourceGame_BattlerBase.prototype.canEquipArmor(item)
Whether it can equip armor. (Same as the RPG Maker MZ method of this name.)
canAttack
method sourceGame_BattlerBase.prototype.canAttack()
Whether it can attack. (Same as the RPG Maker MZ method of this name.)
canGuard
method sourceGame_BattlerBase.prototype.canGuard()
Whether it can guard. (Same as the RPG Maker MZ method of this name.)
Actions
clearParamPlus
method sourceGame_BattlerBase.prototype.clearParamPlus()
Clears the param plus. (Same as the RPG Maker MZ method of this name.)
clearStates
method sourceGame_BattlerBase.prototype.clearStates()
Clears the states. (Same as the RPG Maker MZ method of this name.)
resetStateCounts
method sourceGame_BattlerBase.prototype.resetStateCounts(stateId)
Resets the state counts. (Same as the RPG Maker MZ method of this name.)
setStateTurns
method sourceGame_BattlerBase.prototype.setStateTurns(stateId, turns)
Set how many turns a state the battler already has will last.
clearBuffs
method sourceGame_BattlerBase.prototype.clearBuffs()
Clears the buffs. (Same as the RPG Maker MZ method of this name.)
setPendingBuffPotency
method sourceGame_BattlerBase.prototype.setPendingBuffPotency(rate)
The strength the effect being applied asked for, held only for as long as it takes that effect to move the stack.
Details
The strength the effect being applied asked for, held only for as long as it takes that effect to move the stack. null means it named none.
die
method sourceGame_BattlerBase.prototype.die()
Die. (Same as the RPG Maker MZ method of this name.)
revive
method sourceGame_BattlerBase.prototype.revive()
Revive. (Same as the RPG Maker MZ method of this name.)
attackElements
method sourceGame_BattlerBase.prototype.attackElements()
Attack elements. (Same as the RPG Maker MZ method of this name.)
attackStates
method sourceGame_BattlerBase.prototype.attackStates()
Attack states. (Same as the RPG Maker MZ method of this name.)
attackStatesRate
method sourceGame_BattlerBase.prototype.attackStatesRate(stateId)
Attack states rate. (Same as the RPG Maker MZ method of this name.)
attackSpeed
method sourceGame_BattlerBase.prototype.attackSpeed()
Attack speed. (Same as the RPG Maker MZ method of this name.)
attackTimesAdd
method sourceGame_BattlerBase.prototype.attackTimesAdd()
Attack times add. (Same as the RPG Maker MZ method of this name.)
attackSkillId
method sourceGame_BattlerBase.prototype.attackSkillId()
Attack skill id. (Same as the RPG Maker MZ method of this name.)
addParam
method sourceGame_BattlerBase.prototype.addParam(paramId, value)
Adds the param. (Same as the RPG Maker MZ method of this name.)
setHp
method sourceGame_BattlerBase.prototype.setHp(hp)
Sets the hp. (Same as the RPG Maker MZ method of this name.)
setMp
method sourceGame_BattlerBase.prototype.setMp(mp)
Sets the mp. (Same as the RPG Maker MZ method of this name.)
setTp
method sourceGame_BattlerBase.prototype.setTp(tp)
Sets the tp. (Same as the RPG Maker MZ method of this name.)
recoverAll
method sourceGame_BattlerBase.prototype.recoverAll()
Recover all. (Same as the RPG Maker MZ method of this name.)
hide
method sourceGame_BattlerBase.prototype.hide()
Hide. (Same as the RPG Maker MZ method of this name.)
addNewState
method sourceGame_BattlerBase.prototype.addNewState(stateId)
Adds the new state. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onRestrict
method sourceGame_BattlerBase.prototype.onRestrict()
Called when restrict happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
updateStateTurns
method sourceGame_BattlerBase.prototype.updateStateTurns()
Updates the state turns each frame. (Same as the RPG Maker MZ method of this name.)
updateBuffTurns
method sourceGame_BattlerBase.prototype.updateBuffTurns()
Updates the buff turns each frame. (Same as the RPG Maker MZ method of this name.)
refresh
method sourceGame_BattlerBase.prototype.refresh()
Refresh. (Same as the RPG Maker MZ method of this name.)
Other
eraseState
method sourceGame_BattlerBase.prototype.eraseState(stateId)
Erase state. (Same as the RPG Maker MZ method of this name.)
deathStateId
method sourceGame_BattlerBase.prototype.deathStateId()
Death state id. (Same as the RPG Maker MZ method of this name.)
eraseBuff
method sourceGame_BattlerBase.prototype.eraseBuff(paramId)
Erase buff. (Same as the RPG Maker MZ method of this name.)
buffPotencyList
method sourceGame_BattlerBase.prototype.buffPotencyList(paramId)
The strengths of a parameter's current buff or debuff stacks, one entry per stack, oldest first.
Details
The strengths of a parameter's current buff or debuff stacks, one entry per stack, oldest first. An entry is the rate that stack contributes (0.4 for 40%), or null for "whatever the standard rate is", which is resolved when the rate is read rather than when the stack is added. Built on demand, so a save written before strengths existed still answers.
shiftBuffPotency
method sourceGame_BattlerBase.prototype.shiftBuffPotency(paramId, before, after)
Keep the strengths in step with the stack count: a stack gained takes the strength the current effect asked for, a stack lost gives up the most recent one.
Details
Keep the strengths in step with the stack count: a stack gained takes the strength the current effect asked for, a stack lost gives up the most recent one. A parameter's stacks are all buffs or all debuffs -- the list empties as the count passes through zero -- so the direction belongs to the count, not to the entries, which are magnitudes.
buffRateFromStacks
static sourceGame_BattlerBase.buffRateFromStacks(level, list, standard)
A parameter's buff rate: every stack contributes its own strength and they add up, with a stack that named none taking standard.
Details
A parameter's buff rate: every stack contributes its own strength and
they add up, with a stack that named none taking standard. A list
that has fallen out of step with the stack count -- a save from before
strengths existed, or a plugin moving _buffs itself -- is ignored in
favour of the standard rate for that many stacks, so the rate is never
silently wrong.
buffLength
method sourceGame_BattlerBase.prototype.buffLength()
Buff length. (Same as the RPG Maker MZ method of this name.)
buff
method sourceGame_BattlerBase.prototype.buff(paramId)
Buff. (Same as the RPG Maker MZ method of this name.)
increaseBuff
method sourceGame_BattlerBase.prototype.increaseBuff(paramId)
Increase buff. (Same as the RPG Maker MZ method of this name.)
decreaseBuff
method sourceGame_BattlerBase.prototype.decreaseBuff(paramId)
Decrease buff. (Same as the RPG Maker MZ method of this name.)
overwriteBuffTurns
method sourceGame_BattlerBase.prototype.overwriteBuffTurns(paramId, turns)
Overwrite buff turns. (Same as the RPG Maker MZ method of this name.)
states
method sourceGame_BattlerBase.prototype.states()
States. (Same as the RPG Maker MZ method of this name.)
stateIcons
method sourceGame_BattlerBase.prototype.stateIcons()
State icons. (Same as the RPG Maker MZ method of this name.)
buffIcons
method sourceGame_BattlerBase.prototype.buffIcons()
Buff icons. (Same as the RPG Maker MZ method of this name.)
buffIconIndex
method sourceGame_BattlerBase.prototype.buffIconIndex(buffLevel, paramId)
Buff icon index. (Same as the RPG Maker MZ method of this name.)
allIcons
method sourceGame_BattlerBase.prototype.allIcons()
All icons. (Same as the RPG Maker MZ method of this name.)
traitObjects
method sourceGame_BattlerBase.prototype.traitObjects()
Trait objects. (Same as the RPG Maker MZ method of this name.)
allTraits
method sourceGame_BattlerBase.prototype.allTraits()
All traits. (Same as the RPG Maker MZ method of this name.)
traits
method sourceGame_BattlerBase.prototype.traits(code)
Traits. (Same as the RPG Maker MZ method of this name.)
traitsWithId
method sourceGame_BattlerBase.prototype.traitsWithId(code, id)
Traits with id. (Same as the RPG Maker MZ method of this name.)
traitsPi
method sourceGame_BattlerBase.prototype.traitsPi(code, id)
Traits pi. (Same as the RPG Maker MZ method of this name.)
traitsSum
method sourceGame_BattlerBase.prototype.traitsSum(code, id)
Traits sum. (Same as the RPG Maker MZ method of this name.)
traitsSumAll
method sourceGame_BattlerBase.prototype.traitsSumAll(code)
Traits sum all. (Same as the RPG Maker MZ method of this name.)
traitsSet
method sourceGame_BattlerBase.prototype.traitsSet(code)
Traits set. (Same as the RPG Maker MZ method of this name.)
xparam
method sourceGame_BattlerBase.prototype.xparam(xparamId)
Xparam. (Same as the RPG Maker MZ method of this name.)
sparam
method sourceGame_BattlerBase.prototype.sparam(sparamId)
Sparam. (Same as the RPG Maker MZ method of this name.)
elementRate
method sourceGame_BattlerBase.prototype.elementRate(elementId)
Element rate. (Same as the RPG Maker MZ method of this name.)
debuffRate
method sourceGame_BattlerBase.prototype.debuffRate(paramId)
Debuff rate. (Same as the RPG Maker MZ method of this name.)
buffRate
method sourceGame_BattlerBase.prototype.buffRate(paramId)
The chance a buff on this parameter is accepted (Buff Rate trait).
Details
The chance a buff on this parameter is accepted (Buff Rate trait). It decides whether a buff lands, never how strong it is; traits multiply together, so with none it is 1.
stateRate
method sourceGame_BattlerBase.prototype.stateRate(stateId)
State rate. (Same as the RPG Maker MZ method of this name.)
stateResistSet
method sourceGame_BattlerBase.prototype.stateResistSet()
State resist set. (Same as the RPG Maker MZ method of this name.)
addedSkillTypes
method sourceGame_BattlerBase.prototype.addedSkillTypes()
Added skill types. (Same as the RPG Maker MZ method of this name.)
addedSkills
method sourceGame_BattlerBase.prototype.addedSkills()
Added skills. (Same as the RPG Maker MZ method of this name.)
slotType
method sourceGame_BattlerBase.prototype.slotType()
Slot type. (Same as the RPG Maker MZ method of this name.)
slotLayout
method sourceGame_BattlerBase.prototype.slotLayout()
Slot layout. (Same as the RPG Maker MZ method of this name.)
actionPlusSet
method sourceGame_BattlerBase.prototype.actionPlusSet()
Action plus set. (Same as the RPG Maker MZ method of this name.)
specialFlag
method sourceGame_BattlerBase.prototype.specialFlag(flagId)
Special flag. (Same as the RPG Maker MZ method of this name.)
collapseType
method sourceGame_BattlerBase.prototype.collapseType()
Collapse type. (Same as the RPG Maker MZ method of this name.)
partyAbility
method sourceGame_BattlerBase.prototype.partyAbility(abilityId)
Party ability. (Same as the RPG Maker MZ method of this name.)
hpRate
method sourceGame_BattlerBase.prototype.hpRate()
Hp rate. (Same as the RPG Maker MZ method of this name.)
mpRate
method sourceGame_BattlerBase.prototype.mpRate()
Mp rate. (Same as the RPG Maker MZ method of this name.)
tpRate
method sourceGame_BattlerBase.prototype.tpRate()
Tp rate. (Same as the RPG Maker MZ method of this name.)
appear
method sourceGame_BattlerBase.prototype.appear()
Appear. (Same as the RPG Maker MZ method of this name.)
confusionLevel
method sourceGame_BattlerBase.prototype.confusionLevel()
Confusion level. (Same as the RPG Maker MZ method of this name.)
sortStates
method sourceGame_BattlerBase.prototype.sortStates()
Sort states. (Same as the RPG Maker MZ method of this name.)
restriction
method sourceGame_BattlerBase.prototype.restriction()
Restriction. (Same as the RPG Maker MZ method of this name.)
mostImportantStateText
method sourceGame_BattlerBase.prototype.mostImportantStateText()
Most important state text. (Same as the RPG Maker MZ method of this name.)
stateMotionIndex
method sourceGame_BattlerBase.prototype.stateMotionIndex()
State motion index. (Same as the RPG Maker MZ method of this name.)
stateOverlayIndex
method sourceGame_BattlerBase.prototype.stateOverlayIndex()
State overlay index. (Same as the RPG Maker MZ method of this name.)
skillMpCost
method sourceGame_BattlerBase.prototype.skillMpCost(skill)
Skill mp cost. (Same as the RPG Maker MZ method of this name.)
skillTpCost
method sourceGame_BattlerBase.prototype.skillTpCost(skill)
Skill tp cost. (Same as the RPG Maker MZ method of this name.)
paySkillCost
method sourceGame_BattlerBase.prototype.paySkillCost(skill)
Pay skill cost. (Same as the RPG Maker MZ method of this name.)
meetsUsableItemConditions
method sourceGame_BattlerBase.prototype.meetsUsableItemConditions(item)
Meets usable item conditions. (Same as the RPG Maker MZ method of this name.)
meetsSkillConditions
method sourceGame_BattlerBase.prototype.meetsSkillConditions(skill)
Meets skill conditions. (Same as the RPG Maker MZ method of this name.)
meetsItemConditions
method sourceGame_BattlerBase.prototype.meetsItemConditions(item)
Meets item conditions. (Same as the RPG Maker MZ method of this name.)
guardSkillId
method sourceGame_BattlerBase.prototype.guardSkillId()
Guard skill id. (Same as the RPG Maker MZ method of this name.)