Fix some warnings
This commit is contained in:
parent
c7f754dafc
commit
40e036c296
@ -728,7 +728,6 @@ namespace DiIiS_NA.GameServer.GSSystem.PlayerSystem
|
||||
foreach (var ghost in cryptwrld.GetActorsBySNO(5360))
|
||||
ghost.Destroy();
|
||||
break;
|
||||
break;
|
||||
#endregion
|
||||
#region A1-Q4 Event_DoK
|
||||
case 139823: //Event_DoK_Kill.cnv
|
||||
|
@ -98,7 +98,7 @@ namespace DiIiS_NA.GameServer.GSSystem.PowerSystem.Implementations
|
||||
{
|
||||
WeaponDamage(Targets, 1.50f, DamageType.Cold);
|
||||
EffectActor Explosion1 = SpawnEffect(defaultEff, TargetPosition, 0, WaitSeconds(2f));
|
||||
Explosion.PlayEffect(Effect.PlayEffectGroup, 471410);
|
||||
Explosion1.PlayEffect(Effect.PlayEffectGroup, 471410);
|
||||
foreach (var Target in Targets.Actors)
|
||||
AddBuff(Target, new DebuffChilled(0.4f, WaitSeconds(0.5f)));
|
||||
}
|
||||
|
@ -152,18 +152,18 @@ namespace DiIiS_NA.GameServer.GSSystem.PowerSystem.Payloads
|
||||
});
|
||||
((this.Target as NecromancerSkeleton_A).Master as Player).NecroSkeletons.Remove(this.Target);
|
||||
}
|
||||
if (this is BaseGolem ||
|
||||
this is IceGolem ||
|
||||
this is BoneGolem ||
|
||||
this is DecayGolem ||
|
||||
this is ConsumeFleshGolem ||
|
||||
this is BloodGolem)
|
||||
if (this.Target is BaseGolem ||
|
||||
this.Target is IceGolem ||
|
||||
this.Target is BoneGolem ||
|
||||
this.Target is DecayGolem ||
|
||||
this.Target is ConsumeFleshGolem ||
|
||||
this.Target is BloodGolem)
|
||||
{
|
||||
((this.Target as NecromancerSkeleton_A).Master as Player).InGameClient.SendMessage(new MessageSystem.Message.Definitions.Pet.PetDetachMessage()
|
||||
((this.Target as Minion).Master as Player).InGameClient.SendMessage(new MessageSystem.Message.Definitions.Pet.PetDetachMessage()
|
||||
{
|
||||
PetId = this.Target.DynamicID(((this.Target as Minion).Master as Player))
|
||||
});
|
||||
((this.Target as NecromancerSkeleton_A).Master as Player).ActiveGolem = null;
|
||||
((this.Target as Minion).Master as Player).ActiveGolem = null;
|
||||
}
|
||||
if (this.Target is Player)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user