Draft:Two Worlds:Heal: Difference between revisions
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 | ||
| | |firsteffect= 100 HP | ||
|firstduration= | |firstduration= | ||
|firstmana= | |firstmana= 45 | ||
| | |secondeffect= 200 HP | ||
|secondduration= | |secondduration= | ||
|secondmana= | |secondmana= 45 | ||
| | |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 cardsspell_booster_level
= Level increased by Spell Boostersair_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.