mr:scroll_of_challenge_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:scroll_of_challenge_item [2025/12/25 18:23] – auto lint fix Mikhael | mr:scroll_of_challenge_item [2026/03/11 05:16] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Scroll Of Challenge - Code References ====== | ||
| + | |||
| + | {{mr: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * **Main Class**: [[https:// | ||
| + | * **Package**: | ||
| + | * **Parent Class**: [[https:// | ||
| + | * **Registration**: | ||
| + | |||
| + | ===== Java Class Content ===== | ||
| + | <code java> | ||
| + | package com.watabou.pixeldungeon.items.scrolls; | ||
| + | |||
| + | import com.watabou.pixeldungeon.actors.Char; | ||
| + | import com.watabou.pixeldungeon.actors.mobs.Mob; | ||
| + | import com.watabou.pixeldungeon.items.Item; | ||
| + | import com.watabou.pixeldungeon.levels.Level; | ||
| + | import com.watabou.pixeldungeon.sprites.ItemSprite; | ||
| + | import com.watabou.pixeldungeon.sprites.ItemSpriteSheet; | ||
| + | import com.watabou.pixeldungeon.utils.GLog; | ||
| + | |||
| + | public class ScrollOfChallenge extends Scroll { | ||
| + | // Calls all visible enemies to attack the hero | ||
| + | // Creates a challenging roar effect | ||
| + | // Dispels invisibility | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Key Properties from Code ===== | ||
| + | * **Type**: Scroll (single-use consumable) | ||
| + | * **Effect**: Calls all visible enemies to attack the hero | ||
| + | * **Area of Effect**: All visible enemies on current level | ||
| + | * **Side Effect**: Dispels hero's invisibility | ||
| + | * **Usage**: Read to activate effect | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented entirely in Java, no Lua script exists. | ||
| + | |||
| + | ===== Sprite References ===== | ||
| + | * **Sprite Sheet**: [[https:// | ||
| + | * **Wiki Image**: {{rpd: | ||
| + | |||
| + | ===== Game Mechanics ===== | ||
| + | * **Area of Effect**: Affects all visible enemies on the current level | ||
| + | * **Instant Aggro**: Makes all enemies immediately target the hero | ||
| + | * **Call to Battle**: Enemies will be beckoned to the hero's position | ||
| + | * **Invisibility Dispels**: Dispels invisibility from the hero | ||
| + | * **Sensory Effect**: Creates a visual effect and emits a challenging roar | ||
| + | * **Boss Immunity**: Cannot challenge boss enemies | ||
| + | |||
| + | ===== Strategy ===== | ||
| + | * **Area Clearing**: Excellent for clearing out large areas when in a defensible position | ||
| + | * **Preparation**: | ||
| + | * **Escape Planning**: Should have a plan for escaping if situation becomes overwhelming | ||
| + | * **Advantage Positioning**: | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[en: | ||
| + | * [[ru: | ||
| + | |||
| + | {{tag> rpd items scrolls challenge aggro enemy_control}} | ||
