Cleanup and adds configuration for crashguard (#240)
This commit is contained in:
parent
55ae0f8778
commit
7dbfa086bc
39 changed files with 1248 additions and 97 deletions
|
|
@ -82,7 +82,7 @@ namespace Server.Misc
|
|||
|
||||
var points = (int)(from.Skills.Focus.Value * 0.1);
|
||||
|
||||
if (@from is BaseCreature creature && creature.IsParagon || from is Leviathan)
|
||||
if (from is BaseCreature creature && creature.IsParagon || from is Leviathan)
|
||||
points += 40;
|
||||
|
||||
var cappedPoints = AosAttributes.GetValue(from, AosAttribute.RegenStam);
|
||||
|
|
@ -130,7 +130,7 @@ namespace Server.Misc
|
|||
|
||||
var totalPoints = focusPoints + medPoints + (from.Meditating ? medPoints > 13.0 ? 13.0 : medPoints : 0.0);
|
||||
|
||||
if (@from is BaseCreature creature && creature.IsParagon || from is Leviathan)
|
||||
if (from is BaseCreature creature && creature.IsParagon || from is Leviathan)
|
||||
totalPoints += 40;
|
||||
|
||||
var cappedPoints = AosAttributes.GetValue(from, AosAttribute.RegenMana);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue