Results 1 to 3 of 3

Thread: Use a potion looted

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Use a potion looted

    I wanna use the small potions the monsters drops but I dont want to take it to my bp, only use it inside monter's dead body.

    thanks in advance

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    create action what will use that potion from your main backpack and drop empty vial from it xd

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Code:
    local potion = "health potion"
    local LootBP = "Brocade Backpack"
    
    if itemcount(potion,LootBP) > 0 then
    useitemon(potion, self, LootBP)
    end
    I think this will work, but it drinks from your lootbp.

Posting Permissions

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