Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: Alpha
Made for RPG Maker MZ 1.10.0
REQUIRED: All [CGMZ] Plugins require [CGMZ] Core placed above them in the Plugin Manager.

Quick Start GuideTo get started using this plugin, follow the below steps:

1) Set up starting stat allocation points in plugin parameters

2) Use the Call Scene plugin command to open the stat allocation scene

3) The plugin handles the rest

Text CodesThis plugin uses its own text codes in the following parameters:

Info Strings (1 2 3)
- Use %name to show the actor name
- Use %class to show the actor class name
- Use %level to show the actor's level
- Use %points to show the amount of available stat points

Point & Parameter Change Strings
- Use %base to show the base stat coming into the scene
- Use %difference to show the stat difference amount (positive/negative only).

Param String
- Use %name to show the stat name
- Use %pointbase to show the initial points at scene start
- Use %pointchange to show the change in points (the above change string)
- Use %parambase to show the initial param value at scene start
- Use %paramchange to show the change in param value (the above change string)

Plugin CommandsThis plugin supports the following plugin commands:

Call Scene
Call the stat allocation scene. You must provide which actor you want to allocate stats for.

Change Points
Change the amount of stat allocation points the given actor has. If removing points causes the actor to have more stat points allocated than their budget allows, points will be automatically removed starting with hp and going down through each stat until the player is within their stat allocation point budget.

Saved GamesThis plugin is fully compatible with saved games. This means you can:

✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.

Filename

The filename for this plugin MUST remain CGMZ_StatAllocation.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.


Known Issues

This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.


Compatibility

This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.

Back to Plugin