mr:boomerang_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:boomerang_item [2026/08/28 14:39] – wiki maintenance: fix 5 random pages compliance issues Bot | mr:boomerang_item [2026/08/28 14:48] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Boomerang Item ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * Item factory: [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | * Starting items: [[https:// | ||
| + | * Starting items (debug): [[https:// | ||
| + | * Treasury: [[https:// | ||
| + | * Spiders Treasury: [[https:// | ||
| + | * Note: No dedicated `MissileWeapons.json` exists; Boomerang damage is defined in the Java class (MIN=1, MAX=4 at base, +1/+2 per upgrade) | ||
| + | |||
| + | ===== String Resources (All Languages) ===== | ||
| + | * English: [[https:// | ||
| + | * Spanish: [[https:// | ||
| + | * Portuguese (Brazilian): | ||
| + | * Russian: [[https:// | ||
| + | * Chinese (Simplified): | ||
| + | * Chinese (Traditional): | ||
| + | * French: [[https:// | ||
| + | * German: [[https:// | ||
| + | * Italian: [[https:// | ||
| + | * Japanese: [[https:// | ||
| + | * Korean: [[https:// | ||
| + | * Polish: [[https:// | ||
| + | * Ukrainian: [[https:// | ||
| + | * Hungarian: [[https:// | ||
| + | * Turkish: [[https:// | ||
| + | * Greek: [[https:// | ||
| + | * Indonesian: [[https:// | ||
| + | * Malay: [[https:// | ||
| + | * Dutch (partial): [[https:// | ||
| + | * Vietnamese (partial): [[https:// | ||
| + | * Arabic (partial): [[https:// | ||
| + | * Hebrew: not present in `values-he/ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Key Methods ===== | ||
| + | * `attackProc(Char attacker, Char defender, int damage)` - On hit, calls `circleBack()` if the boomerang is the hero's ranged weapon | ||
| + | * `miss(int cell, Char thrower, Char enemy)` - On miss, also calls `circleBack()` | ||
| + | * `circleBack(int from, Char owner)` - Animates the boomerang back to the owner via `MissileSprite`, | ||
| + | * `cast(Char user, int dst)` - Records `throwSlot` so `circleBack` can restore the original slot | ||
| + | * `upgrade()` / `upgrade(boolean enchant)` / `degrade()` - Each upgrade adds +1 MIN, +2 MAX; `degrade()` subtracts 1 MIN and 2 MAX | ||
| + | * `isFliesStraight()` - Returns false (boomerang returns in an arc) | ||
| + | * `isFliesFastRotating()` - Returns true | ||
| + | * `isUpgradable()` - Returns true | ||
| + | * `enchant(Enchantment ench)` - Re-rolls if the chosen enchant is `Piercing` or `Swing` (to prevent infinite loops) | ||
| + | * `time2equipBase()` - Returns 0 | ||
| + | * `price()` - Returns 100 | ||
| + | |||
| + | ===== Related Entities ===== | ||
| + | * [[en: | ||
| + | * [[en: | ||
| + | |||
| + | {{tag> mr items reference}} | ||
mr/boomerang_item.txt · Last modified: by 127.0.0.1
