--because Duel.SSet use confirm as parameter, so, i have no choice but directly make it hint.(in other solve_fun, the order is first hint and second confirm)
rsop.CheckOperationHint(tg)
localct=Duel.SSet(setp,tg,targetp,confirm)
localog=Duel.GetOperatedGroup()
returnct,og,og:GetFirst()
end
end
end
end
--Operation: Equip
--Operation: Equip
...
@@ -2769,7 +2764,7 @@ function rsop.CheckOperateSuccess(solve_loc, check_count)
...
@@ -2769,7 +2764,7 @@ function rsop.CheckOperateSuccess(solve_loc, check_count)
ifcheck_countthen
ifcheck_countthen
return#success_g==check_count,success_g
return#success_g==check_count,success_g
else
else
return#success_g>0,success_g
return#success_g>0,#success_g,success_g
end
end
end
end
--Operation: Send to Deck and Draw
--Operation: Send to Deck and Draw
...
@@ -2804,119 +2799,218 @@ function rsop.CheckOperationHint(g, hint, confirm)
...
@@ -2804,119 +2799,218 @@ function rsop.CheckOperationHint(g, hint, confirm)
end
end
returnis_hint,is_confirm
returnis_hint,is_confirm
end
end
--Operation function:Send to hand and confirm or hint