派遣额外要求

This commit is contained in:
wh_zcy 2023-03-15 14:23:37 +08:00
parent 1ede1a934e
commit a5ee8db5ed

View File

@ -306,12 +306,15 @@ func (this *modelDispatch) validHeroCond(uid string, taskId int32, heroId string
case 1: //校验英雄的基础条件
if hero.Lv >= v.Param {
ok1 = true
return
}
}
}
for _, v := range gd.Taskreqex {
switch v.Key {
case 2: //校验英雄的额外要求
if hero.Star >= v.Param {
ok2 = true
return
}
}
}