User Tools

Site Tools


mr:rage_buff

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:rage_buff [2025/12/31 16:41] – Update rage_buff.txt with detailed implementation info mikemr:rage_buff [2025/12/31 16:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Rage Buff - Code References ======
  
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/RageBuff.java|RageBuff.java]]
 +
 +===== JSON Configuration =====
 +  * This buff is implemented in Java, no JSON configuration exists
 +
 +===== String Resources =====
 +<code xml>
 +<string name="CorpseDustBuff_Name">Rage</string>
 +<string name="CorpseDustBuff_Info">This character is in a state of rage, causing increased damage but reduced accuracy.</string>
 +</code>
 +
 +===== Lua Scripts =====
 +  * This buff is implemented in Java, no Lua script exists
 +
 +===== Special Properties =====
 +  * Doubles damage dealt (attackProc method returns damage * 2)
 +  * Has 10% chance per turn to damage the affected character when HP > 1/5 max HP
 +  * Extends ArtifactBuff (artifact-related buff)
 +  * Self-removes when target dies (act method checks target.isAlive())
 +  * Buff icon is BuffIndicator.BLOODLUST
 +  * Uses CorpseDust item name for display (name() method)
 +  * Prevents multiple instances on same target (attachTo method checks for existing buff)
 +
 +===== Source Code Reference =====
 +  * attackProc() method doubles all damage dealt by the affected character
 +  * act() method implements periodic self-damage when HP > ht()/5
 +  * attachTo() method prevents duplicate buffs on same target
 +  * icon() returns BuffIndicator.BLOODLUST
 +  * name() and desc() methods retrieve strings from CorpseDustBundle
mr/rage_buff.txt · Last modified: by 127.0.0.1