Injabie3 / LLSIF-Helper

A program to help LLSIF gamers calculate things. WIP
1 stars 1 forks source link

Keep Track of # songs played in event in Base Class #11

Closed abuneri closed 8 years ago

abuneri commented 8 years ago

will help with the calculation of average score if we have a way to let the user increment number of songs played, also is just good data to have across all events

Injabie3 commented 8 years ago

You mean just straight up the number of songs played? We need a hard definition of what you want that to represent, like:

abuneri commented 8 years ago

sorry for late response @Injabie3 somehow i missed seeing this. i would just need the number of songs the person has played related to the event song. cuz i need to keep calculating average score, so would be easy if i could access a variable that was already been tracked in base class and just use that to divide by the sum of the score

EDIT: it wont be exact because of token collection, but the simple fix for that would be to just add on the amount of tokens they had in total and divide it by one of the max LP's (eg 27 for expert song) and it would give a pretty close approximation. this is all of course in addition to keeping track of the amount of times they play actual event songs (easier to implement for scorematch).

does this kinda make sense?

abuneri commented 8 years ago

i also just remembered that average score is only needed for sccore match (not sure about medley festival but we'll cross that bridge later) so it simply just needs to be the number of songs they do in score match

Injabie3 commented 8 years ago

So number of songs played overall in the event? Sounds good.

Injabie3 commented 8 years ago

Implemented in 28da7f706a5108ecc090b6dc9f10bc379385baf0