mr:poison_buff
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:poison_buff [2026/02/26 00:41] – Wiki maintenance: Fix broken links and improve multi-language consistency Qwen Assistant | mr:poison_buff [2026/02/26 00:42] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Poison Buff - Code References ====== | ||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Class Hierarchy**: | ||
| + | * **Icon**: `BuffIndicator.POISON` (icon ID 4) | ||
| + | * **Damage Formula**: `target.damage((int)(timeLeft / 3) + 1, this)` - deals damage based on remaining duration | ||
| + | * **Duration Factor**: Modified by `RingOfElements.Resistance` buff | ||
| + | * **Visual Effect**: `PoisonParticle.SPLASH` burst effect (5 particles) | ||
| + | * **Status Display**: Shows `Char_StaPoisoned` status text on affected character | ||
| + | * **Hero Death**: Triggers `Badges.validateDeathFromPoison()` and displays death message | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <!-- English strings (values/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | |||
| + | <!-- Russian strings (values-ru/ | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Usage in Code ===== | ||
| + | * Used in PoisonTrap.java to apply poison to characters | ||
| + | * Used in PotionOfHealing.java to remove poison buff | ||
| + | * Used in RingOfElements.java for elemental resistance | ||
| + | * Used in various mobs (Scorpio, SpiderServant, | ||
| + | * Used in FrozenCarpaccio.java and MysteryMeat.java to remove poison | ||
| + | * Used in BuffFactory.java to register the buff | ||
| + | * Used in various enchantments and plant effects | ||
| + | * Damage calculation: | ||
| + | * Duration is affected by Ring of Elements resistance | ||
mr/poison_buff.txt · Last modified: by 127.0.0.1
