fix: Fixes spell durations for older expansions (#1119)
This commit is contained in:
parent
d6d02de296
commit
56c97ca84a
8 changed files with 68 additions and 59 deletions
|
|
@ -353,9 +353,8 @@ namespace Server.Spells
|
|||
}
|
||||
|
||||
public static TimeSpan GetDuration(Mobile caster, Mobile target) =>
|
||||
Core.AOS
|
||||
? TimeSpan.FromSeconds(6 * caster.Skills.EvalInt.Fixed / 50 + 1)
|
||||
: TimeSpan.FromSeconds(caster.Skills.Magery.Value * 1.2);
|
||||
// TODO: Is this accurate for Curse? Sources say it is magery. Should confirm at least for newest era.
|
||||
TimeSpan.FromSeconds(6 * (Core.AOS ? caster.Skills.EvalInt.Value : caster.Skills.Magery.Value) / 5.0);
|
||||
|
||||
public static double GetOffsetScalar(Mobile caster, Mobile target, bool curse)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue