====== Vertigo Buff - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Vertigo.java|Vertigo.java]] ===== JSON Configuration ===== This entity is implemented in Java, no JSON configuration exists ===== String Resources ===== Vertigo The lightheaded feeling makes it harder to walk straight! Everything is spinning around you! ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Code Implementation Details ===== This buff has the following properties based on the Java implementation: * **Duration**: 10f (DURATION constant) * **Duration Calculation**: Affected by Resistance (durationFactor() method) * **Visual Effect**: Shows "Dizzy" status message when attached (attachVisual method) * **Icon**: BuffIndicator.VERTIGO (icon ID 29) * **Buff Type**: Extends FlavourBuff * **Resistance**: Can be reduced by Ring of Elements Resistance * **Affected Classes**: Used by various game elements including: - Spider Elite mobs (20% chance to apply when attacking) - Kusarigama weapon (applies 3-turn duration) - Dreamsweed plant (applies 20-turn duration) - Fadeleaf plant (applies 20-turn duration) - Horror weapon enchantment (applies duration based on defender) - Wand of Amok (applies duration based on victim) - Scroll of Curse (can curse items to apply vertigo) - Enslaved Soul mob (resistance type) - Lich subclass (has immunity) - Various other game elements