User Tools

Site Tools


mr:miasma_gas_buff

Miasma Gas - Code References

Java Classes

  • MiasmaGas.java - Blob implementation for miasma gas cloud, applies Poison, Weakness, and Vertigo to characters standing in it
  • BuffFactory.java - Defines POISON, WEAKNESS, VERTIGO buff constants

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

  • MiasmaGas_Info - Description shown when standing in miasma gas

<string name="MiasmaGas_Info">You are affected by miasma! Poison, weakness, and vertigo afflict you.</string>

Lua Scripts

  • RPD.Blobs.MiasmaGas - Lua binding for the MiasmaGas blob class, accessible via `RPD.placeBlob(RPD.Blobs.MiasmaGas, cell, volume)`
  • Used in: various scripts that create gas effects

Sources & Effects

Sources that create Miasma Gas:

  • Various traps and enemy abilities

Mechanics:

  • Extends `Blob` class
  • In `evolve()`: applies three buffs to characters standing in gas:
    • Poison - Damage over time (duration: `CharUtils.durationFactor(ch) * 3f`)
    • Weakness - Reduced damage (duration: `CharUtils.durationFactor(ch) * 40f`)
    • Vertigo - Disorientation (duration: `CharUtils.durationFactor(ch) * 10f`)
  • Only affects characters without “ToxicGasâ€� or “GasesImmunityâ€� immunities
  • Visual effect: `Speck.MIASMA` particles
  • Interacts with ParalyticGas: when both gases overlap, the smaller volume is cancelled from both
mr/miasma_gas_buff.txt · Last modified: by 127.0.0.1