collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
884 stars 101 forks source link

CharacterPanel resistances coloring #41

Open collinsmith opened 5 years ago

collinsmith commented 5 years ago

This table works a bit differently then the others. In this case

x<0 red
x>0 white
x==max gold
modified by non-items blue

Additionally, max(fire|cold|light|poison|magic)resist are not the maxstat for the resist stats, so these max values need to be hard coded.