mr:gases_immunity_buff
Table of Contents
Gases Immunity Buff - Code References
Java Classes
This entity is primarily implemented in Lua. Java reference:
- BuffFactory.java#L77 - Defines constant
GASES_IMMUNITY = “GasesImmunity” - Buff system uses Lua scripting for behavior definition
JSON Configuration
- spritesDesc/gases_immunity.json - Sprite configuration (if exists)
- Buff configuration is handled via Lua script
String Resources
- English:
GasImmuneBuff_Name= “Gas Immunity” - English:
GasImmuneBuff_Info= “Immune to all gases.” - Note: Actual display name and description are defined by these string resources
Lua Scripts
-
- Immunities: Provides immunity to
ToxicGas,Paralysis, andVertigobuffs - Icon: Uses icon index 25
- Name Key:
GasImmuneBuff_Name - Info Key:
GasImmuneBuff_Info - Implementation: Uses
immunities()function to return gas buff names
Additional References
- Base Buff System: Buff.java
- Buff Factory: BuffFactory.java - Registers and creates buffs
- Lua Buff Library: scripts/lib/buff.lua - Base buff functionality for Lua scripts
Entity Kind
- getEntityKind(): Returns “GasesImmunity” from Lua script configuration
- Buff Category: Positive buff / Immunity buff
- Duration: Temporary buff with timed duration
mr/gases_immunity_buff.txt · Last modified: by 127.0.0.1

