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
|
|
@ -476,14 +476,14 @@ namespace Server.Engines.Doom
|
|||
}
|
||||
}
|
||||
|
||||
public static void PlayEffect(IEntity from, IEntity to, int itemid, int speed, bool explodes)
|
||||
private static void PlayEffect(IEntity from, IEntity to, int itemid, int speed, bool explodes)
|
||||
{
|
||||
Effects.SendMovingParticles(from, to, itemid, speed, 0, true, explodes, 2, 0, 0);
|
||||
}
|
||||
|
||||
public static void SendLocationEffect(IPoint3D p, int itemID, int speed, int duration, int hue)
|
||||
private static void SendLocationEffect(Point3D p, int itemID, int speed, int duration, int hue)
|
||||
{
|
||||
Effects.SendPacket(p, Map.Malas, new LocationEffect(p, itemID, speed, duration, hue, 0));
|
||||
Effects.SendLocationEffect(p, Map.Malas, itemID, speed, duration, hue);
|
||||
}
|
||||
|
||||
public static void PlayerSendASCII(Mobile player, int index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue