mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-29 02:30:05 +00:00
Added Smogon tiering system, made team invisible clause, sorted all pokemon
This commit is contained in:
@@ -185,6 +185,9 @@ class @BattleView extends Backbone.View
|
||||
$this.popover(options)
|
||||
|
||||
pokemonPopover: ($this, pokemon) =>
|
||||
if @isIllusioned(pokemon)
|
||||
pokemon = pokemon.getTeam().attributes.pokemon.at(pokemon.getTeam().attributes.pokemon.length - 1)
|
||||
|
||||
displayName = pokemon.get('species')
|
||||
displayName += " @ #{pokemon.get('item')}" if pokemon.has('item')
|
||||
displayName += "<br>"
|
||||
|
||||
Reference in New Issue
Block a user