I was wondering if anyone knew how to make something like:
if(Weariness > 80)
{
drinkWine():
waitHourglass();
Thread.sleep(100):
}
else ...
something like this, I'm not quite sure if "Weariness" is what I'm looking for.
NaoWhut wrote:He didn't realize we can be anywhere in the world because of jorb friendship magic <3
public ScriptBuff[] getBuffs() {
ArrayList<ScriptBuff> list = new ArrayList<ScriptBuff>();
synchronized(glob().buffs) {
for (Buff b : glob().buffs.values())
list.add(new ScriptBuff(b));
}
ScriptBuff[] arr = new ScriptBuff[list.size()];
for(int i=0;i<arr.length;i++){
arr[i]=list.get(i);
}
return arr;
}
NaoWhut wrote:He didn't realize we can be anywhere in the world because of jorb friendship magic <3
Users browsing this forum: Claude [Bot] and 1 guest