changed mob casting rate from 1/3 to 1/10

This commit is contained in:
2022-06-26 20:07:18 -05:00
parent 3f35df3916
commit 2922fdf623
+1 -1
View File
@@ -301,7 +301,7 @@ public class CombatUtilities {
if(agent.mobPowers.size() > 0 && agent.mobPowers != null)
{
//get cast chance 33% cast 67% mele
int random = ThreadLocalRandom.current().nextInt(agent.mobPowers.size() * 3);
int random = ThreadLocalRandom.current().nextInt(agent.mobPowers.size() * 10);
//allow casting of spell
if(random <= agent.mobPowers.size())
{