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
|
|
@ -157,24 +157,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
var hue = Utility.RandomList(0x481, 0x482, 0x489, 0x497, 0x66D);
|
||||
|
||||
Effects.SendPacket(
|
||||
from,
|
||||
map,
|
||||
new HuedEffect(
|
||||
EffectType.Moving,
|
||||
Serial.Zero,
|
||||
Serial.Zero,
|
||||
0x36D4,
|
||||
from,
|
||||
to,
|
||||
0,
|
||||
0,
|
||||
false,
|
||||
true,
|
||||
hue,
|
||||
0
|
||||
)
|
||||
);
|
||||
Effects.SendMovingEffect(map, 0x36D4, from, to,0, 0, false, true, hue);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ namespace Server.Engines.Quests.Haven
|
|||
|
||||
public override bool HandlesOnMovement => Canoneer?.Deleted == false && Canoneer.Active;
|
||||
|
||||
public void DoFireEffect(IPoint3D target)
|
||||
public void DoFireEffect(Point3D target)
|
||||
{
|
||||
var from = CannonDirection switch
|
||||
{
|
||||
|
|
@ -85,7 +85,7 @@ namespace Server.Engines.Quests.Haven
|
|||
|
||||
public void Fire(Mobile from, Mobile target)
|
||||
{
|
||||
DoFireEffect(target);
|
||||
DoFireEffect(target.Location);
|
||||
|
||||
target.Damage(9999, from);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue