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
|
|
@ -62,7 +62,7 @@ namespace Server.Spells.Seventh
|
|||
eastToWest = false;
|
||||
}
|
||||
|
||||
Effects.PlaySound(p, Caster.Map, 0x20B);
|
||||
Effects.PlaySound(new Point3D(p), Caster.Map, 0x20B);
|
||||
|
||||
TimeSpan duration;
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ namespace Server.Spells.Seventh
|
|||
20,
|
||||
5042
|
||||
);
|
||||
Effects.PlaySound(bc, bc.Map, 0x201);
|
||||
Effects.PlaySound(bc, 0x201);
|
||||
|
||||
bc.Delete();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,10 +46,11 @@ namespace Server.Spells.Seventh
|
|||
var map = Caster.Map;
|
||||
|
||||
var playerVsPlayer = false;
|
||||
var loc = new Point3D(p);
|
||||
|
||||
if (map != null)
|
||||
{
|
||||
var eable = map.GetMobilesInRange(new Point3D(p), 2);
|
||||
var eable = map.GetMobilesInRange(loc, 2);
|
||||
|
||||
targets = eable.Where(
|
||||
m =>
|
||||
|
|
@ -86,7 +87,7 @@ namespace Server.Spells.Seventh
|
|||
|
||||
if (targets.Count > 0)
|
||||
{
|
||||
Effects.PlaySound(p, Caster.Map, 0x160);
|
||||
Effects.PlaySound(loc, Caster.Map, 0x160);
|
||||
|
||||
if (Core.AOS && targets.Count > 2)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue