is there any way to shorten attack intervals? (Instead of attacking every 120 seconds every 60?)
This is what I have so far which is correct, I just need to change the attack-now thing to attack the player with the wonder:
Also, can I make an AI send troops to an allies base when THEY build a wonder? (players-building-type-count any-ally wonder == 1) If you could help me it would make my AI even more complete, thanks!
(defrule
(players-building-type-count any-enemy wonder == 1)
=>
(chat-to-player this-any-enemy "A wonder, eh? Wonders burn reeeeeeeeeeaaaal good.")
(attack-now)<
)
Example though it doesn't work:
=>
(chat-to-player this-any-ally "A thing like that deserves military protection! Troops are on the way to distract the enemy!")
(>
)
I only wish I had wit.