g0ldPRO / Questing.lua

A Lua script for PROShine that plays Pokemon Revolution Online for you from the very Start to as far as possible.
http://g0ldpro.github.io/Questing.lua/
Do What The F*ck You Want To Public License
5 stars 7 forks source link

Try to drink a potion on route 1 #5

Closed Silv3rPRO closed 8 years ago

Silv3rPRO commented 8 years ago

Bot started Starting new quest: Viridian School: from Route 1 to Route 2 System: The Server is currently full.HP

Route 1 with a full-health Squirtle. Don't mind the error message, it looks weird because of a bug in PROShine. The original message is Your Pokemon already has full HP!.

Probably comes from this piece of code:

function ViridianSchoolQuest:Route1()
    if self:needPokecenter() then
        if useItemOnPokemon("Potion", 1) then
            return true
        end
    end
    return moveToMap("Route 1 Stop House")
end
g0ldPRO commented 8 years ago

Thank you.
Fixed in commit 126c8da8f9a853a9d8ddb95d730e35436c83f55c