Skip to content

Commit

Permalink
配置拼写错误修复(stanima 到 stamina)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsw945 authored and xiyoo0812 committed Oct 21, 2023
1 parent e5dfdf1 commit 57b43db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Binary file modified deploy/attribute.xlsm
Binary file not shown.
8 changes: 4 additions & 4 deletions server/config/attribute_cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ attribute:upsert({

attribute:upsert({
id = 3,
enum_key = 'ATTR_STANIMA',
nick = 'stanima',
enum_key = 'ATTR_STAMINA',
nick = 'stamina',
type = 'int',
increase = true,
})
Expand Down Expand Up @@ -56,8 +56,8 @@ attribute:upsert({

attribute:upsert({
id = 7,
enum_key = 'ATTR_STANIMA_MAX',
nick = 'stanima_max',
enum_key = 'ATTR_STAMINA_MAX',
nick = 'stamina_max',
type = 'int',
increase = true,
})
Expand Down
6 changes: 3 additions & 3 deletions server/config/player_attr_cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ player_attr:upsert({
})

player_attr:upsert({
key = 'ATTR_STANIMA',
key = 'ATTR_STAMINA',
range = 1,
save = true,
back = false,
limit = 'ATTR_STANIMA_MAX',
limit = 'ATTR_STAMINA_MAX',
})

player_attr:upsert({
Expand All @@ -53,7 +53,7 @@ player_attr:upsert({
})

player_attr:upsert({
key = 'ATTR_STANIMA_MAX',
key = 'ATTR_STAMINA_MAX',
range = 1,
save = false,
back = false,
Expand Down

0 comments on commit 57b43db

Please sign in to comment.