Draft:Two Worlds:Heal: Difference between revisions
Jump to navigation
Jump to search
Fandom Two Worlds>Phicr (Fiddling with formatting one last time) |
Fandom Two Worlds>Phicr (Improve mana cost formula and link to the Mana Cost page for more info.) |
||
Line 12: | Line 12: | ||
|additionalcard=+ 1500 HP | |additionalcard=+ 1500 HP | ||
|additionalduration= | |additionalduration= | ||
|additionalmana=+ 5. | |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== | ||
Line 19: | Line 19: | ||
Healling power is calculated using the formula:<syntaxhighlight lang="julia"> | Healling power is calculated using the formula:<syntaxhighlight lang="julia"> | ||
(cards * spell_booster_level * 100) + | (cards * spell_booster_level * 100) + | ||
(cards * | (cards * air_magic_level * 100) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
*<code>cards</code> = Number of | *<code>cards</code> = Number of Heal cards | ||
*<code>spell_booster_level</code> = Level increased by [[Spell Booster| | *<code>spell_booster_level</code> = Level increased by [[Spell Booster|Spell Boosters]] | ||
*<code> | *<code>air_magic_level</code> = Level of [[Air Magic]] | ||
Examples: | Examples: | ||
Line 34: | Line 34: | ||
===Mana Cost=== | ===Mana Cost=== | ||
Mana consumption is calculated | 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> | </syntaxhighlight> | ||
For examples and more information, see the [[Mana Cost]] page.<br /> | |||
<br /> | |||
[[Category:Air Magic]] | [[Category:Air Magic]] |
Revision as of 16:13, 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:
0 + (1 * 3 * 100
) HP = 300 HP - 3 cards, 0 spell boosters, air school level 15:
0 + (15 * 3 * 100)
HP = 4500 HP - 3 cards, 2 spell boosters, air school level 10:
(3 * 3 * 100) + (15 * 3 * 100)
HP =900 + 4500
HP = 5400 HP
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.