ensingm2 / SteamMonsterGameScript

A Javascript automator for the 2015 Summer Steam Monster Minigame
78 stars 29 forks source link

Have "survivalTime" as a variable #169

Closed Besfr closed 9 years ago

Besfr commented 9 years ago

It seems that when you play with a lot of ppl using script we could reduce the survivalTime to have a better economy for damage upgrade.

Is it possible to have this value as a variable ?

ensingm2 commented 9 years ago

Are you talking about the time until death of the player? Current target? Lane? Level? Game?

Most of these are already implemented around the script in various places, just not accessible to the user. It'd be easy to make them accessible though. What would it be used for? Displayed in stats, or used in some calculation somewhere?

It seems that when you play with a lot of ppl using script we could reduce the survivalTime to have a better economy for damage upgrade.

Not trying to be mean or anything, but I honestly don't understand this sentence. Could you rephrase?

vanZeben commented 9 years ago

Im doing this right now, he means the expected health in the auto upgrade script... Lowering it will make you focus more on dmg upgrades, and less on staying alive for x amount of time

ensingm2 commented 9 years ago

Ah, yeah sounds good.

Besfr commented 9 years ago

Sorry for my bad english ensingm2, vanZeben understand well, i saw that the survivalTime variable is used to determine if the autobuyer script buy a heal upgrade or not.

I'm currently on the room #4 on reddit and my life don't move at all. Maybe it's just a side effect, but there is so many heal that i assume we can find a way to reduce these upgrade and focus a little bit more on damage snapshot2

I'm not sure if we can add a variance in that, depending of how many heal abilities are used or available. Also, it seems that buying a heal upgrade heal up to full life, can someone else valid that ? and can we use this to improve the heal autobuyer with some sort of healing manager ?

BTW thx for you awesome work on that script!