GamePress

why does dragonite resists electric damage?

I thought that by being dragon would resist it but it would be canceled out by the fact he's also flying so it shouldn't have any effect, please see image attached

Asked by xplinter7 years ago
Report

Answers

A glitch maybe?! Dragonite should take neutral damage from electric attacks!

Up
0
Down

That's because the super effective multiplier (1.4) times the resistance multiplier (0.714) does not exactly reach 1, but 0.996. Since this is less than 1, albeit basically 1, the game counts this is as "not very effective"

Up
0
Down

Yep rounding error. That’s an example of why equality condition tests should not be made with floating point data types. In this case, testing to see if it’s within a small variance would be a better programming method.

Up
0
Down