Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Aug 2016
    Posts
    15
    Reputation
    10
    Rep Power
    0

    Equipping looted spears and then re-equipping a weapon

    I only found this type of script:

    auto(200)
    local depotSpearBackpack = 'brown backpack'
    if itemcount(getuseroption('spear')) >= 1 and $rhand.count < 7 then
    moveitems(getuseroption('spear'), 'rhand', depotSpearBackpack, 1)
    wait(200,500)
    end

    but it's only for equipping spears and it doesn't work, I want my char to fight with his weapon and when he loots spears then he equips them and when they break he'll use his weapon back.

  2. #2
    Free User
    Join Date
    Aug 2016
    Posts
    15
    Reputation
    10
    Rep Power
    0
    I found the script:

    init start
    local melee = 3300 -- id of melee weapon
    local Spear = 3277 -- id of small stone
    local minAmount = 0 -- amout to equip melee
    local maxAmount = 1 -- amount to equip stones
    local spearbp = getlootingdestination('backapck') -- I'd use mainbp

    init end

    auto(500,1000)

    if $rhand.id == 0 and itemcount(Spears) <= minAmount then
    equipitem(melee, 'rhand')
    wait(500, 1000)
    elseif $rhand.id == melee and itemcount(Spear) >= maxAmount then
    moveitems(melee, spearbp, 'rhand')
    wait(500,1000)
    equipitem(Spear, 'rhand')
    wait(500, 1000)
    end
    If you want a cabebot with good spot to lvl and train distance fighting with spears from trolls then I've uploaded my settings.
    Attached Files Attached Files
    Last edited by bukhonor; 08-28-2016 at 02:13 AM.

 

 

Posting Permissions

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