User Tools

Site Tools


mr:charm_spell

Charm Spell - Code References

Java Classes

JSON Configuration

This entity is implemented in Lua, no JSON configuration exists

String Resources

<string name="CharmSpell_Name">Charm</string>
<string name="CharmSpell_Info">Everyone deserve some love, right?</string>

Lua Scripts

  • Charm.lua - Spell implementation
  • Spell affinity: Huntress
  • Targeting type: char_not_self
  • Level: 2
  • Cast time: 0
  • Spell cost: 3 mana

Implementation Details

  • Buff Type: FlavourBuff (temporary status effect)
  • Effect: Pacifies target (target.pacified = true)
  • Duration: sqrt(caster.skillLevel * caster.level) + 5 turns
  • Visual: Heart particles (Speck.HEART) emitted from target sprite
  • Sound: Assets.SND_CHARMS played on cast
  • Resistance: Affected by RingOfElements.Resistance
  • Special Interaction: Blocked by DriedRose.OneWayLoveBuff
  • Cursed Interaction: Duration doubled by DriedRose.OneWayCursedLoveBuff
mr/charm_spell.txt · Last modified: by 127.0.0.1