User Tools

Site Tools


en:rpd:sacrificial_sword_item

Sacrificial Sword

Sacrificial Sword

Description

At first glance this aged bronze sword, covered with patina stains, looks absolutely useless. But some sort of old, archaic powers sleeps inside. Those powers can turn almost any creature to will-less slave. Just need find a right way to wake them…

Basic Stats

  • Damage: 2 (base damage)
  • Speed: 1.0x (normal attack speed)
  • Accuracy: 1.0x (normal accuracy)
  • Required Strength: 13 (base, scales with upgrades)
  • Durability: Normal weapon durability
  • Enchantment: Cannot be enchanted
  • Sprite: Swords sprite sheet, image index 4
  • Upgradable: Yes
  • Attack Animation: Sword swing animation

Special Properties

When attacking an enemy with the Sacrificial Sword, there is a chance to convert the enemy into a pet that fights for the player:

  • Conversion Chance Formula:
    • Base chance = (0.25 + (hero level × 4 + sword level²) × 0.01) × class bonus / armorPenalty
    • Armor Penalty = target armor's DR / 8
    • Class Bonuses: Necromancer (×3.0), Shaman (×2.0), Warden (×1.5), others (×1.0)
    • Additional modifiers: - (enemy defense skill × 0.01 × enemy speed) - (enemy HP × 0.01)

Restrictions

  • Cannot convert bosses
  • Cannot convert NPCs
  • Only works on mobs
  • Lower chance with higher enemy defense skill and speed
  • Lower chance against enemies with higher HP
  • Only triggers on direct hits (not on missed attacks)

Mechanics

  • The sword emits a red glow (0xFF4466) that pulses with a period of max(0.1, 0.1/baseChance) which increases as the conversion chance increases
  • The glow pulses more rapidly as the conversion chance increases
  • The glow period is inversely proportional to the base conversion chance
  • Successfully converting an enemy triggers the pet creation mechanics
  • Does not work on enemies that are already pets

Strategy

  • Wear no armor or light armor to maximize conversion chances (armor DR reduces success rate)
  • Hero subclasses like Shaman or Necromancer have significantly higher conversion rates
  • Try to weaken enemies before attempting to convert them (lower HP increases chances)
  • Avoid using against fast enemies with high defense
  • The pulsing glow can indicate the current conversion chance visually
  • Consider using debuffs to reduce enemy defense before attempting conversion

Code References

String Resource References

  • Pets - Information about pets created by this weapon
  • Hero Subclasses - How different subclasses affect the conversion chance
  • Armor - How armor damage reduction affects conversion chance
  • Weapons - Other weapons in the game
en/rpd/sacrificial_sword_item.txt · Last modified: by 127.0.0.1