fix: Fixes spell mechanics and misc bugs (#1118)
- [X] Fixes NPE from account tags. - [X] Fixes bad skill check due to missing cast to double. - [X] Fixes water elemental duration. - [X] Standardizes spell summon duration by expansion.
This commit is contained in:
parent
2ab0a0e063
commit
d6d02de296
24 changed files with 74 additions and 66 deletions
|
|
@ -1881,7 +1881,7 @@ namespace Server.Mobiles
|
|||
if (_summoned)
|
||||
{
|
||||
SummonEnd = reader.ReadDeltaTime();
|
||||
new UnsummonTimer(m_ControlMaster, this, SummonEnd - Core.Now).Start();
|
||||
new UnsummonTimer(this, SummonEnd - Core.Now).Start();
|
||||
}
|
||||
|
||||
ControlSlots = reader.ReadInt();
|
||||
|
|
@ -3443,7 +3443,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
new UnsummonTimer(caster, creature, duration).Start();
|
||||
new UnsummonTimer(creature, duration).Start();
|
||||
creature.SummonEnd = Core.Now + duration;
|
||||
|
||||
creature.MoveToWorld(p, caster.Map);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue