From 470258485166c1542dd3873bdefba2fb17595f35 Mon Sep 17 00:00:00 2001 From: Charlie Zheng Date: Mon, 13 Feb 2023 15:11:24 -0700 Subject: [PATCH] Fixed the default element of HP drops --- pkg/gcs/ast/parseTarget.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gcs/ast/parseTarget.go b/pkg/gcs/ast/parseTarget.go index c2c3e9f16..aa2ce1774 100644 --- a/pkg/gcs/ast/parseTarget.go +++ b/pkg/gcs/ast/parseTarget.go @@ -12,6 +12,7 @@ func parseTarget(p *Parser) (parseFn, error) { var err error var r enemy.EnemyProfile r.Resist = make(map[attributes.Element]float64) + r.ParticleElement = attributes.NoElement for n := p.next(); n.Typ != itemEOF; n = p.next() { switch n.Typ { case itemIdentifier: