MeltWS / ProShinePathfinder

A Lua script for PROShine that move your bot anywhere the world with a single line of code.
MIT License
2 stars 12 forks source link

Add functions #17

Open vladslav opened 7 years ago

vladslav commented 7 years ago

getMapSpawn(map,zone) {zone is optional} getPokemonEV(pokemonName,effort) {effort is optional}

Zonz commented 7 years ago

This is one small step for man, one giant leap towards being able to do literally anything with PROShine. You sure you don't want to add a function to brush your teeth for you too? ;)

In all seriousness though, I'd like to suggest adding some sort of function to check if a particular map is "good" for training a particular EV in, or perhaps move to the nearest map that's "good" for a particular EV. Just a thought I had while reading through some of this.

Also, the parts where it says "zone = zone or nil" and "effort = effort or nil" are unnecessary since parameters are already nil when no parameter is passed.