Deity Empires

Deity Empires

View Stats:
Slooge 1 Oct, 2024 @ 7:14pm
supply wagons and extend battle
Need a bit of assistance here. I have done the following:

units.txt:

unit=Supply Wagon
+spell1=Extend Battle
+ability=Mana Regeneration +3
ai_spellcast_chance=100
mana=25
magiclevel=0

attacks.txt:
spell=Extend Battle
mana_cost0=25


So far, so good. Everything works, until I toggle auto-battle. The AI refuses to cast extend battle. What am I missing?
< >
Showing 1-3 of 3 comments
mrhyms 2 Oct, 2024 @ 1:02am 
Hi Slooge,

I've never managed to get autocast to work on extend battle - I'm fairly sure that spell is hardcoded in the game to only be manual cast.
Slooge 2 Oct, 2024 @ 2:09am 
guess I'll toss them an ammo replenish instead then. They really ought to have that anyway with a name like supply wagon :P

Was originally looking for a way to make it a buff proc, so it would fire off randomly during combat but I'm thinking that's out as well...but i'm not good with modding, first time even attempting to do one :P
Last edited by Slooge; 2 Oct, 2024 @ 2:40am
Hade 11 Oct, 2024 @ 5:58pm 
AI will never cast Extend Battle. Even if it's the only spell they have and it costs 0 mana.
< >
Showing 1-3 of 3 comments
Per page: 1530 50