@laravelPWA PlanesOfTlessa
Planes of Tlessa

How healing works

When players enter a battle with healing spells equipped, their various cast attacks (Attack and Cast, Cast and Attack, and Cast) will now only heal if they need to be healed. If healing is not required, the energy will be stored, and 5% of your Charisma will be dealt as holy damage unless you are a Prophet or Cleric.

For Prophets, this increases to 25% of your Charisma, and for Clerics, it increases to 50%.

During the monster attack phase, you will heal using your reserved healing amount, assuming you have any. If you first heal when you attack, a reserve is created if you don’t need to be healed or only need minor healing. This is communicated through battle messages.

When the enemy attacks, uses spells, or enchantments that cause damage, you will heal using your reserve if any remains. If not, you will not heal, and you may face potential death, leading to the need for resurrection.

If a player has a damage spell equipped and uses Cast as their attack, their damage spells will activate. Regardless of the outcome, the healing spell will also activate, healing you if needed or creating a reserve for the enemy's phase when it is likely to be needed.

Your healing reserve can be used on the first turn when you attack because an enemy might ambush you during the setup phase. This can reduce your health and cause your healing spells to heal you immediately, leaving no reserve.

How Resurrection Works

Resurrection requires one or two healing spells. The resurrection chances on these spells stack, so two spells with a 15% chance each will give you a 30% chance to resurrect.

If you are a Prophet or Cleric, your healing spells can provide a maximum of a 100% chance to resurrect, meaning you will automatically resurrect with 1 health when killed.

For non-Prophets or non-Clerics, if you are a Vampire, the maximum chance is reduced to 95% with two 50% resurrection chance healing spells. For other classes, it is further reduced to 75%.

If you are in Purgatory or Twisted Memories and a Cleric or Prophet with two healing spells equipped, you will have a maximum chance of 65% to resurrect, even if it would otherwise be 100%.

If you are not a Cleric or Prophet and are in Purgatory, you will have a 45% chance to resurrect.

In summary:

- Prophets and Clerics:

  - 100% resurrection chance with two 50% chance healing spells outside Purgatory and Twisted Memories.

  - 65% resurrection chance inside Purgatory or Twisted Memories.

- Vampires:

  - 95% resurrection chance outside Purgatory and Twisted Memories with two 50% chance healing spells.

  - 45% resurrection chance inside Purgatory or Twisted Memories.

- Other Classes:

  - 75% resurrection chance outside Purgatory and Twisted Memories with two 50% chance healing spells.

  - 45% resurrection chance inside Purgatory or Twisted Memories.

By default, even with no spells equipped, Clerics and Prophets have a 5% chance to resurrect on death, regardless of the plane.

How Life Stealing Works

This section only applies to vampires.

When you attack, your life-stealing enchantments, if equipped, will activate.

During the enemy phase, a vampire can leech a percentage of the enemy's health to heal themselves. This will automatically activate, dealing 5% of your durability in damage while restoring your own health.

How this works in pvp

When two players attack each other, instead of during each attack step of the attacking player, the defender will only heal after the attacking player has finished their phase be it spells or life stealing or both.

To make it fair, only the healing aspects of spells and life leach will fire, ressurection will not work in pvp.