mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
fix: 修复死亡原因显示和游戏结束逻辑
修正死亡原因文本格式并移除重复条目 重构游戏结束面板的消息生成逻辑 调整牧羊犬角色描述和移除调试属性 清理猞猁角色的多余武器节点 修复字段应用器的逻辑判断错误
This commit is contained in:
@@ -51,7 +51,7 @@ func apply(entity: EntityBase):
|
||||
var value = fieldValues[i]
|
||||
entity.fields[field] += value
|
||||
var applier = FieldStore.entityApplier.get(field)
|
||||
if applier and applier.call(entity, value):
|
||||
if applier and !applier.call(entity, value):
|
||||
entity.fields[field] -= value
|
||||
entity.fields[field] = clamp(entity.fields[field], FieldStore.entityMinValueMap.get(field, 0), FieldStore.entityMaxValueMap.get(field, INF))
|
||||
for i in weapons:
|
||||
|
||||
Reference in New Issue
Block a user