1
0
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:
Deukhoofd
2016-03-07 22:54:52 +01:00
parent 67c81dd7e5
commit 60db98d9f8
7 changed files with 90915 additions and 68194 deletions

View File

@@ -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