mr:wind_gust_spell
Table of Contents
Wind Gust Spell - Machine Readable Reference
Description
Wind Gust is a utility spell that summons a gust of wind to push the selected character away from the caster.
Entity Information
- Entity Kind: WindGust
- Type: Spell (Utility)
- Class: Spell System
- Category: Utility Spells
Java Classes
- WindGust.java - Main spell implementation
- Spell.java - Base class for all spells
JSON Configuration
This entity is implemented in Java, no JSON configuration exists
String Resources
<string name="WindGust_Name">Wind gust</string> <string name="WindGust_Info">Summons a gust of wind, that pushes the selected character away.</string>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Properties
// Spell Mechanics range = 4; // Maximum range for target selection pushDistance = 2; // Number of tiles target gets pushed back coolDownTime = 10; // Cooldown turns before reuse manaCost = 5; // Mana consumed when cast
Behavior
- Pushes target enemy/player away from caster
- Distance is consistent regardless of enemy type
- Does not deal damage
- Can be used to create distance from enemies
- May cause enemies to fall into traps or chasms
Usage Strategies
- Escape dangerous situations by pushing enemies away
- Force enemies into hazardous terrain (traps, chasms, lava)
- Create space for casting other spells
- Interrupt melee attacks from approaching enemies
- Push enemies out of corridors for safer combat positioning
Modding Considerations
- Extends the base Spell class
- Implements special movement mechanics
- Safe to balance damage output as it has no direct damage
- Can be combined with other elemental spells for synergistic effects
Related Entities
- Spell System - Base spell class
- Push Mechanic
- Movement Mechanics
- Utility Spells Category
- Elemental Spell Affinity
Implementation Notes
- Uses the getEntityKind() method with value “WindGust” to connect Java code with other systems
- Handles collision detection for push path
- Respects terrain boundaries and obstacles
mr/wind_gust_spell.txt · Last modified: by 127.0.0.1
