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

    If targeting Wyvern, change rod to Underworld Rod

    Hello, I've purchased a script to hunt Crystal Spiders and Ice Golems, along with some Wyverns, but since I'm using a Muck Rod, my rod attacks are useless against the last ones. I'd like to make a script to change my rod to an Underworld Rod when I'm targeting the Wyverns and change it back to Muck Rod once they are all dead. Can any one help me with that? I think that would be a neat tweak.

  2. #2
    Free User Kostek's Avatar
    Join Date
    Dec 2013
    Posts
    701
    Reputation
    77
    Rep Power
    22
    Please use the search function before posting requests. https://forums.tibiawindbot.com/show...l=1#post178991

    init start       
    local defaultWeapon = 'muck rod'

    local config =
    {
    {name = 'wyvern', weapon = 'underworld rod'},
    }
    init end

    auto(100)

    for _, v in ipairs(config) do
    local monster, weapon = creatureinfo(v.name), iteminfo(v.weapon)

    if ($attacked.name == monster.name and itemcount(weapon.id) > 0) then
    if $rhand.id ~= weapon.id then
    equipitem(weapon.id, 'rhand') wait(300, 500)
    end
    elseif $rhand.id ~= itemid(defaultWeapon) and itemcount(defaultWeapon) ~= 0 then
    equipitem(defaultWeapon, 'rhand') wait(300, 500)
    end
    end

    Trade History
    Sold 323 ED to @Joel
    Sold 166 MS to @tibiastore
    Bought 187 RP on Morta from @Dworak
    Bought 233 MS on Morta from @biffwille
    Sold 250 ED to @CipusMikus
    Sold 263 MS on Morta to @Pukez
    Sold 198 EK on Morta to @NadiR
    Bought 193 ED on Morta from @Zlotowka
    Sold 210 EK on Xylana to @Dragoon




 

 

Posting Permissions

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