Skip to content

Conversation

@6000j
Copy link

@6000j 6000j commented Oct 27, 2024

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:

  1. The implementation of the check for repeated paths is pretty inefficient, but I couldn't think of any better way to implement it that didn't require more overhead.
  2. The testchar Bronya 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.

Copy link
Collaborator

@kdovtdc kdovtdc left a 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,
Copy link
Collaborator

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

Copy link
Collaborator

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)
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants