Updates Combat Packets & Moves Tracking to Content (#298)
- [X] Changes outgoing combat packets - [X] Moves quest arrow to PlayerMobile and moves quest arrow packets to content. Bumps release version
This commit is contained in:
parent
55935d30b4
commit
6f5cb00cdd
19 changed files with 373 additions and 319 deletions
|
|
@ -744,10 +744,7 @@ namespace Server.Items
|
|||
{
|
||||
attacker.DisruptiveAction();
|
||||
|
||||
if (attacker.NetState != null)
|
||||
{
|
||||
attacker.Send(new Swing(attacker.Serial, defender.Serial));
|
||||
}
|
||||
attacker.NetState?.SendSwing(attacker.Serial, defender.Serial);
|
||||
|
||||
if (attacker is BaseCreature bc)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -60,8 +60,7 @@ namespace Server.Items
|
|||
// WeaponAbility a = WeaponAbility.GetCurrentAbility( attacker );
|
||||
|
||||
// Make sure we've been standing still for .25/.5/1 second depending on Era
|
||||
if (Core.TickCount - attacker.LastMoveTime >= (Core.SE ? 250 :
|
||||
Core.AOS ? 500 : 1000) ||
|
||||
if (Core.TickCount - attacker.LastMoveTime >= (Core.SE ? 250 : Core.AOS ? 500 : 1000) ||
|
||||
Core.AOS && WeaponAbility.GetCurrentAbility(attacker) is MovingShot)
|
||||
{
|
||||
var canSwing = true;
|
||||
|
|
@ -84,7 +83,7 @@ namespace Server.Items
|
|||
if (canSwing && attacker.HarmfulCheck(defender))
|
||||
{
|
||||
attacker.DisruptiveAction();
|
||||
attacker.Send(new Swing(attacker.Serial, defender.Serial));
|
||||
attacker.NetState?.SendSwing(attacker.Serial, defender.Serial);
|
||||
|
||||
if (OnFired(attacker, defender))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue