Results 1 to 2 of 2

Thread: Action attack back

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Post Action attack back

    Hello,

    I'd like an action that attacks a player back if beein attacked.


    Tryed browsing the forums but cant find any.

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    ummm, basic and untested...

    PHP Code:
    if underattack("p"then 
        getcreatures
    ("p").isattackme playerKiller
        attack
    (playerKiller)
    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
  •