platyping
Sleeping Dragon
1) Add alive check
2) If I understand correctly, what he wants is this.
If world wonder x is built, when any player with state religion Taoism is attacked, spawn 2 units at his capital.
Neither solution is the situation then.
@ Unit AI
No unit AI is the safest, because it is easy to copy and paste.
Assigning a specific unit AI may screw things when you assign to units that should not get it.
For instance, assigning attack city to workers.
Sometimes specific ones are assigned because that is the intention.
2) If I understand correctly, what he wants is this.
If world wonder x is built, when any player with state religion Taoism is attacked, spawn 2 units at his capital.
Neither solution is the situation then.
@ Unit AI
No unit AI is the safest, because it is easy to copy and paste.
Assigning a specific unit AI may screw things when you assign to units that should not get it.
For instance, assigning attack city to workers.
Sometimes specific ones are assigned because that is the intention.