public static CheckArtifactChance ( Mobile m, |
||
m | Mobile | |
bc | ||
return | bool |
public override void OnKilledBy(Mobile mob) { base.OnKilledBy(mob); if (!CheckFisherArtifactChance() && Paragon.CheckArtifactChance(mob, this)) { GiveArtifactTo(mob); } m_Fisher = null; }
public override void OnKilledBy(Mobile mob) { base.OnKilledBy(mob); if (Paragon.CheckArtifactChance(mob, this)) { GiveArtifactTo(mob); if (mob == this.m_Fisher) this.m_Fisher = null; } }
public override void OnDeath(Container c) { base.OnDeath(c); Mobile mobile = DemonKnight.FindRandomPlayer(this); if (Paragon.CheckArtifactChance(mobile, this)) { switch (Utility.Random(4)) { case 0: DemonKnight.DistributeArtifact(mobile, new Slither()); break; case 1: DemonKnight.DistributeArtifact(mobile, new IronwoodCompositeBow()); break; case 2: DemonKnight.DistributeArtifact(mobile, new MedusaBlood()); break; case 3: DemonKnight.DistributeArtifact(mobile, new MedusaStatue()); break; } } }