Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Oct 2015
    Posts
    1
    Reputation
    10
    Rep Power
    0

    Lightbulb UNEQUIP WAND/ROD if targetting x monster!

    Can someone develop a persistent script where my character UNEQUIPS my rod/wand if targetting x monster!

    For example ... I'm currently using a wand of inferno, and I'd like my character to unequip it when it comes across a Demon Skeleton.

    Help, anyone?

  2. #2
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,468
    Reputation
    205
    Rep Power
    25
    Thread Moved

    local monster = "Demon Skeleton"
    local defaultweapom = 'wand of inferno'
    local newweapom = 'wand of cosmic energy'

    auto(1000)
    if $target.name == monster then
    equipitem(newweapom, 'rhand')
    else
    equipitem(defaultweapom, 'rhand')
    end
    Last edited by Borges; 11-17-2015 at 10:32 AM.
    Helped you? REP+

 

 

Posting Permissions

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