Page 1 of 1

DEF bug.

Posted: Fri Jun 01, 2007 2:14 am
by korexus
Either Matt has set some strange values for his Skandinavia game or there's a truely weird bug out there. Take a look at this:

Code: Select all

The enemy has 7 troops at a level of 1.000.
The defenses of the province are at 0.5.
The enemy's PDEF is 9.000.
PATT  PDEF  AT  DF  RES [ FIGHT FOR PROVINCE 5 ] 
--------------------------------------------------------------------- 
17.150  9.000  11  5  + ATTACKER WINS 
17.150  9.000  17  6  + ATTACKER WINS 
17.150  9.000  10  4  + ATTACKER WINS 
17.150  9.000  11  3  + ATTACKER WINS 
17.150  9.000  13  1  + ATTACKER WINS 
17.150  9.000   7  0  + ATTACKER WINS 
17.150  9.000  13  0  + ATTACKER WINS 
You have won the battle! 12 armies take province 5!
The level of your troops is raised by 7 X 0.006 to 1.792.
You now own province 5!
#ID  NAME  POP WOK AIM ARM  LEVEL  DEF  MI  SP  
===============================================
 05  Malmo  62  12  DEF 12  1.792  0.7   0  0 
===============================================
No, I'm not talking about 7 wins in a row. That's normal for me! :P
Look at the DEF. What's going on with that? 0.5 at the start of the fight, 0.7 at the end. Has anyone else seen similar results? And if so, for how long has this been happening?


Chris.

Posted: Fri Jun 01, 2007 2:21 am
by TBert
Oh wow. I never pay attention to DEF, so it could've been happening to me in every game and I wouldn't have noticed. Interesting bug though.

Posted: Fri Jun 01, 2007 2:32 am
by korexus
Aha!

This is a Duel rule, one of the tweaks to try and prolong the game a bit. It must have migrated when I updated the commentaries. (I copied and pasted some of the script when doing that.) That means the bug has been going for several games and none of you told me. Shame on you!


Chris.