mr:scroll_of_domination_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:scroll_of_domination_item [2026/02/26 23:48] – Wiki standards compliance fixes for 5 random pages Qwen Assistant | mr:scroll_of_domination_item [2026/02/26 23:50] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{ rpd: | ||
| + | |||
| + | ====== scroll_of_domination_item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Entity Properties ===== | ||
| + | * **getEntityKind(): | ||
| + | * **Type:** Consumable scroll | ||
| + | * **Price:** 80 gold (when identified) | ||
| + | * **Target:** Single creature in line of sight | ||
| + | * **Effect:** Converts enemy to pet/allied creature | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | The ScrollOfDomination class extends the base Scroll class and implements the doRead() method which: | ||
| + | * Shows domination spell sprite | ||
| + | * Plays dominance sound effect | ||
| + | * Dispels invisibility from reader | ||
| + | * Finds all mobs in player' | ||
| + | * Filters out bosses, pets, and NPCs | ||
| + | * Randomly selects one valid target | ||
| + | * Converts selected mob to pet using Mob.makePet() | ||
| + | * Shows flare effect on successful domination | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Related mr: Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
mr/scroll_of_domination_item.txt · Last modified: by 127.0.0.1
