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
51d41515ef
Simplify expression with ternary
2020-08-18 20:19:58 +02:00
c827e21506
Extract helper method to reset rhythm strain
2020-08-18 20:19:58 +02:00
80e4c15727
Use Math.Clamp
2020-08-18 20:19:58 +02:00
ce0e5cf9a1
Slightly optimise and de-branch rhythm pattern recognition
2020-08-18 20:19:58 +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
c6a640db55
Remove superfluous IsRepeat field
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
d2a03f1146
Refactor TaikoDifficultyHitObject
2020-08-13 00:59:22 +09:00
c44ac9104f
Fix post-merge error
2020-07-17 14:19:43 +09:00
98accf2777
Merge branch 'master' into morth-taiko-changes
2020-07-17 14:19:32 +09:00
87713215dc
Remove redundant parens
2020-07-16 14:30:17 +09:00
352f59942e
Fix incorrect time delta in taiko strain
2020-07-13 16:50:54 +09:00
68027fcc2c
Update with latest changes
2020-06-08 16:30:26 +09:00
5852a37eb7
Update with latest changes
2020-05-24 11:48:56 +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
7f4643a83d
Adjust naming
2019-02-18 14:55:39 +09:00
46b979a412
Fix colour changes not being reset
2019-02-18 14:55:20 +09:00
cb17cbcdc4
Fix taiko nullrefing
2019-02-18 14:54:35 +09:00
25d85b6eb4
Implement new difficulty calculator for Rulesets.Taiko
2019-02-18 14:54:21 +09:00