Dominions 5

Dominions 5

Lucid Feb 9, 2018 @ 1:55pm
Magic Duel Bug
Someone in one of my games had 14 S1 mages setup to magic duel 3 grand lemurs. Only 3 of them cast the spell. Oddly, some of them (3) actually cast magic duel despite having gems etc. Even more oddly, some of them started casting magic duel: "XXX prepares to cast magic duel" then cast body ethreal. Anyone know what is happening here? Since I have no idea what is causing it, i wanted to check in before posting in the bug thread.
< >
Showing 1-6 of 6 comments
Morsigil Feb 9, 2018 @ 1:58pm 
Interesting. Were the lemurs killed after the first 3? I presume not.
Paper Rat Feb 9, 2018 @ 2:44pm 
Is it possible, that magic duel is not instant, and while a magic duel is in progress no additional magic duels can take place, so surplus duelists just go off-script?
wilson.max Feb 9, 2018 @ 3:03pm 
When a caster starts preparing one spell but actually casts another, it means there were no longer any valid targets for the spell by the time it is cast. (You typically see this with buff spells when all units within range have already been buffed.)
Lucid Feb 9, 2018 @ 3:43pm 
Originally posted by Morsigil:
Interesting. Were the lemurs killed after the first 3? I presume not.
They were not
Lucid Feb 9, 2018 @ 3:44pm 
Originally posted by wilson.max:
When a caster starts preparing one spell but actually casts another, it means there were no longer any valid targets for the spell by the time it is cast. (You typically see this with buff spells when all units within range have already been buffed.)
Hmm, how could that be when none of the grandlemurs were killed? Any ideas?
zhraia Feb 9, 2018 @ 3:49pm 
The lemurs did not die from the 3 mages that cast magic duel. It's like if the mages had finished preparing to cast magic duel, 3 picked a target and the others did not get a target so they went off-script, regardless if the first 3 was successful or not. It seems to be a drawback of having everyone cast spells at the same time, since you don't want mages targeting dead mages with magic duel.

The obvious way around this would be to count the number of enemy astral mages and script your mages so only have a similar amount cast magic duel every round, and have the other mages cast other stuff, it would be quite tedious and mess with your scripting.
Last edited by zhraia; Feb 9, 2018 @ 3:50pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Feb 9, 2018 @ 1:55pm
Posts: 6