Draft:Two Worlds:Heal: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
Fandom Two Worlds>Phicr
(Make formula usage examples look like the ones in the Mana Cost page, for a unified look)
Fandom Two Worlds>Phicr
(Change *card to the more generic *effect, which is accurate to both the new and old magic templates + update values to match the first level)
Line 4: Line 4:
|image=[[File:Magic_Heal.jpg]]
|image=[[File:Magic_Heal.jpg]]
|magiccircle=1
|magiccircle=1
|firstcard= 1500 HP
|firsteffect= 100 HP
|firstduration=
|firstduration=
|firstmana= 120
|firstmana= 45
|secondcard= 3000 HP
|secondeffect= 200 HP
|secondduration=
|secondduration=
|secondmana= 125
|secondmana= 45
|additionalcard=+ 1500 HP
|additionaleffect=See [[Heal#HP Restoration]]
|additionalduration=
|additionalduration=
|additionalmana=+ 40/7 ≈ 5.714
|additionalmana=+40/7 ≈ 5.714
}}</onlyinclude>Heal is an air [[magic]] spell that restores HP.
}}</onlyinclude>Heal is an air [[magic]] spell that restores HP.
==Formulas==
==Formulas==

Revision as of 18:27, January 20, 2021

Template:ItemInfoBoxHeal is an air magic spell that restores HP.

Formulas

HP Restoration

Healling power is calculated using the formula:<syntaxhighlight lang="julia"> (cards * spell_booster_level * 100) + (cards * air_magic_level * 100) </syntaxhighlight>

  • cards = Number of Heal cards
  • spell_booster_level = Level increased by Spell Boosters
  • air_magic_level = Level of Air Magic

Examples:

  • 3 cards, 0 spell boosters, air school level 1:<syntaxhighlight lang="julia">

0 + (1 * 3 * 100) HP = 300 HP </syntaxhighlight>

  • 3 cards, 0 spell boosters, air school level 15:<syntaxhighlight lang="julia">

0 + (15 * 3 * 100) HP = 4500 HP </syntaxhighlight>

  • 3 cards, 2 spell boosters, air school level 10:<syntaxhighlight lang="julia">

(3 * 3 * 100) + (15 * 3 * 100) HP = 900 + 4500 HP = 5400 HP </syntaxhighlight>

Mana Cost

Mana consumption is calculated by the formula:<syntaxhighlight lang="julia"> floor(40 + 40/7 + max(0, cards + air_magic_level + spell_booster_level - 3) * 40/7) </syntaxhighlight>

For examples and more information, see the Mana Cost page.