Closed makrohn closed 11 years ago
So if you're vulnerable_fire=0, and fire is the first element in the elements.txt file, you'll still take full damage (at least while transformed).
This was a tricky one. We were using if (powers[power_index].trait_elemental) as shorthand. The thing is, we start elements at 0 now, so that statement would be false for the first element.
if (powers[power_index].trait_elemental)
So if you're vulnerable_fire=0, and fire is the first element in the elements.txt file, you'll still take full damage (at least while transformed).