lrvs wrote:But wizmode tells me that a spellcasting of 27 and Air Magic of 4 on an Int 27 character is a 40 spell power for Airstrike, so clearly this fails, unless these formulae have changed dramatically since 0.13
I tried this and it gives me 55 power, the calc_spell_power returns the same value.
I swear to god, am I insane? I tested this, looked it over three times, saw 40, and now today after reading this, I started over, new char, set the values, and got 55. So I went back to look at the other one I made yesterday, and it says the same thing. And there's nothing there that's 40, so I'm just losing it, I guess. How truly bizarre.
From spell_fail it's called with apply_intel=false, that's why I uncommented that part.
I figured that part out.
I used g++ on windows from mingw project, gcc version 4.5.2.
I finally got it to work with that based on Patashu's search results. I think I tried all the compilers in that collection
except that one, or gave up when like four of them produced the exact same message. :steam:
You didn't use the _get_true_fail_rate procedure in that code, wasn't this the difference?
Well, I'll be. Yes, because it was hidden in fail_rate_to_int which is hidden in fail_rate_to_string, and in simplifying the problem I left out a function that I thought only converts a number to a string because printf could do that. But obviously it's doing more than just converting the data type. That's misleading.
So putting _get_true_fail_rate() back in should make it work as expected, now. Indeed, for the most part it already was, and I'm just... fail.
Thanks.
Then I can go back to smoking DEWzs. (In case you wondered what I've been smoking... Lots of DEWzs.)