User Tools

Site Tools


mr:body_armor_buff

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:body_armor_buff [2026/04/05 22:33] – Wiki maintenance: improve mr: namespace pages, fix string resource links, add missing tags Qwen Assistantmr:body_armor_buff [2026/04/05 22:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Body Armor Buff - Code References ======
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/actors/buffs/CustomBuff.java|CustomBuff.java]] - Base class for Lua-defined buffs
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/buffs/Buff.java|Buff.java]] - Base buff class
 +
 +===== JSON Configuration =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/effects/body_armor.json|body_armor.json]] - Effect configuration for particle effects
 +
 +===== String Resources =====
 +<code xml>
 +<string name="BodyArmorBuff_Name">Body Armor</string>
 +<string name="BodyArmorBuff_Info">Armor is increased at the cost of movement speed.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/BodyArmor.lua|BodyArmor.lua]]
 +
 +===== Related mr Entities =====
 +  * [[mr:body_armor_spell|Body Armor (Spell)]] - Spell that applies this buff
 +
 +===== Implementation Details =====
 +  * **Type:** buff (Lua-defined custom buff)
 +  * **Base Class:** CustomBuff (for Lua-defined buffs)
 +  * **Applied By:** BodyArmor spell
 +  * **Duration:** 15 + 10 * caster:skillLevel() (from spell implementation)
 +  * **Effect:** Increases armor at the cost of movement speed
 +  * **JSON Config:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/effects/body_armor.json|body_armor.json]] - Effect particle configuration
 +  * **Lua Script:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/buffs/BodyArmor.lua|BodyArmor.lua]] - Buff implementation
 +
 +{{tag> mr rpd buffs combat lua_defined}}
  
mr/body_armor_buff.txt · Last modified: by 127.0.0.1