mr:potion_of_might_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:potion_of_might_item [2026/03/26 23:28] – Wiki maintenance: Fix broken links and enhance mr: namespace pages Qwen Assistant | mr:potion_of_might_item [2026/03/26 23:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== PotionOfMight Item - Code References ====== | ||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * Parent: [[https:// | ||
| + | * Related: [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources (All Languages) ===== | ||
| + | * English: [[https:// | ||
| + | * Russian: [[https:// | ||
| + | * Spanish: [[https:// | ||
| + | * Portuguese: [[https:// | ||
| + | * Chinese (Simplified): | ||
| + | * Chinese (Traditional): | ||
| + | * Japanese: [[https:// | ||
| + | * Korean: [[https:// | ||
| + | * German: [[https:// | ||
| + | * French: [[https:// | ||
| + | * Italian: [[https:// | ||
| + | * Polish: [[https:// | ||
| + | * Ukrainian: [[https:// | ||
| + | * Turkish: [[https:// | ||
| + | * Greek: [[https:// | ||
| + | * Indonesian: [[https:// | ||
| + | * Malay: [[https:// | ||
| + | * Hungarian: [[https:// | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Type:** item (potion) | ||
| + | * **Package: | ||
| + | * **Base Class:** PotionOfStrength | ||
| + | * **Base Price:** 200 gold | ||
| + | * **Effect:** Permanently increases strength by +1 and health by +5 | ||
| + | |||
| + | ===== Behavior ===== | ||
| + | * **On Apply:** | ||
| + | - Increases hero STR by +1: `hero.STR(hero.STR() + 1)` | ||
| + | - Increases hero max HP by +5: `hero.ht(hero.ht() + 5)` | ||
| + | - Heals hero by 5: `hero.heal(5, | ||
| + | - Shows status: "+1 str, +5 ht" | ||
| + | - Displays: " | ||
| + | * **Badge:** Triggers Badges.validateStrengthAttained(hero) | ||
| + | |||
| + | ===== Usage in Code ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | {{tag> mr rpd items potions buffs strength}} | ||
mr/potion_of_might_item.txt · Last modified: by 127.0.0.1
