CODE |
public static int GetArtifactChance( Mobile boss ) { if ( !Core.AOS ) return 0; int luck = LootPack.GetLuckChanceForKiller( boss ); int chance; if ( boss is DemonKnight ) chance = 1500 + (luck / 5); else chance = 750 + (luck / 10); return chance; } |
CODE |
if ( boss is DemonKnight ) chance = 100 + (luck / 10); else chance = 100 + (luck / 15); |
QUOTE (ArteGordon @ Feb 8 2006, 06:08 PM) | ||
this will give you those sort of odds
|