Effects packets (#308)
- [X] Changes effect packets - [X] Updates playing sounds - [X] Updates Effects class to have more options so there are less direct calls to building the packets - [X] Changes bonding status packet
This commit is contained in:
parent
1c9439e4fd
commit
361ec4dba4
53 changed files with 958 additions and 833 deletions
|
|
@ -40,9 +40,11 @@ namespace Server.Spells.Fourth
|
|||
|
||||
SpellHelper.GetSurfaceTop(ref p);
|
||||
|
||||
var loc = new Point3D(p);
|
||||
|
||||
if (!Core.AOS)
|
||||
{
|
||||
Effects.PlaySound(p, Caster.Map, 0x299);
|
||||
Effects.PlaySound(loc, Caster.Map, 0x299);
|
||||
}
|
||||
|
||||
if (Caster.Map == null)
|
||||
|
|
@ -51,7 +53,7 @@ namespace Server.Spells.Fourth
|
|||
return;
|
||||
}
|
||||
|
||||
var targets = Caster.Map.GetMobilesInRange(new Point3D(p), Core.AOS ? 2 : 3)
|
||||
var targets = Caster.Map.GetMobilesInRange(loc, Core.AOS ? 2 : 3)
|
||||
.Where(m => Caster.CanBeBeneficial(m, false));
|
||||
|
||||
if (Core.AOS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue