User Tools

Site Tools


mr:wind_gust_spell

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:wind_gust_spell [2026/02/12 17:35] – Enhance machine-readable wiki pages with comprehensive documentation mikemr:wind_gust_spell [2026/02/12 17:36] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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:** [[mr:spell_system|Spell System]]
 +  * **Category:** Utility Spells
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/spells/WindGust.java|WindGust.java]] - Main spell implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/spells/Spell.java|Spell.java]] - Base class for all spells
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="WindGust_Name">Wind gust</string>
 +<string name="WindGust_Info">Summons a gust of wind, that pushes the selected character away.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Properties =====
 +<code java>
 +// 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
 +</code>
 +
 +===== 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 [[mr:spell_class|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 =====
 +  * [[mr:spell_system|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