Results 1 to 3 of 3

Thread: Help with attack change :///

  1. #1
    iBot User
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Question Help with attack change :///

    Hello Guys,

    I search a action if like HERO in Screen. Use Axe Ring. Or if a Player on Screen use ring?

    Someone can help me with it

    Thank for support
    Last edited by Autopilot1; 03-10-2014 at 09:22 PM.

  2. #2
    Normal User MrLovely's Avatar
    Join Date
    Jun 2012
    Location
    PROland
    Posts
    249
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    50
    Rep Power
    5
    Hero:
    Lua Code:
    if maround(7, "Hero") >= 1 then
        if ring == 0 then 
            moveitems("Axe Ring", "all", "ring", 1)
    		wait(500,900)
        end
    else
        if ring ~= 0 then
    		moveitems(ring, "ring", 0, 1)
    		wait(500,900)
        end
     
    end


    Player:
    Lua Code:
    if paround(7) >= 1 then
        if ring == 0 then 
            moveitems("Axe Ring", "all", "ring", 1)
    		wait(500,900)
        end
    else
        if ring ~= 0 then
    		moveitems(ring, "ring", 0, 1)
    		wait(500,900)
        end
     
    end
    Last edited by MrLovely; 03-11-2014 at 12:59 AM.

  3. #3
    iBot User
    Join Date
    Apr 2013
    Location
    Germany
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    U are the best ty man

Posting Permissions

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