Skip to content

Commit

Permalink
Better logging for art and ps
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Jul 28, 2024
1 parent 968c4c8 commit 62247b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scripts/Mobiles/Special/BaseChampion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static void GivePowerScrollTo( Mobile m, PowerScroll ps )
m.AddToBackpack( ps );
}
if(ps.Value > 110d)
Console.WriteLine($"PS: {m.Serial} {m.Name}: {ps.Value} {ps.Skill.ToString()}");
Console.WriteLine($"PS: {ps.Skill.ToString()}_{ps.Value}({ps.Serial}): {m.Name}({m.Serial})");

if( m is PlayerMobile )
{
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Nelderim/Items/Artifacts/Artefakty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ public static void DistributeArtifact(Mobile to, Item artifact)
IEntity too = new Entity(Serial.Zero, new Point3D(to.X, to.Y, to.Z + 50), to.Map);
Effects.SendMovingParticles(from, too, itemID2, 1, 0, false, false, 33, 3, 9501, 1, 0, EffectLayer.Head,
0x100);
Console.WriteLine(String.Format("ART: {0} {1}: {2}", to.Serial, to.Name, artifact.GetType().Name));
Console.WriteLine($"ART: {artifact.GetType().Name}({artifact.Serial}): {to.Name}({to.Serial})");
}

public static double GetArtifactChance(BaseCreature boss)
Expand Down

0 comments on commit 62247b8

Please sign in to comment.