Craft Mastery skill (10312).

This commit is contained in:
MobiusDev
2015-09-12 20:33:15 +00:00
parent c6813babe4
commit d620778570
6 changed files with 15 additions and 1 deletions

View File

@ -675,6 +675,12 @@ public class RecipeController
{
itemId = rareProdId;
itemCount = _recipeList.getRareCount();
final int craftMastery = (int) _player.calcStat(Stats.CRAFT_MASTERY, 0, null, null);
if ((craftMastery > 0) && (Rnd.get(10) < craftMastery))
{
itemCount <<= 1;
}
}
}