mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-27 18:00:03 +00:00
Reworked all moves from Insurgence data files, resolving #53, and other move issues
This commit is contained in:
@@ -135,6 +135,8 @@ class @Pokemon extends Backbone.Model
|
||||
# Map each move name to a move object
|
||||
return _(learnset).map (moveName) ->
|
||||
move = _(MoveData[moveName]).clone()
|
||||
if typeof move is "undefined"
|
||||
console.log(moveName)
|
||||
move['name'] = moveName
|
||||
move
|
||||
|
||||
|
||||
Reference in New Issue
Block a user