Example #1
0
		private static bool CheckChance(Creep creep)
		{
			var chanceForShatter = Randomizer.Current.Get(0, 100);
			if (chanceForShatter >= 15)
				return false;
			creep.AdjustStat(new StatAdjustment("Hp", "", -creep.GetStatValue("Hp")));
			return true;
		}