mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 14:22:26 +08:00
GCG技能初步 但有很多问题
This commit is contained in:
@@ -20,4 +20,5 @@ func InitConstant() {
|
||||
InitEntityTypeConst()
|
||||
InitStaminaCostConst()
|
||||
InitWeaponTypeConst()
|
||||
InitGCGTokenConst()
|
||||
}
|
||||
|
||||
19
common/constant/gcg_token_type.go
Normal file
19
common/constant/gcg_token_type.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package constant
|
||||
|
||||
var GCGTokenConst *GCGTokenType
|
||||
|
||||
type GCGTokenType struct {
|
||||
TOKEN_CUR_HEALTH uint32 // 现行血量
|
||||
TOKEN_MAX_HEALTH uint32 // 最大血量(不确定)
|
||||
TOKEN_CUR_ELEM uint32 // 现行充能
|
||||
TOKEN_MAX_ELEM uint32 // 最大充能(充能条长度)
|
||||
}
|
||||
|
||||
func InitGCGTokenConst() {
|
||||
GCGTokenConst = new(GCGTokenType)
|
||||
|
||||
GCGTokenConst.TOKEN_CUR_HEALTH = 1
|
||||
GCGTokenConst.TOKEN_MAX_HEALTH = 2
|
||||
GCGTokenConst.TOKEN_CUR_ELEM = 4
|
||||
GCGTokenConst.TOKEN_MAX_ELEM = 5
|
||||
}
|
||||
Reference in New Issue
Block a user