Skip to content

implementation for 5* lightcone: BeforeDawn#15

Merged
kylebartz merged 3 commits intosimimpact:mainfrom
Vessv:srsimves
Jun 12, 2023
Merged

implementation for 5* lightcone: BeforeDawn#15
kylebartz merged 3 commits intosimimpact:mainfrom
Vessv:srsimves

Conversation

@Vessv
Copy link
Collaborator

@Vessv Vessv commented Jun 12, 2023

Added the lightcone beforedawn.

Name: SomnusCorpus,
Source: mod.Owner(),
State: &somnusState{
amt: amt * 2.66666666667,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than doing this kind of math which will probably end up with precision differences from game, how about we create a custom state struct for the before dawn modifier? That state struct can have 3 values (the value for each modifier) and then can calculate each exactly in the Create function

Alternatively, make state = float64(lc.Ascension) and do the calcs in each listener

@kylebartz kylebartz merged commit 6b861b4 into simimpact:main Jun 12, 2023
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.

2 participants