Table of Contents

Scroll Of Challenge - Code References

Scroll of Challenge

Java Classes

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

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

Game Mechanics

Strategy