#7 Generate option, #1 base happiness and some other things #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #7 Added Pokemon.prototype.generate(id, level), which generates a pokemon with id at level.
Example a level 100 Mismagius output: {"num":200,"nick":"Misdreavus","gender":1,"ability":26,"item":0,"level":100,"ivs":{"hp":27,"att":18,"def":29,"spAtt":27,"spDef":13,"speed":27},"evs":{"hp":0,"att":0,"def":0,"spAtt":0,"spDef":0,"speed":0},"moves":["288","195","247","371"],"nature":9,"shiny":false,"happiness":"35"}
#1 Also added the base happiness data since that was needed for generate (though it wasn't that important, but I decided it's better than a base 70).
Fixed the commands message not being sent on login by using the new defaultChan param (originally I just made it send to all channels if this.channel was undefined, but I think that would be a one time thing and I don't think it's worth the extra lines)
Oh and I finally made pokeinfo part of the main scripts :x