.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Returning script ignored. Bug? (http://forum.shrapnelgames.com/showthread.php?t=40195)

ano August 14th, 2008 03:59 PM

Re: Returning script ignored. Bug?
 
I played with PD from 0 to 40 in my tests and that had no effect. Also, Endoperez said that vis means gems

ano August 14th, 2008 04:20 PM

Re: Returning script ignored. Bug?
 
Same thing, just as I suspected with the only difference that now KotD died. So the bug is stable in the sense that it depends on some conditions.
I will roll back the turn again now. Meglobob, please change your order and hopefully we'll be done with it at last.

Meglobob August 14th, 2008 04:32 PM

Re: Returning script ignored. Bug?
 
Ok, I will cancel the teleport--->magic duel. No more rehosts after this!

Its not a instant kill you know, magic duel the golem has a 50/50 chance of surviving. I think its WAD. Your golem is not casting Return because its confident that he and the 10 PD you have in there are enough to defeat a lone mage. Thats just how dom3 works.

thejeff August 14th, 2008 04:39 PM

Re: Returning script ignored. Bug?
 
What does the debug log say when it does work?

How about in cases where he doesn't have the gems? Or other situations where gems won't be used due to weak opposition?

I'm pretty sure that message is specific to not having enough gems, not to not wanting to use them. Not 100% though.

ano August 14th, 2008 04:52 PM

Re: Returning script ignored. Bug?
 
I will run the test with debug options a bit later. Too tired now.
Also, it seems that returning spells should have a special status that never allows ignoring them if it is scripted.

ano August 14th, 2008 06:19 PM

Re: Returning script ignored. Bug?
 
Here're the scratches from successful return casting (testbed).
Quote:

item Armor of Virtue casting autospell cast returning (cr0)
Autospell is cast returning
castspell: cnr189 spl54 (cast returning) vis0 x54 y23 spldmg8388608
vis 0 xvis 0
blastsqr: unr9291 x54 y23 aoe0 dmg8388608 eff10023 spc1082130432 as0 al0
setupsquads end (check=1167409)
Quote:

spellscore, Returning score 1 (boost 144 scorat 0)
Eval: Returning score 1 (fat 66)
comp_castspell: eval Returning result 1
best spell so far Returning (score100001)
Quite expectable, I must say.

chrispedersen August 15th, 2008 01:30 AM

Re: Returning script ignored. Bug?
 
I have had the same bug occur.

Pretender + 2 seraphs. All kitted out; all with between 4-20 astral gems. All scripted to cast returning.

No one did.

Xietor August 15th, 2008 02:01 AM

Re: Returning script ignored. Bug?
 
I do not think it is a bug. Unless it is a new bug with 3.17. Before if you had a large titan or tartarian and gems and script it to cast returning, it will not do so if the ai thinks the attack is not threatening(and i think the ai measures this by hps etc).

So it DID used to be if you had a golem and 25 pd, it would not cast returning if a mage teleports in for a magic duel because the ai judges the mage no threat.

This is similar to scripting a mafe to cast fog warriors and there is 100 trolls in the army. a Wraithlord enters in artifact gear. kills your whole army. your mages never cast fog warriors. Why? it does not judge the single wraith lord a threat.

But you also do not want a foe to be able to make you waste your gems with a scout either, so that is the trade off.

ano August 15th, 2008 03:55 AM

Re: Returning script ignored. Bug?
 
Xietor, I once again say that I played with various builds and various teleporters.
I teleported (empowered) Dakini with 0 PD -> golem casts returning
I teleported (empowered) 40g priest with 40PD -> golem casts returning

I also played with artifacts and gems (also tried exactly the same build I had in the real situation) and result was ALWAYS the same. Also, as pointed out above, log says that golem doesn't have enough gems so it probably has nothing to do with AI's decisions.

vfb August 15th, 2008 04:27 AM

Re: Returning script ignored. Bug?
 
Quote:

Originally Posted by ano (Post 631372)
Xietor, I once again say that I played with various builds and various teleporters.
I teleported (empowered) Dakini with 0 PD -> golem casts returning
I teleported (empowered) 40g priest with 40PD -> golem casts returning

I also played with artifacts and gems (also tried exactly the same build I had in the real situation) and result was ALWAYS the same. Also, as pointed out above, log says that golem doesn't have enough gems so it probably has nothing to do with AI's decisions.

When you tried the exact same build, did you just give your unit 28 D gems? Or did he gather them in battle (killing more than 30 units)?


All times are GMT -4. The time now is 04:28 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.