-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing class-specific features (class_features_data) #21
Conversation
Sorry about the spam, long day... I will finish it on Friday |
Thanks so much. No worries about the 'spam', we can squash some commits down later. I appreciate your work |
Character init has a
|
Since I didn't put a setter method so that might be needed if the user is expected to manually modify the I am curious why "7 day cooldown" = 999 though? What is the 999? |
I am not sure if I found every ability with cooldown. The largest cooldown I would expect is 1 year. So I choose 999 day to signal all abilities are available. |
Okay. Your comments of '1 day' and '7 days' are referring to the cooldown that could be implemented. The 999 is just a suitably large number that the ability wouldn't be cooled down after reset. I think I understand. I will change the comments a bit and merge shortly. Thank you :) |
Sorry, I got busy yesterday. I'll work on this more tonight/tomorrow (probably tonight). I moved your new methods into a separate file as I want to start organizing the character class and splitting it up more. I started writing some tests but one is failing. I'll look at it tonight. |
Discussed in #19
Not discussed in #19:
get_class_features_data
function has two parameterclass_name
andlevel
. If multi class characters will be possible then this function will only need a wrapper which gets class levels and concats the results.get_class_features_data
is not enough. Counter types shouldn't be reseted!There is a huge amount of counter type mechanics. I double checked everything but it is possible I have missed something.
I created a simple test but it doesn't cover every edge case.
Closes #19