-
Notifications
You must be signed in to change notification settings - Fork 34
lc: Past Self in Mirror #301
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
missing last part of passive, enemy wave isn't supported
and rename listener
| energyAmt := 7.5 + 2.5*float64(lc.Imposition) | ||
| engine.Events().BattleStart.Subscribe(func(event event.BattleStart) { | ||
| for _, char := range engine.Characters() { | ||
| engine.ModifyEnergy(info.ModifyAttribute{ |
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.
needs to be ModifyEnergyFixed as it ignores ER
| // Restore 1 SP if BE >= 150% | ||
| if mod.OwnerStats().BreakEffect() >= 1.5 { | ||
| mod.Engine().ModifySP(info.ModifySP{ | ||
| Key: psim, | ||
| Source: mod.Owner(), | ||
| Amount: 1, | ||
| }) | ||
| } |
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: restore SP last
| amt := 0.2 + 0.04*mod.State().(float64) | ||
| for _, char := range mod.Engine().Characters() { | ||
| mod.Engine().AddModifier(char, info.Modifier{ | ||
| Name: psim, |
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.
need to separate main modifier (which contains main logic, is not considered a buff and doesn't have a duration) and this modifier (which is considered a dispellable buff and has a duration)
No description provided.