任务修复

This commit is contained in:
hahwu 2025-04-22 17:29:41 +08:00
parent e37366c71a
commit 76b60c892a

View File

@ -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
}