Add races to players and enemies! This also allows you to assign bonuses or
penalties to attacks made by or against creatures of specific races. Ever
want to create a Dragonslayer sword, a spell which does extra damage against
undead regardless of elemental affinity, or armor that reduces damage dealt
by demons? Now you can! This can even be used to cause healing effects
to damage undead foes, or healing to have no effects on mechanical beings.
=================== Note Tags
- Actor/Enemy note tags:
Specify a subrace for the actor or enemy. This is for vanity purposes only,
and is accessible via Game_BattlerBase.prototype.subrace as outlined below.
If no subrace exists, returns an empty string instead.
- Actor/Enemy, Class, Equip,and State note tags:
<Race: RaceType> sets the creature/actor's racetype(s)
Adds the specified race to the battler's race list.
Specfies a sex for the actor/enemy based on priority:
Actor/Enemy < Class < Equips < States, with Actor/Enemy having the lowest
priority and states having the highet priority. So if an actor is set to
Female, she could equip a ring that changes her to Male. Please don't be
gross with this, guys.
- Actor/Enemy, Class, Equip, State, Item/Ability note tags:
<Attack vs RaceType: n>
All attacks vs this racetype are multiplied by n
<Physical Attack vs RaceType: n>
Physical attacks vs this racetype are multiplied by n
<Magical Attack vs RaceType: n>
Magical attacks vs this racetype are multiplied by n
<Certain Attack vs RaceType: n>
Certain hit attacks vs this racetype are multiplied by n
<Defense vs RaceType: n>
All incoming attacks from this racetype are multiplied by n
<Physical Defense vs RaceType: n>
Physical incoming attacks from this racetype are multiplied by n
<Magical Defense vs RaceType: n>
Magical incoming attacks from this racetype are multiplied by n
<Certain Defense vs RaceType: n>
Certain hit incoming attacks from this racetype are multiplied by n
- Replace "RaceType" with the desired race text (ex: Humanoid, Dragonkin,
Celestial, Robot, Potato, etc) or race ID pointing to a race defined in the
plugin parameters. Be aware that the first race is at index 1, as 0 is
reserved for the Unknown racial identifier.
- To assign more than one race to an actor/enemy, separate with commas (ex: <Race: Undead, Plant>
- Replace "n" with the desired multiplier. (ex: 0.5 for 50% damage, 2.5 for 250% damage, etc)
- All modifiers are multiplicative with one another.
- Since this is a battle plugin, place it below other battle plugins, especially if they overwrite Game_Action.prototype.makeDamageValue
=================== Note Tag Examples
<Race: Aberration> - assigns the race, "Aberration," to an actor or enemy.
This is pretty straightforward~
<Physical Attack vs Aberration: 1.5> - 150% damage modifier against
"Aberration" actors or enemies when using physical attacks. If assigned to
a skill or item, the bonus applies only when that skill or item is used. If
assigned to a weapon or armor, the bonus applies to every physical attack as
long as the weapon or armor is equipped. If assigned to a state, the bonus
only applies if the attacking actor/enemy is affected by that state. If
assigned to a class, any actor of that class gains the bonus. If assigned
to an actor or enemy, the bonus is always enabled for that actor/enemy.
<Magical Defense vs Aberration: 0.8> - 80% damage modifier against magical
attacks from "Aberration" actors or enemies. Same rules applies per source
as listed above.
<Certain Attack vs Aberration: 5> - 500% (!) damage with certain hit
abilities vs "Aberration" actors or enemies.
<Defense vs Aberration: 2> - 200% damage from ALL types of attacks coming
from "Aberration" actors/enemies
<Attack vs Aberration: 0.01> - 1% (!) damage modifier to ALL attacks made
against "Aberration" actors or enemies
<Attack vs Undead: -1> - All damage (or healing) vs Undead will be inverted,
making for an easy solution if you want healing effects to damage undead
=================== Useful Function Calls
Returns array of races associated with the battler.
Returns a string of all races associated with the battler.
Returns the name of the race found on the battler or enemy only. Excludes
class, equip, and state races.
Returns the name of the battler's subrace, if any
Returns true if a battler is associated with the specified race
Returns the name of the battler's sex, if any
Returns the ID number of the battler's sex, if any
The race to return via battler.raceList when none is specified
The sex to return via battler.sex when none is specified
List of races. Note that the first race is considered to be at index 1, not 0