User Tools

Site Tools


plugin-block-generate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin-block-generate [2025/07/03 23:38] – [Parameters] isiahgamesplugin-block-generate [2025/07/04 00:45] (current) – [Script Calls] isiahgames
Line 40: Line 40:
 |< 100% 30% >| |< 100% 30% >|
 ^  Notetag Syntax  ^  Database Usage  ^  Description  ^ ^  Notetag Syntax  ^  Database Usage  ^  Description  ^
-| <code><Init Block: X></code> | Actors, Enemies | Sets initial Block value this Actor/Enemy will have at the start of a battle. | +| <code><Init Block [State ID]: X> 
-| <code><Max Block: X></code> | Actors, Enemies | Sets maximum Block value this Actor/Enemy can have at any one time. | +<Init Block [State Name]: X></code> | Actors, Enemies | Sets initial Block State of this Actor/Enemy to X at battle start. You may use the name of the Block State instead of the ID (case-insensitive). \\ X can be negative or positive number. You can use a Game Variable in place of a number using \v[x] text code. | 
-| <code><Ignore Block></code> | Skills, Items | Damage Formula of these Skills/Items will ignore target's Block and deal their damage directly to HP instead. Useful for "piercing" type Skills. | +| <code><Max Block [State ID]: X> 
-| <code><Mod Init Block: +x></code> | Weapons, Armors | Modifies an Actor's Initial Block amount by adding a positive/negative number. Can stack from multiple sources (like different pieces of equipment). | +<Max Block [State Name]: X> </code> | Actors, Enemies | Sets maximum Block State this Actor/Enemy can have at any one time. | 
-| <code><Mod Max Block: +x></code> | Weapons, Armors | Modifies an Actor's Max Block amount by adding a positive/negative number. Can stack from multiple sources (like different pieces of equipment). | +| <code><Hide Block [State ID]> 
-| <code><Block Change: +X></code> | States | Determines how much an Actor with the State will gain/lose Block at the end of their turn (during the Regenerate Step). Can stack from multiple sources. If there is both Block Gain and Block Loss from multiple States, the values are summed together and applied as a single instance of generation e.g. if State A gains 20 BLOCK each turn and State B loses 40 Block each turn, then an Actor with both State A and B loses 20 Block (+20 - 40 = -20) each turn | +<Hide Block [State Name]> 
-| <code><Negate Block></code> | States | When a State with this Notetag is applied to an actor, they will lose all Block and be unable to gain Block until it elapses or is removed. |+<Hide All Block></code> | Actors, Enemies | Hides Icon of a Block State on the Battler's Sprite and Windows. \\ If an ID is not provided or a matching State is not found, it defaults to the first Block State in the list. \\ Hide All Block will hide icons for every ID on the Block State list. | 
 +| <code><Hide Resc [State ID]> 
 +<Hide Resc [State Name]> 
 +<Hide All Resc></code> | Actors, Enemies | Hides Icon of a Resource State on the Battler's Sprite and Windows. | 
 +| <code><Ignore Block [State ID]> 
 +<Ignore Block [State Name]></code> | Skills, Items | Damage Formula of these Skills/Items will ignore target's Block State X value and deal their damage directly to HP instead. Useful for "piercing" type Skills/Items. | 
 +| <code><Mod Init Block [State ID][+/-]X> 
 +<Mode Init Block [State Name]: [+/-]X</code> | Weapons, Armors | Modifies an Actor's Initial Block amount by adding a positive/negative number. Can stack from multiple sources (like different pieces of equipment). | 
 +| <code><Mod Max Block [State ID][+/-]X> 
 +<Mod Max Block [State Name]: [+/-]X></code> | Weapons, Armors | Modifies an Actor's Max Block amount by adding a positive/negative number. Can stack from multiple sources (like different pieces of equipment). | 
 +| <code><Change Block [State ID]: [+/-]X> 
 +<Change Block [State Name][+/-]X></code> | States | Determines how much an Actor with the State will gain/lose Block at the end of their turn (during the Regenerate Step). Can stack from multiple sources. \\ If there is both Block Gain and Block Loss from multiple States, the values are summed together and applied as a single instance of generation e.g. if State A gains 20 BLOCK each turn and State B loses 40 Block each turn, then an Actor with both State A and B loses 20 Block (+20 - 40 = -20) each turn 
 +| <code><Fill Block [State ID]> 
 +<Fill Block [State Name]></code> | States | When this State is applied to a Battler, it will set the specified Block State's value to max. \\ Maximul will take the Battler's Maxmimum for that Block State set by their Notetags. If no maximum was provided, will default to Maximum set in parameters. |  
 +| <code><Clear Block [State ID]> 
 +<Clear Block [State Name]></code> | States | When this State is applied to a Battler, the Block State value is set to 0. 
 +| <code><Negate Block [State ID]> 
 +<Negate Block [State Name]></code> | States | When a State with this Notetag is applied to an actor, Block State is removed and it cannot be applied to the Battler until this State elapses or is removed. |
  
 ===== Script Calls ===== ===== Script Calls =====
 |< 100% 30% >| |< 100% 30% >|
-| <code>{battler}.getBlock()</code> | Returns the Battler's current Block value. | +| <code>{battler}.getBlock(id)</code> | Returns the Battler's current value for the Block State of the specified ID. | 
-| <code>{battler}.setBlock(value, show)</code> | Sets the Battler'Block to value. Show can be true/false depending on whether you want a Damage Popup and Battle Log message to show the change. | +| <code>{battler}.setBlock(id, value, show)</code> | Sets the Battler's value for Block State of the specified ID. Show can be true/false depending on whether you want a Damage Popup and Battle Log message to show the change. | 
-| <code>{battler}.addBlock(value, show)</code> | Adds to the Battler's Block. Value can be either positive or negative. If it goes over the Battler's Max or under 0, the value is automatically clamped. Show can be true/false depending on whether you want a Damage Popup and Battle Log message to show the change. | +| <code>{battler}.addBlock(id, value, show)</code> | Adds value to the Battler's Block State of the specified ID. Value can be either positive or negative. If it goes over the Battler's Max or under 0, the value is automatically clamped. Show can be true/false depending on whether you want a Damage Popup and Battle Log message to show the change. | 
-| <code>{battler}.clearBlock(show)</code> | Clears the Battler's Block setting it to 0 and removing the Block State. |+| <code>{battler}.fillBlock(id, show)</code> | Fills the Battler's Block State by setting it to max. Show can be true/false based on if you want a Damage Popup and Battle log Message to show the change. | 
 +| <code>{battler}.clearBlock(id, show)</code> | Clears the Battler's Block State setting it to 0 and removing the Block State. |
  
 ===== Version History ===== ===== Version History =====
plugin-block-generate.1751578699.txt.gz · Last modified: 2025/07/03 23:38 by isiahgames