plugin-block-generate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin-block-generate [2024/03/24 05:22] – banerjeesw | plugin-block-generate [2025/07/04 00:45] (current) – [Script Calls] isiahgames | ||
---|---|---|---|
Line 2: | Line 2: | ||
**MYTH_BlockGenerate** is a utility plugin which simulates Block in the style of deckbuilders like Slay the Spire. Block is a defensive resource that can be accumulated by playing cards or having certain items equipped. When damage is dealt to the Actor, Block is deducted first before Health. | **MYTH_BlockGenerate** is a utility plugin which simulates Block in the style of deckbuilders like Slay the Spire. Block is a defensive resource that can be accumulated by playing cards or having certain items equipped. When damage is dealt to the Actor, Block is deducted first before Health. | ||
+ | |||
+ | {{ https:// | ||
This plugin has you select one State as the Block State which is automatically applied to an Actor or Enemy when they have any amount of Block. It includes Notetags and Script Calls (see below) for determining how this Block is gained and lost from different sources. | This plugin has you select one State as the Block State which is automatically applied to an Actor or Enemy when they have any amount of Block. It includes Notetags and Script Calls (see below) for determining how this Block is gained and lost from different sources. | ||
- | **Current Version: 1.0.0** | + | **Current Version: 1.3.1** |
===== Parameters ===== | ===== Parameters ===== | ||
- | + | |< 100% 30% >| | |
- | | **Block State ID** | Set this to the ID of the Block State in your Database. | | + | ^ |
- | | **Default Initial | + | | **State ID** | Set this to the ID of this Block State in your Database. |
- | | **Default | + | | **Default Initial |
- | | **Position | + | | **Default |
+ | | **Icon Settings** | **Show on Battlers?** | Settings for showing/ | ||
+ | | ::: | **Actor | ||
+ | | ::: | **Enemy Offset** | The X/Y Offsets for the Icon relative to its base position at the Enemy. | | ||
+ | | ::: | **Show in Windows?** | Settings for showing/ | ||
+ | | ::: | **Font Face** | Font Face for the value drawn on the Icon. | | ||
+ | | ::: | **Font Size** | Font Size for the value drawn on the Icon. | | ||
+ | | **Log Messages** \\ \\ For these parameters you can use the following codes and it will replace them with the relevant values: \\ %1 - Subject \\ %2 - Value \\ %3 - State Name | **Show Messages in Log?** | If ON, all Messages below will show in the Battle Log. If OFF, none will show. | | ||
+ | | ::: | **Value Gain Text** | Log Text Popup when you gain Block Value via Card Action. | | ||
+ | | ::: | **Value Loss Text** | Log Text Popup when you lose Block Value via Card Action. | | ||
+ | | ::: | **Block State Message** | Log Text Popup when the Block State Holds after Damage. | | ||
+ | | ::: | **Break State Message** | Log Text Popup when the Block State Breaks after Damage. | | ||
+ | | **Blocked Elements** | List of Elements blocked by State, e.g "1, 2, 3" blocks Damage of Elements 1, 2, 3 while the rest will bypass. || | ||
+ | | **Allow Damage Popup?** | If ON, a Damage Popup is generated to reflect change in Block State. if OFF, no Popup is generated. || | ||
+ | | **Popup Color Code** | Set the Color of your Damage Popup. \\ For MV, matches with your Damage numbers spritesheet in img/system. || | ||
+ | ^ **Other Parameters** | ||
+ | | **Multi Block Rule** | Set rule for how DMG is dealt when multiple valid Block States are on a target. See Plugin Help File for details. || | ||
+ | | **Allow Slip DMG/HP Degen?** | If ON, Slip DMG/HP Degen will reduce a Battler' | ||
+ | | **Remove State on 0?** | If ON, Block States will be removed if you have 0 Block for that State. If OFF, State will persist regardless of value. || | ||
+ | ^ **Resource States** | ||
+ | | **State ID** | State of the Resource State. If set to None/0, this state will not be valid. || | ||
+ | | **Resource Type** | Choose if Icon shows the Battler' | ||
+ | | **Icon Settings** | See the Icon Settings for Block States (above) || | ||
===== Notetags ===== | ===== Notetags ===== | ||
- | + | |< 100% 30% >| | |
- | ^ Notetag Syntax | + | ^ Notetag Syntax |
- | | < | + | | < |
+ | <Init Block [State Name]: X></ | ||
+ | | < | ||
+ | <Max Block [State Name]: X> </ | ||
+ | | < | ||
+ | <Hide Block [State Name]> | ||
+ | <Hide All Block></ | ||
+ | | < | ||
+ | <Hide Resc [State Name]> | ||
+ | <Hide All Resc></ | ||
+ | | < | ||
+ | <Ignore Block [State Name]></ | ||
+ | | < | ||
+ | <Mode Init Block [State Name]: [+/ | ||
+ | | < | ||
+ | <Mod Max Block [State Name]: [+/ | ||
+ | | < | ||
+ | <Change Block [State Name]: [+/ | ||
+ | | < | ||
+ | <Fill Block [State Name]></ | ||
+ | | < | ||
+ | <Clear Block [State Name]></ | ||
+ | | < | ||
+ | <Negate Block [State Name]></ | ||
===== Script Calls ===== | ===== Script Calls ===== | ||
- | + | |< 100% 30% >| | |
- | | < | + | | < |
- | | < | + | | < |
- | | < | + | | < |
- | | < | + | | < |
+ | | < | ||
===== Version History ===== | ===== Version History ===== | ||
< | < | ||
+ | **v1.3.1** | ||
+ | - Improved Message Warning infrastructure. | ||
+ | |||
+ | **v1.3.0** | ||
+ | - Changed parameters to accomodate multiple Block/ | ||
+ | - Changed Notetags, Card Actions and Script Calls to work with new params | ||
+ | - Added Param to turn on/off Battle Log Messages for Block States | ||
+ | - Added Param to turn on/off Damge Popups for Block States | ||
+ | - Added Param letting you set the Damage Popup colors per Block State | ||
+ | - Added Param for whether Slip Damage reduces Block value before HP | ||
+ | - Added Param to let you set Resource States to HP, MP, TP or others | ||
+ | - Added Params to turn on/off State Icons on Actors and Windows | ||
+ | - Block Font Color does not change with Actor HP State in Windows | ||
+ | - Allowed using State Names instead of ID for Card Actions and Notetags | ||
+ | - Changed <Block Change> Notetag syntax to <Change Block> | ||
+ | - Added <Fill Block> and <Clear Block> State Notetags | ||
+ | - Added support for Variable Input in Card Actions and Notetags | ||
+ | |||
+ | **v1.2.0** | ||
+ | - Fixed issue with Normal Attack damage type ignoring Block | ||
+ | - <Ignore Block> is working again and unaffected by Damage Types | ||
+ | - Added new Card Actions for Add Block, Set Block and Clear Block | ||
+ | - Fixed bug where Block carried over rounds despite showing it cleared | ||
+ | |||
+ | |||
+ | **v1.1.0** | ||
+ | - Added in Health Icon in case users want to show both Health and Block on a Battler. Has a Notetags if you want to hide it. | ||
+ | - Block and Health values are written to Icons on Actor & Party Windows can set different Fonts for Block and Health Icon text. | ||
+ | - Exposed the text for State Messages for Block and Break. Now can be customized. Has differences between MV and MZ. | ||
+ | - Added support for Elements. You can now choose which Damage Types the Block State reduces vs which ones are ignored. | ||
+ | - Different Icon Offsets can be declared for Actors and Enemies | ||
+ | |||
**v1.0.0** | **v1.0.0** | ||
- Base Functionality complete! Will probably come back around and do some minor edits | - Base Functionality complete! Will probably come back around and do some minor edits |
plugin-block-generate.1711254130.txt.gz · Last modified: 2024/03/24 05:22 by banerjeesw