1
1
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:
2025-08-27 10:23:57 +08:00
parent 5b2c2f5cf7
commit 730f732ef1
27 changed files with 387 additions and 73 deletions
+3 -4
View File
@@ -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