mr:scroll_of_challenge_item
Table of Contents
Scroll Of Challenge - Code References
Java Classes
- Main Class: ScrollOfChallenge.java
- Package: com.watabou.pixeldungeon.items.scrolls
- Parent Class: Scroll
- Registration: Registered in ItemFactory.java
Java Class Content
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
<string name="ScrollOfChallenge_Name">Scroll of Challenge</string> <string name="ScrollOfChallenge_Info">When read, this scroll creates a large ring of fire around you. All nearby enemies will be drawn to the center of the ring and temporarily immobilized there.</string> <string name="ScrollOfChallenge_Boss">You can't challenge the boss.</string> <string name="ScrollOfChallenge_Mob">You challenge the %s to a duel!</string> <string name="ScrollOfChallenge_Desc">When read, this scroll creates a large ring of fire around you. All nearby enemies will be drawn to the center of the ring and temporarily immobilized there.</string> <string name="ScrollOfChallenge_Uses">Uses: %d</string> <string name="ScrollOfChallenge_Gender">masculine</string>
Lua Scripts
This entity is implemented entirely in Java, no Lua script exists.
Sprite References
- Sprite Sheet: items/scrolls.png
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: Best used after preparing defenses or healing to full health
- Escape Planning: Should have a plan for escaping if situation becomes overwhelming
- Advantage Positioning: Use when enemies are in disadvantageous positions (e.g., in corridors)
Related mr Entities
- Scroll (Item) - Base scroll class
- Scrolls System - General scroll mechanics
- Scroll of Teleportation - Another escape utility scroll
- Scroll of Amok - Another scroll affecting enemy behavior
- English Page - Full English documentation
- Russian Page - Russian documentation
mr/scroll_of_challenge_item.txt · Last modified: by 127.0.0.1


