Commit Graph

19 Commits

Author SHA1 Message Date
176b3e7533 changed decay system to allow for customizing the currentStrain 2021-08-16 22:14:29 +00:00
85d2b1232a Refactor to abstract out strain logic into StrainSkill class
While it is the case for the existing official Skills, Skill implementations shouldn't be required to conform to a strain based approach.
There are other valid approaches to calculating skill difficulty that can be supported by abstracting the strain logic into its own StrainSkill class.
2021-04-03 20:52:39 +11:00
66643a97b0 Add a list of mods to Skill class
Although this isn't necessary for existing official rulesets and calculators, custom calculators can have use cases for accessing mods in difficulty calculation.
For example, accounting for the effects of visual mods.
2021-02-20 20:37:44 +11:00
a350802158 Fix wrong mono streak length handling in corner case 2020-09-10 20:50:26 +02:00
6e5c5ab901 Fix invalid initial value of currentMonoLength 2020-09-10 18:22:49 +02:00
a080774799 Add xmldoc to taiko difficulty calculation code 2020-08-22 19:44:58 +02:00
8ace7df0fd Reorder members for better readability 2020-08-22 19:34:49 +02:00
cb3fef7616 Inline same parity penalty 2020-08-22 19:34:49 +02:00
d7ff3d77eb Slightly optimise and de-branch repetition pattern recognition 2020-08-18 20:19:58 +02:00
00ae456f08 Remove unnecessary null check 2020-08-18 20:19:58 +02:00
6c759f31f1 Add and use limited capacity queue 2020-08-18 20:19:58 +02:00
9fb494d5d3 Eliminate unnecessary loop 2020-08-18 17:36:23 +02:00
8ded5925ff Xmldoc colour strain 2020-08-13 13:47:35 +09:00
5010d2044a Replace IsKat with HitType 2020-08-13 01:35:56 +09:00
68027fcc2c Update with latest changes 2020-06-08 16:30:26 +09:00
9461097b00 Update with latest changes 2020-05-22 20:50:21 +09:00
b0ed39f32b Do not use statics 2020-05-11 14:57:47 +09:00
779af48802 Resolve errors + auto-format 2020-05-11 14:53:42 +09:00
d613888803 Add initial changes 2020-05-11 14:50:02 +09:00