User Tools

Site Tools


mr:potion_of_might_item

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 Assistantmr: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:images:potion_of_might_item.png|Potion of Might }}
 +
 +===== Java Classes =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfMight.java|PotionOfMight.java]] - Main class implementation
 +  * Parent: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/PotionOfStrength.java|PotionOfStrength.java]] - Extends this class
 +  * Related: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java|Potion.java]] - Base potion class
 +
 +===== JSON Configuration =====
 +This entity is implemented in Java, no JSON configuration exists
 +
 +===== String Resources (All Languages) =====
 +  * English: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L2215-L2218|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply]]
 +  * Russian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L1608-L1611|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (рус.)]]
 +  * Spanish: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-es/strings_all.xml#L1545-L1548|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (esp.)]]
 +  * Portuguese: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pt-rBR/strings_all.xml#L1508-L1511|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (port.)]]
 +  * Chinese (Simplified): [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-zh-rCN/strings_all.xml#L1530-L1533|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (简体中.)]]
 +  * Chinese (Traditional): [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-zh-rTW/strings_all.xml#L1475-L1478|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (繁體中.)]]
 +  * Japanese: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ja/strings_all.xml#L1548-L1551|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (日本語)]]
 +  * Korean: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ko/strings_all.xml#L1412-L1415|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (한국어)]]
 +  * German: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-de/strings_all.xml#L1543-L1546|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (Deutsch)]]
 +  * French: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-fr/strings_all.xml#L1589-L1592|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (français)]]
 +  * Italian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-it/strings_all.xml#L1400-L1403|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (italiano)]]
 +  * Polish: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-pl/strings_all.xml#L1597-L1600|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (polski)]]
 +  * Ukrainian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-uk/strings_all.xml#L1504-L1507|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (укр.)]]
 +  * Turkish: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-tr/strings_all.xml#L1518-L1521|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (Türkçe)]]
 +  * Greek: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-el/strings_all.xml#L1590-L1593|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (Ελληνικά)]]
 +  * Indonesian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-in/strings_all.xml#L1496-L1499|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (Indonesia)]]
 +  * Malay: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ms/strings_all.xml#L1414-L1417|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (Melayu)]]
 +  * Hungarian: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-hu/strings_all.xml#L1430-L1433|PotionOfMight_Name, PotionOfMight_Info, PotionOfMight_Apply, PotionOfMight_StaApply (magyar)]]
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Implementation Details =====
 +  * **Type:** item (potion)
 +  * **Package:** com.watabou.pixeldungeon.items.potions
 +  * **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, this)`
 +    - Shows status: "+1 str, +5 ht"
 +    - Displays: "Newfound strength surges through your body."
 +  * **Badge:** Triggers Badges.validateStrengthAttained(hero)
 +
 +===== Usage in Code =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java#L391|ItemFactory.java]] - Registered item class
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/blobs/WaterOfTransmutation.java#L200|WaterOfTransmutation.java]] - Can be created from transmutation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/levels/painters/ShopPainter.java#L126|ShopPainter.java]] - Can appear in shops
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/npc/AzuterronNPC.java#L67|AzuterronNPC.java]] - Exchange item (HeartOfDarkness → PotionOfMight)
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java#L58|Potion.java]] - Listed in potion array
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/potions/Potion.java#L175|Potion.java]] - Identified as positive potion
 +
 +===== Related mr Entities =====
 +  * [[mr:potion_of_strength_item|potion_of_strength_item]] - Parent potion class
 +  * [[mr:heart_of_darkness_item|heart_of_darkness_item]] - Can be exchanged for PotionOfMight
 +  * [[mr:water_of_transmutation|water_of_transmutation]] - Can create PotionOfMight
 +
 +{{tag> mr rpd items potions buffs strength}}
mr/potion_of_might_item.txt · Last modified: by 127.0.0.1