The problem with bows

There are two errors in the RangedAttackSpells.xml file. Both BasicBowAttack and BasicCatapultAttack have a bad variable call of "MineValue" instead of "MinValue" and it must be killing the code and dealing out a auto miss. I copied the file to mods and placed the fix and I'm testing it now. Hopefully SD will get this fixed and get out a hotfix patch for folks.

B)  

4,402 views 4 replies
Reply #1 Top

Well that did not fix it. :(

Looked at it some more...no joy. SD will have to look into it. Going to bed...

Reply #2 Top

Strange. They could write an xsd and validate their xml schemas, that would fail on loading if incorrect.

Reply #3 Top

Quoting Capn, reply 1
Well that did not fix it.
End of Capn's quote

Well, did you enable mods and start a new game?

Reply #4 Top

there is TWO different errors in the file, the first capn darwin pointed out and could be caught by the xsd checking, but the second is a logic error being the value for the minimum in the calculation in next line, I had replaced the *0 with a *-0.1 and the overpowered bow are back (had also tried with a positive number  still got a devide by zero error in elelmental, same as with the MinValue inplace of the MineValue, the /0 error happened within 100 turns, with the -0.1 inplace so far I have got to turn 166 playing with a supersov with bow and able to oneshot all openents so far, I think the nerfbat should be on the max damage not the min damage, but if I let the ai autoresolve tha battles it still prefers the melting touch to all others like fireball and firedart and even an arrow through the neck, so it is a lot more mana ecenomical to fight each battle, rather that autoresolve.

harpo