mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
Add import configuration for Chomp.wav audio effect
This commit is contained in:
@@ -64,8 +64,7 @@ func apply(entity: EntityBase):
|
||||
for i in range(min(fields.size(), fieldValues.size())):
|
||||
var field = fields[i]
|
||||
var value = fieldValues[i]
|
||||
entity.fields[field] += value
|
||||
if field == FieldStore.Entity.MAX_HEALTH:
|
||||
entity.health += value
|
||||
print(entity.fields)
|
||||
var applier = FieldStore.entityApplier.get(field, null)
|
||||
if !applier or applier.call(entity, value):
|
||||
entity.fields[field] += value
|
||||
return allHave
|
||||
|
||||
Reference in New Issue
Block a user