User Tools

Site Tools


mr:health_dart_item

Health Dart Item - Code References

Java Classes

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

<string name="HealthDart_Name">Healing Dart</string>
<string name="HealthDart_Gender">masculine</string>
<string name="HealthDart_Info">This dart\'s tip is covered in healing potion.</string>

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,0.1f)
  • Default Quantity: Created with 1 dart by default, but random() generates 2-4 darts
  • Image: Uses image ID 14
  • Extends: Dart class, which extends MissileWeapon class
mr/health_dart_item.txt · Last modified: by 127.0.0.1