From e9fc0c1696ff7330a5e4605bd39ce89574a72fa8 Mon Sep 17 00:00:00 2001 From: HanSeoulOh Date: Thu, 3 Mar 2022 11:45:44 -0500 Subject: [PATCH] hydro resonance fixes #364 (#365) * hydro resonance * fix event log --- pkg/simulation/resonance.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/simulation/resonance.go b/pkg/simulation/resonance.go index 1fcb850e3..d7ffdacdd 100644 --- a/pkg/simulation/resonance.go +++ b/pkg/simulation/resonance.go @@ -21,7 +21,10 @@ func (s *Simulation) initResonance(count map[core.EleType]int) { } case core.Hydro: //heal not implemented yet - s.C.Log.NewEvent("adding hydro resonance (NO IMPLEMENTED)", core.LogSimEvent, -1) + s.C.Log.NewEvent("adding hydro resonance", core.LogSimEvent, -1) + s.C.Health.AddIncHealBonus(func(healedCharIndex int) float64 { + return 0.3 + }) case core.Cryo: s.C.Log.NewEvent("adding cryo resonance", core.LogSimEvent, -1) val := make([]float64, core.EndStatType)