优化
This commit is contained in:
parent
cf4b4370e0
commit
dda545ad0d
@ -156,7 +156,7 @@ func GetAllPartId() []int {
|
||||
data, err := gamedata.GetDataByKey(DECORATE_CONST, "AllPartId")
|
||||
if err != nil {
|
||||
log.Debug("DecorateCost GetAllPartId not found")
|
||||
return []int{1, 2, 3, 4}
|
||||
return []int{1505, 1515, 1525, 1535}
|
||||
}
|
||||
var PartIdList []int
|
||||
str := gamedata.GetStringValue(data, "Value")
|
||||
|
||||
@ -53,7 +53,7 @@ func (gt *GuideTaskMod) Login() {
|
||||
}
|
||||
LoginDay := (GoUtil.Now()-gt.UnlockTime)/86400 + 1
|
||||
gt.LoginDay[int(LoginDay)] = struct{}{}
|
||||
gt.Trigger(&quest.Trigger{Label: quest.TRIGGER_LABEL_LOGIN, A: []interface{}{len(gt.LoginDay)}})
|
||||
gt.Trigger(&quest.Trigger{Label: quest.TRIGGER_LABEL_GUIDE_LOGIN, A: []interface{}{len(gt.LoginDay)}})
|
||||
}
|
||||
|
||||
func (gt *GuideTaskMod) Unlock(lv int) bool {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user