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

Roll

upack

New Member
Joined
Jul 10, 2012
Messages
12
Reaction score
0
Дайте пожалуйста код что бы ролил все итемы.

Please give code for roll all items.
 
onLootDice += (item) => item.Dice(true);
 
while(bestMob != null && !isAlive(bestMob) && isExists(bestMob) && bestMob.type == BotTypes.Npc && ((Npc)bestMob).dropAvailable && isAlive())
{

if(me.dist(bestMob) > 3)
ComeTo(bestMob, 1) ;

PickupAllDrop(bestMob);
onLootDice += (item) => item.Dice(true);
Where is wrong?
 
Just have it once at the start of PluginRun(), not inside your loops.
 
Back
Top