Results 1 to 4 of 4

Thread: Weapon Changer

  1. #1
    Normal User
    Join Date
    Nov 2014
    Location
    Poland - podlaskie
    Posts
    132
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    28 Post(s)
    Reputation
    47
    Rep Power
    3

    Weapon Changer

    hello, today im maked for my script small weapon changer i hope be useful to you Regards!

    PHP Code:
    local FirstType = {"Stalker""Skeleton""Ghoul""Slime"}
    local SecondType = {"Demon Skeleton"}
    local MainBPname "Brocade Backpack"

    local MainWeaponName "wand of inferno"
    local SecondWeaponName "wand of cosmic energy"

    if target.id and target.ismonster then
        
    for _mainMONSTER in ipairs(FirstType) do
            if 
    target.name == mainMONSTER then
                
    if weapon ~= itemid(MainWeaponNamethen
                    moveitems
    (MainWeaponNameMainBPname"weapon"1)
                
    end
            end
        end

        
    for _resistMONSTER in ipairs(SecondType) do
            if 
    target.name == resistMONSTER then
                
    if weapon ~= itemid(SecondWeaponNamethen
                    moveitems
    (SecondWeaponNameMainBPname"weapon"1)
                
    end
            end
        end
    elseif target.id == and weapon ~= itemid(MainWeaponNamethen
        moveitems
    (MainWeaponNameMainBPname"weapon"1)
    end 
    @blakw can you add this to Actions and HUD List ?

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    @JuicyScripts Added


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    Normal User
    Join Date
    Nov 2014
    Location
    Poland - podlaskie
    Posts
    132
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    28 Post(s)
    Reputation
    47
    Rep Power
    3
    thanks ;]

  4. #4
    Normal User lopez65's Avatar
    Join Date
    Aug 2015
    Location
    Espa˝a
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    2
    good script, but only mage, as would for example, paladin, if you run out of spears put one spike sword?
    Cheers

Posting Permissions

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