-
Notifications
You must be signed in to change notification settings - Fork 34
Light Cone: Poised to Bloom #319
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
base: main
Are you sure you want to change the base?
Conversation
* fix tests failing due to not waiting for sim to finish * move wait to tear down
… poised-to-bloom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment on lc implementation only
ChatGPT gave some interesting ideas
| modifier.Register(poised, modifier.Config{}) | ||
|
|
||
| modifier.Register(poisedCritDmg, modifier.Config{ | ||
| Stacking: modifier.Unique, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requires StatusType: model.StatusType_STATUS_BUFF,
nit: Stacking is Unique by default so can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can also use CanDispel: true, now
|
|
||
| func Create(engine engine.Engine, owner key.TargetID, lc info.LightCone) { | ||
| atkAmt := 0.12 + 0.04*float64(lc.Imposition) | ||
| critDmgAmt := 0.12 + 0.04*float64(lc.Imposition) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can use the same variable for both
Implemented the lightcone Poised To Bloom and unit tests for it, which included creating new testchars and new testcones to be able to test the functionality of the lc.
Main potential concerns are:
testcharBronya has Dance Dance Dance as her default LC, which might cause potential test annoyances in the future. This is a minor issue if one at all; any suggestions on better LCs to use would be appreciated.