XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 9 of 9

Thread: When item X > droped.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7

    Join Date
    Nov 2014
    Location
    Sundsvall, Sweden
    Posts
    174
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Elizabeth View Post
    I have 300 mana potions and scripts don't droped potions, why?
    Did you change the mana potions to the ones you're using ?
    Well, this would also work if the ID is the problem:
    Code:
    Manas = "Great Mana Potion"
    ManaID = Item.GetID(Manas)
    DropManasAbove = 90
    AmountToDrop = 1
     
    Module.New('DropPots', function(module)
        if Self.ItemCount(ManaID) > DropManasAbove then
            Self.DropItem(Self.Position().x,Self.Position().y,Self.Position().z, ManaID, AmountToDrop)
        end
        module:Delay(1000,1500)
    end)
    Last edited by yompa93; 04-28-2016 at 09:26 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •