View Single Post
  #10  
Old 10-17-2019, 02:58 PM
soronil soronil is offline
Sarnak


Join Date: Aug 2013
Posts: 475
Default

Quote:
Originally Posted by Bannen [You must be logged in to view images. Log in or Register.]
Betting this would be hard to code if they don't have it from the actual game code.
Why do you say that? seems trivial.

Quote:
Originally Posted by soronil [You must be logged in to view images. Log in or Register.]
Code:
for(iterator hate_list.begin(); iterator != hate_list.end(); iterator++)
    if(isPet(*iterator))
        pets_attacking++;
if (pets_attacking > 4)
     //you get the idea