User Tools

Site Tools


mr:golden_sword_item

Golden Sword Item - Code References

Golden Sword

Entity Kind

GoldenSword

Java Classes

Class Details

  • Parent Class: MeleeWeapon
  • Package: com.nyrds.pixeldungeon.items.common
  • Image: items/swords.png (index 5)
  • Enchantable: No (enchatable = false)
  • Animation Class: SWORD_ATTACK
  • Base Damage: 3
  • Attack Speed: 1.1f
  • Damage Factor: 0.8f

Special Properties

  • Glowing Effect: Yes (yellow glow, color 0xFFFF66, period 1)
  • Gold Drop Chance: 10% on attack
  • Gold Drop Amount: price() / 10 (max 500 gold)

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

<string name="GoldenSword_Name">golden sword</string>
<string name="GoldenSword_Info">Usually, weapons made out of such soft metal as gold won\'t be considered more than decoration. Despite that, this blade seems to be able to cut through things pretty well.</string>
<string name="GoldenSword_Gender">masculine</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

mr/golden_sword_item.txt · Last modified: by 127.0.0.1