fix: Added comment for magery circle formula (#1095)
This commit is contained in:
parent
a37b8b285c
commit
f4cbe82d17
1 changed files with 7 additions and 2 deletions
|
|
@ -7,9 +7,14 @@ namespace Server.Spells
|
||||||
{
|
{
|
||||||
private static readonly int[] _manaTable = { 4, 6, 9, 11, 14, 20, 40, 50 };
|
private static readonly int[] _manaTable = { 4, 6, 9, 11, 14, 20, 40, 50 };
|
||||||
|
|
||||||
// Starts at Circle -2 to account for scrolls
|
/*
|
||||||
|
* Starts at Circle -2 to account for scrolls
|
||||||
|
* Mana requirements formula: (14 * (circle - 1)) + 2 = 50% probability
|
||||||
|
* Add or subtract 20 for max or min limits
|
||||||
|
*/
|
||||||
|
|
||||||
private static readonly double[] _requiredSkill = Core.ML ?
|
private static readonly double[] _requiredSkill = Core.ML ?
|
||||||
new[] { -46.0, -32.0, 0.0, -4.0, 10.0, 24.0, 38.0, 52.0, 66.0, 80.0 } :
|
new[] { -46.0, -32.0, -18.0, -4.0, 10.0, 24.0, 38.0, 52.0, 66.0, 80.0 } :
|
||||||
new[] { -50.0, -30.0, 0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0 };
|
new[] { -50.0, -30.0, 0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0 };
|
||||||
|
|
||||||
public MagerySpell(Mobile caster, Item scroll, SpellInfo info) : base(caster, scroll, info)
|
public MagerySpell(Mobile caster, Item scroll, SpellInfo info) : base(caster, scroll, info)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue