mr:dewdrop_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:dewdrop_item [2026/03/06 20:13] – Wiki maintenance: Fix formatting issues on 5 random pages Qwen Assistant | mr:dewdrop_item [2026/03/06 20:16] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Dewdrop Item - Code References ====== | ||
| + | |||
| + | {{ mr: | ||
| + | |||
| + | ===== Overview ===== | ||
| + | The **Dewdrop** is a consumable item in Remixed Dungeon that restores HP or can be collected by Dew Vial. | ||
| + | |||
| + | ===== Java Implementation ===== | ||
| + | * **Class**: [[https:// | ||
| + | * **Package**: | ||
| + | * **Extends**: | ||
| + | * **Sprite**: ItemSpriteSheet.DEWDROP | ||
| + | |||
| + | ===== Key Methods ===== | ||
| + | * **doPickUp(Char hero)**: Handles dewdrop collection | ||
| + | - If hero has DewVial and it's not full: collects dew into vial | ||
| + | - If hero HP < max HP: heals hero for (1 + (depth - 1) / 5) HP per dewdrop | ||
| + | - Plays sound: Assets.SND_DEWDROP | ||
| + | * **burn(int cell)**: Returns null (dewdrop cannot burn) | ||
| + | * **announcePickUp()**: | ||
| + | |||
| + | ===== Properties ===== | ||
| + | * **stackable**: | ||
| + | * **image**: ItemSpriteSheet.DEWDROP | ||
| + | * **Healing Formula**: min(hero.maxHP - hero.currentHP, | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | * **English**: | ||
| + | - Name: '' | ||
| + | - Description: | ||
| + | * **Russian**: | ||
| + | - Name: '' | ||
| + | - Description: | ||
| + | |||
| + | ===== Related Items ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | ===== Code References ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
mr/dewdrop_item.txt · Last modified: by 127.0.0.1
