====== Golden Sword Item - Code References ====== {{ rpd:images:golden_sword_item.png|Golden Sword }} ===== Entity Kind ===== GoldenSword ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/GoldenSword.java|GoldenSword.java]] ===== 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 ===== golden sword 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. masculine ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Related mr Entities ===== * [[mr:melee_weapon_item|Melee Weapon (Item)]] * [[mr:gold_item|Gold (Item)]]