mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
refactor(FieldStore): 移除EXTRA_BULLET_COUNT相关代码
清理不再使用的EXTRA_BULLET_COUNT功能代码,简化entityApplier结构
This commit is contained in:
@@ -101,10 +101,6 @@ static var entityApplier = {
|
|||||||
entity.inventoryMax[ItemStore.ItemType.APPLE] += value
|
entity.inventoryMax[ItemStore.ItemType.APPLE] += value
|
||||||
return true
|
return true
|
||||||
,
|
,
|
||||||
Entity.EXTRA_BULLET_COUNT: func(entity, value):
|
|
||||||
entity.fields[Entity.OFFSET_SHOOT] += value * 3
|
|
||||||
return true
|
|
||||||
,
|
|
||||||
}
|
}
|
||||||
static var entityViewCastMap = {
|
static var entityViewCastMap = {
|
||||||
Entity.EXTRA_APPLE_MAX: func(entity, _value):
|
Entity.EXTRA_APPLE_MAX: func(entity, _value):
|
||||||
|
|||||||
Reference in New Issue
Block a user