mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 15:42:25 +08:00
角色升级完善
This commit is contained in:
@@ -21,4 +21,5 @@ func InitConstant() {
|
||||
InitStaminaCostConst()
|
||||
InitWeaponTypeConst()
|
||||
InitGCGTokenConst()
|
||||
InitItemConstantConst()
|
||||
}
|
||||
|
||||
23
common/constant/item_constant.go
Normal file
23
common/constant/item_constant.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package constant
|
||||
|
||||
var ItemConstantConst *ItemConstant
|
||||
|
||||
type ItemConstant struct {
|
||||
HCOIN uint32 // 原石 201
|
||||
SCOIN uint32 // 摩拉 202
|
||||
MCOIN uint32 // 创世结晶 203
|
||||
RESIN uint32 // 树脂 106
|
||||
LEGENDARY_KEY uint32 // 传说任务钥匙 107
|
||||
HOME_COIN uint32 // 洞天宝钱 204
|
||||
}
|
||||
|
||||
func InitItemConstantConst() {
|
||||
ItemConstantConst = new(ItemConstant)
|
||||
|
||||
ItemConstantConst.HCOIN = 201
|
||||
ItemConstantConst.SCOIN = 202
|
||||
ItemConstantConst.MCOIN = 203
|
||||
ItemConstantConst.RESIN = 106
|
||||
ItemConstantConst.LEGENDARY_KEY = 207
|
||||
ItemConstantConst.HOME_COIN = 204
|
||||
}
|
||||
Reference in New Issue
Block a user