Commit c83ab936 authored by IMJoyJ's avatar IMJoyJ

modify skill 99177923 from ToGrave to Exile

parent aa35b388
...@@ -256,8 +256,6 @@ oneTimeSkill(21082832, function(e,tp,eg,ep,ev,re,r,rp) ...@@ -256,8 +256,6 @@ oneTimeSkill(21082832, function(e,tp,eg,ep,ev,re,r,rp)
end end
end) end)
function c18940556_tgtg(e,tp,eg,ep,ev,re,r,rp,chk) function c18940556_tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetAttacker()==e:GetHandler() and Duel.GetAttackTarget() end if chk==0 then return Duel.GetAttacker()==e:GetHandler() and Duel.GetAttackTarget() end
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_ONFIELD+LOCATION_HAND,nil) local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_ONFIELD+LOCATION_HAND,nil)
...@@ -333,7 +331,9 @@ addSkill(99177923, function(e1) ...@@ -333,7 +331,9 @@ addSkill(99177923, function(e1)
end) end)
endPhaseSkill(99177923, function(e,tp,eg,ep,ev,re,r,rp) endPhaseSkill(99177923, function(e,tp,eg,ep,ev,re,r,rp)
Duel.DiscardDeck(tp,8,REASON_EFFECT) local g=Duel.GetDecktopGroup(tp,8)
Duel.DisableShuffleCheck()
Duel.Exile(g,REASON_EFFECT)
end, function(e,tp,eg,ep,ev,re,r,rp) end, function(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)<=0 return Duel.GetLP(tp)<=0
end) 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