What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

AutoRoll for some items?

Spikes

Community Developer
Joined
Sep 21, 2014
Messages
76
Reaction score
2
Hello,

is there a way to auto roll for certain items? E.G. Hasla Bow Token and all Coinpurse?

- Spikes
 
Got it. One problem, this window is not closing of the dices item :/ And if u close it manually you declined to roll :/

Code so far:
Code:
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);
                }
            }
        }
 
But then i have the problem i can't roll on weapons/armor that randomly drops :X

Edit: Also the windows are keep poping up with BlockClientDice
 
Last edited:
Is there a way to close the Roll box via coding?
 
Okay Out,

i have one more question. Can you change the item.Dice() function so that function will close the corresponding Roll box?
 
Can you change the item.Dice() function so that function will close the corresponding Roll box?
No, i cant (
 
Can I use this to auto-roll on all jester and manual roll on other items ? ty
 
on this subforum already posted code for roll all items, just need to replace 1 line
item.Dice(GetGroupStatus("Accept Roll"));
to
if (item.name == "item name to do roll on it") item.Dice(GetGroupStatus("Accept Roll"));
 
Back
Top