Character Database Stat Handler

This behavior manages a character's stats, including Current HP and MP. For a list of stats, check out the Parameters page. There are a TON of custom blocks included with this behavior and so it will take some time for us to list each of these blocks and their functions. In the meantime, please check out the Base Stats and the Current Stats pages for info to help you understand the functions of each of these custom blocks.

In addition to handling the stats of each character, this also handles the learning of skills/spells upon level up.

Get Level for Character : Returns the current level of a character.

Set Level Character to Level : Allows the level of a character to be set. Also learns any skills/spells up to that level.

Get Base ATK for Character : This returns the character's attack stat without any bonuses from equipment/skills/spells.

Set Base ATK for Character to : This sets the character's attack stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base DEF for Character : This returns the character's defense stat without any bonuses from equipment/skills/spells.

Set Base DEF for Character to : This sets the character's defense stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base MATK for Character : This returns the character's magic attack stat without any bonuses from equipment/skills/spells.

Set Base MATK for Character to : This sets the character's magic attack stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base MDEF for Character : This returns the character's magic defense stat without any bonuses from equipment/skills/spells.

Set Base MDEF for Character to : This sets the character's magic defense stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base AGI for Character : This returns the character's agility stat without any bonuses from equipment/skills/spells.

Set Base AGI for Character to : This sets the character's agility stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base LUCK for Character : This returns the character's luck stat without any bonuses from equipment/skills/spells.

Set Base LUCK for Character to : This sets the character's luck stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base MHP for Character : This returns the character's max hp stat without any bonuses from equipment/skills/spells.

Set Base MHP for Character to : This sets the character's max hp stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Base MMP for Character : This returns the character's max mp stat without any bonuses from equipment/skills/spells.

Set Base MMP for Character to : This sets the character's max mp stat without any bonuses from equipment/skills/spells. Used for permanent stat increases or for adding stats when leveling.

Get Current ATK for Character : This returns the character's attack stat with any bonuses from equipment/skills/spells.

Set Current ATK for Character to : This sets the character's attack stat with any bonuses from equipment/skills/spells.

Get Current DEF for Character : This returns the character's defense stat with any bonuses from equipment/skills/spells.

Set Current DEF for Character to : This sets the character's defense stat with any bonuses from equipment/skills/spells.

Get Current MATK for Character : This returns the character's magic attack stat with any bonuses from equipment/skills/spells.

Set Current MATK for Character to : This sets the character's magic attack stat with any bonuses from equipment/skills/spells.

Get Current MDEF for Character : This returns the character's magic defense stat with any bonuses from equipment/skills/spells.

Set Current MDEF for Character to : This sets the character's magic defense stat with any bonuses from equipment/skills/spells.

Get Current AGI for Character : This returns the character's agility stat with any bonuses from equipment/skills/spells.

Set Current AGI for Character to : This sets the character's agility stat with any bonuses from equipment/skills/spells.

Get Current LUCK for Character : This returns the character's luck stat with any bonuses from equipment/skills/spells.

Set Current LUCK for Character to : This sets the character's luck stat with any bonuses from equipment/skills/spells.

Get Current MHP for Character : This returns the character's max hp stat with any bonuses from equipment/skills/spells.

Set Current MHP for Character to : This sets the character's max hp stat with any bonuses from equipment/skills/spells.

Get Current MMP for Character : This returns the character's max mp stat with any bonuses from equipment/skills/spells.

Set Current MMP for Character to : This sets the character's max mp stat with any bonuses from equipment/skills/spells.

Get Current HP For Character : This returns the character's current health values.

Set Current HP For Character to : This sets the character's current health value. Used for restoring health and the like. Prevents the character's health from exceeding the current max hp value.

Get Current MP For Character : This returns the character's current mana values.

Set Current MP For Character to : This sets the character's current mana value. Used for restoring mana and the like. Prevents the character's mana from exceeding the current max mp value.

Add Skill to Character : Adds any given skill from the skill list to the character, whether it is in the Learned Skills Tab or not.

Remove Skill from Character : Removes a given skill from the character, if the character knows the skill.

Custom Events
Here is a list of some of the custom events found in this scene behavior and what they do.

SetLearnedSkillsInit: This is used to initialize the skills of every character in the game, teaching the skills they are supposed to know at the initial level supplied by the user.

SetLearnedSkills: When a character levels, this teaches them the skills that they are designated to learn via the Learned Skills Tab for their current level.

CheckLearnedSkills: This checks all of the skills known by a character and ensures that the skill is still in the database. If the skill isn't in the database, the skill is removed from from the character.

The other two events are used to initialize stats and update them and should not be modified unless you REALLY know what you are doing and fully understand the code.