Results 1 to 2 of 2

Thread: change wepon

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

    change wepon

    hey boys

    somebody have hotkey about change weapon to kill ghost?
    like character have sov but if traped with ghost,change weapon for fire sword
    Last edited by Pelson; 06-25-2012 at 05:50 PM.

  2. #2
    Banned
    Join Date
    May 2012
    Location
    Rio de Janero - RJ / Canada
    Posts
    870
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    0
    Hi!

    Change your main weapon for your respective weapon

    local iWeapon = { default = "Bright Sword", elemental = "Fire Sword" }
    local iTarget = "Ghost"

    if target.name == iTarget then
    if weapon ~= itemid(iWeapon.elemental) then
    setlooting("no")
    wait(500)
    moveitems(iWeapon.elemental, "all", "weapon", 1)
    wait(1000)
    setlooting("yes")
    end
    else
    if weapon ~= itemid(iWeapon.default) then
    setlooting("no")
    wait(500)
    moveitems(iWeapon.default, "all", "weapon", 1)
    wait(1000)
    setlooting("yes")
    end
    end

Posting Permissions

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