Lucky chance calculation improvement.
This commit is contained in:
		@@ -14008,7 +14008,7 @@ public final class L2PcInstance extends L2Playable
 | 
			
		||||
	
 | 
			
		||||
	public boolean tryLuck()
 | 
			
		||||
	{
 | 
			
		||||
		if ((Rnd.nextDouble() < BaseStats.LUC.getValue(getLUC())) && !hasSkillReuse(CommonSkill.LUCKY_CLOVER.getSkill().getReuseHashCode()))
 | 
			
		||||
		if (((Rnd.nextDouble() * 100) < BaseStats.LUC.getValue(getLUC())) && !hasSkillReuse(CommonSkill.LUCKY_CLOVER.getSkill().getReuseHashCode()))
 | 
			
		||||
		{
 | 
			
		||||
			SkillCaster.triggerCast(this, this, CommonSkill.LUCKY_CLOVER.getSkill());
 | 
			
		||||
			sendPacket(SystemMessageId.LADY_LUCK_SMILES_UPON_YOU);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user