Commit 6b00ba44 authored by wind2009's avatar wind2009 Committed by GitHub

Fix 補強要員 (#2723)

parent 2577f20b
...@@ -35,12 +35,14 @@ end ...@@ -35,12 +35,14 @@ end
function s.act(e,tp,eg,ep,ev,re,r,rp) function s.act(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER) local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local d=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD) local d=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD)
Duel.Draw(p,d,REASON_EFFECT) local dc=Duel.Draw(p,d,REASON_EFFECT)
Duel.BreakEffect() if dc>0 then
Duel.ShuffleHand(tp) Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.GetFieldGroup(p,LOCATION_HAND,0):Select(p,d,d,nil) local g=Duel.GetFieldGroup(p,LOCATION_HAND,0):Select(p,dc,dc,nil)
aux.PlaceCardsOnDeckBottom(tp,g) Duel.ShuffleHand(tp)
aux.PlaceCardsOnDeckBottom(tp,g)
end
end end
function s.setcon(e,tp,eg,ep,ev,re,r,rp) function s.setcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_END return Duel.GetCurrentPhase()==PHASE_END
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment