private List<String> diceItems = new List<String>();
diceItems.Add("Faded Courage Token");
diceItems.Add("Jester's Coinpurse");
public void autoDice(){
if(!GetGroupStatus("Auto Roll") || !me.isAlive()) return;
foreach(Item item in me.getDiceItems()){
if(diceItems.Contains(item.name)){
item.Dice(true);
}
}
}
Try to useOne problem, this window is not closing of the dices item :/ And if u close it manually you declined to roll :/
try
{
BlockClientDice(true);
}
finally
{
BlockClientDice(false);
}
No. But i will fix BlockClientDice soonIs there a way to close the Roll box via coding?
No, i cant (Can you change the item.Dice() function so that function will close the corresponding Roll box?