任务修复
This commit is contained in:
parent
e37366c71a
commit
76b60c892a
@ -92,11 +92,11 @@ func TriggerQuestProgress(q *QuestProgress, Tr *Trigger) bool {
|
||||
q.Num += 1
|
||||
}
|
||||
case TRIGGER_LABEL_PETDRESS: // 换装x次
|
||||
if len(Tr.A) == 0 {
|
||||
if len(q.A) == 0 {
|
||||
return false
|
||||
}
|
||||
DressType := GoUtil.Int(Tr.A[0])
|
||||
Ids := q.A[0].([]int)
|
||||
DressType := GoUtil.Int(q.A[0])
|
||||
Ids := Tr.A[0].([]int)
|
||||
if GoUtil.InArray(DressType, Ids) {
|
||||
q.Num += 1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user