mr:health_dart_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:health_dart_item [2025/12/27 10:00] – Auto-fix: Apply dokuwiki linter fixes mike | mr:health_dart_item [2025/12/27 10:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Health Dart Item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Code Implementation Details ===== | ||
| + | Based on the HealthDart.java implementation: | ||
| + | * **Damage Range**: 1-3 (MIN=1, MAX=3), compared to regular dart (MIN=1, MAX=4) | ||
| + | * **Strength Required**: 8 (setSTR(8)) | ||
| + | * **Price**: 12 gold per dart (price() returns 12 * quantity()) | ||
| + | * **Special Effect**: When used to attack, it heals the target character by 10% of their max HP via PotionOfHealing.heal(defender, | ||
| + | * **Default Quantity**: Created with 1 dart by default, but random() generates 2-4 darts | ||
| + | * **Image**: Uses image ID 14 | ||
| + | * **Extends**: | ||
mr/health_dart_item.txt · Last modified: (external edit)
