mr:acidic_mob
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:acidic_mob [2026/02/16 18:57] – Wiki maintenance: Fix tag formatting and improve mr:acidic_mob documentation Qwen Assistant | mr:acidic_mob [2026/03/21 06:52] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Acidic Mob - Code References ====== | ||
| + | ===== Entity Name ===== | ||
| + | acidic_mob | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Class Implementation ===== | ||
| + | <code java> | ||
| + | package com.watabou.pixeldungeon.actors.mobs; | ||
| + | |||
| + | import com.watabou.pixeldungeon.actors.Char; | ||
| + | import com.watabou.utils.Random; | ||
| + | |||
| + | public class Acidic extends Scorpio { | ||
| + | |||
| + | @Override | ||
| + | public int defenseProc( Char enemy, int damage ) { | ||
| + | |||
| + | int dmg = Random.IntRange( 0, damage ); | ||
| + | if (dmg > 0) { | ||
| + | enemy.damage( dmg, this ); | ||
| + | } | ||
| + | |||
| + | return super.defenseProc( enemy, damage ); | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Special Abilities ===== | ||
| + | * **Thorn Damage**: When attacked, reflects random damage (0 to incoming damage) back to the attacker | ||
| + | * **Inherits Scorpio Abilities**: | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | English (values/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | Russian (values-ru/ | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | |||
| + | ===== Content Verification ===== | ||
| + | * Information source: Java code (Acidic.java) and string resources | ||
| + | * Last updated: 2026-03-21 based on current codebase analysis | ||
| + | * Verified against: RemixedDungeon/ | ||
| + | |||
| + | {{tag>mr mobs code_reference}} | ||
