diff --git a/modules/hero/configure_comp.go b/modules/hero/configure_comp.go
index dd13398da..b88f23993 100644
--- a/modules/hero/configure_comp.go
+++ b/modules/hero/configure_comp.go
@@ -38,20 +38,18 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
err = this.MCompConfigure.Init(service, module, comp, options)
err = this.LoadMultiConfigure(map[string]interface{}{
- new_hero: cfg.NewGamehero,
- hero_stargrow: cfg.NewGameheroStargrow,
- hero_levelgrow: cfg.NewGameheroLevelgrow,
- hero_starup: cfg.NewGameheroStarup,
- hero_levelup: cfg.NewGameheroLevelup,
- hero_exp: cfg.NewGameheroExp,
- hero_skillup: cfg.NewGameheroSkillLevel,
- game_skillatk: cfg.NewGameskillAtk,
- hero_resonance: cfg.NewGameheroResonance,
- hero_comatn: cfg.NewGamecomAtn,
- hero_awaken: cfg.NewGameheroAwaken,
- hero_drawcard: cfg.NewGamedrawCard,
- hero_drawupdraw: cfg.NewGame_drawUpdraw,
- //hero_drawcost: cfg.NewGamedrawCost,
+ new_hero: cfg.NewGamehero,
+ hero_stargrow: cfg.NewGameheroStargrow,
+ hero_levelgrow: cfg.NewGameheroLevelgrow,
+ hero_starup: cfg.NewGameheroStarup,
+ hero_levelup: cfg.NewGameheroLevelup,
+ hero_exp: cfg.NewGameheroExp,
+ hero_skillup: cfg.NewGameheroSkillLevel,
+ game_skillatk: cfg.NewGameskillAtk,
+ hero_resonance: cfg.NewGameheroResonance,
+ hero_comatn: cfg.NewGamecomAtn,
+ hero_awaken: cfg.NewGameheroAwaken,
+ hero_drawcard: cfg.NewGamedrawCard,
})
this.drawCardCfg = make(map[string]map[int32][]*cfg.GamedrawCardData, 0)
@@ -383,21 +381,3 @@ func (this *configureComp) GetHeroAwakenConfig() (configure *cfg.GameheroAwaken,
return
}
-
-// 抽卡概率提高
-func (this *configureComp) GetDrawUpDrawConfig() (configure *cfg.Game_drawUpdraw, err error) {
- var (
- v interface{}
- ok bool
- )
- if v, err = this.GetConfigure(hero_drawupdraw); err == nil {
- if configure, ok = v.(*cfg.Game_drawUpdraw); !ok {
- err = fmt.Errorf("%T no is *cfg.Game_drawUpdraw", v)
- return
- }
- } else {
- err = fmt.Errorf("%T no is *cfg.Game_drawUpdraw", v)
- }
-
- return
-}
diff --git a/sys/configure/structs/game.drawUpdraw.go b/sys/configure/structs/game.drawUpdraw.go
deleted file mode 100644
index 0cea3ae06..000000000
--- a/sys/configure/structs/game.drawUpdraw.go
+++ /dev/null
@@ -1,42 +0,0 @@
-
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-package cfg
-
-type Game_drawUpdraw struct {
- _dataMap map[int32]*Game_drawUpdrawData
- _dataList []*Game_drawUpdrawData
-}
-
-func NewGame_drawUpdraw(_buf []map[string]interface{}) (*Game_drawUpdraw, error) {
- _dataList := make([]*Game_drawUpdrawData, 0, len(_buf))
- dataMap := make(map[int32]*Game_drawUpdrawData)
- for _, _ele_ := range _buf {
- if _v, err2 := NewGame_drawUpdrawData(_ele_); err2 != nil {
- return nil, err2
- } else {
- _dataList = append(_dataList, _v)
- dataMap[_v.Key] = _v
- }
- }
- return &Game_drawUpdraw{_dataList:_dataList, _dataMap:dataMap}, nil
-}
-
-func (table *Game_drawUpdraw) GetDataMap() map[int32]*Game_drawUpdrawData {
- return table._dataMap
-}
-
-func (table *Game_drawUpdraw) GetDataList() []*Game_drawUpdrawData {
- return table._dataList
-}
-
-func (table *Game_drawUpdraw) Get(key int32) *Game_drawUpdrawData {
- return table._dataMap[key]
-}
-
-
diff --git a/sys/configure/structs/game.drawUpdrawData.go b/sys/configure/structs/game.drawUpdrawData.go
deleted file mode 100644
index 34ea70783..000000000
--- a/sys/configure/structs/game.drawUpdrawData.go
+++ /dev/null
@@ -1,76 +0,0 @@
-
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-package cfg
-
-import "errors"
-
-type Game_drawUpdrawData struct {
- Key int32
- TimeOn int32
- TimeOff int32
- UpHero []string
- UpWeight []int32
- TriggerNum int32
- IncreaseWeight []int32
-}
-
-func (Game_drawUpdrawData) GetTypeId() int {
- return 297664649
-}
-
-func NewGame_drawUpdrawData(_buf map[string]interface{}) (_v *Game_drawUpdrawData, err error) {
- _v = &Game_drawUpdrawData{}
- { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["key"].(float64); !_ok_ { err = errors.New("key error"); return }; _v.Key = int32(_tempNum_) }
- { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["time_on"].(float64); !_ok_ { err = errors.New("time_on error"); return }; _v.TimeOn = int32(_tempNum_) }
- { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["time_off"].(float64); !_ok_ { err = errors.New("time_off error"); return }; _v.TimeOff = int32(_tempNum_) }
- {
- var _arr_ []interface{}
- var _ok_ bool
- if _arr_, _ok_ = _buf["up_hero"].([]interface{}); !_ok_ { err = errors.New("up_hero error"); return }
-
- _v.UpHero = make([]string, 0, len(_arr_))
-
- for _, _e_ := range _arr_ {
- var _list_v_ string
- { if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
- _v.UpHero = append(_v.UpHero, _list_v_)
- }
- }
-
- {
- var _arr_ []interface{}
- var _ok_ bool
- if _arr_, _ok_ = _buf["up_weight"].([]interface{}); !_ok_ { err = errors.New("up_weight error"); return }
-
- _v.UpWeight = make([]int32, 0, len(_arr_))
-
- for _, _e_ := range _arr_ {
- var _list_v_ int32
- { var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
- _v.UpWeight = append(_v.UpWeight, _list_v_)
- }
- }
-
- { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["trigger_num"].(float64); !_ok_ { err = errors.New("trigger_num error"); return }; _v.TriggerNum = int32(_tempNum_) }
- {
- var _arr_ []interface{}
- var _ok_ bool
- if _arr_, _ok_ = _buf["Increase_weight"].([]interface{}); !_ok_ { err = errors.New("Increase_weight error"); return }
-
- _v.IncreaseWeight = make([]int32, 0, len(_arr_))
-
- for _, _e_ := range _arr_ {
- var _list_v_ int32
- { var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
- _v.IncreaseWeight = append(_v.IncreaseWeight, _list_v_)
- }
- }
-
- return
-}