"Showdown: Charizards" makes the attribution bleed over to the second
column. Workaround is to just write "Charizards" there. Will have to
think of a different workaround if we ever get a background with a long
artist name and a long title.
It turns out, battle.maxPokemon and side.totalPokemon were redundant.
battle.maxPokemon has been eliminated.
...side.totalPokemon should probably be renamed.
The new algorithm is significantly more accurate to how lightness
actually works.
Overall, colors should be a bit darker now. This has two advantages:
- Better readability for light colors in light mode
- Less eyesore in dark mode
Also people were complaining about reds being too bright in the last
change, which this change fixes.
I seriously doubt any third-party server will do the work of obtaining
an SSL cert, but...
Well, I guess it wouldn't be too hard to write a script to automate
getting a Let's Encrypt cert... We'll see. This will help with testing,
regardless.
A lot of these properties were planned to be used five years ago, but
it just never happened...
As a side effect, Chrome's Inspector should now be a lot nicer to use.
This handles the remaining case for Illusion tracking.
If a Pokemon fainted from residual damage retroactively turns out to
be an Illusion, the client will now correctly mark the Zoroark as
fainted.
If there is no Zoroark (because Hackmons), the client will now mark
a random unfainted Pokemon as fainted. This guess may be wrong, but
will keep the fainted Pokemon count correct, and will eventually be
correct as incorrect guesses are switched in and reguessed.
Now, whenever an Illusion clears, the previously illusioned Pokemon
has its HP and status set to "???"
In addition to being generally more accurate, this fixes a bug where
the team tracker would display the Illusioned Pokemon as fainted when
it's actually still alive.