Thread: Make it so farcasters can be attacked within 5 tiles

Results 1 to 3 of 3
  1. #1 Make it so farcasters can be attacked within 5 tiles 
    Extreme Donator

    Avalanche's Avatar
    Join Date
    Nov 2007
    Posts
    2,707
    Thanks given
    42
    Thanks received
    9
    Discord
    avalanache#4767
    Rep Power
    650
    Well I am trying to do what the title says, but I'm not sure how to immplement it properly.

    Here's wut I got so far,

    Code:
    if(System.currentTimeMillis() - lastEntangle < entangleDelay && GoodDistance(absX, absY, AttackingOn2.absX, AttackingOn2.absY, 5) == true)

    Just need help immplementing it without fucking the server up. So ya Help?
    Reply With Quote  
     

  2. #2  
    Respected Member


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    31
    Posts
    12,482
    Thanks given
    157
    Thanks received
    5,122
    Rep Power
    5000
    That should work..

    And you don't need the == true on the end.

    Reply With Quote  
     

  3. #3  
    Extreme Donator

    Avalanche's Avatar
    Join Date
    Nov 2007
    Posts
    2,707
    Thanks given
    42
    Thanks received
    9
    Discord
    avalanache#4767
    Rep Power
    650
    Quote Originally Posted by Duke Lukem View Post
    That should work..

    And you don't need the == true on the end.
    i added in attack method and it blocks out attacking lol
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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