Commit 76aa88c7 authored by POLYMER's avatar POLYMER

fix

parent fdfe110d
......@@ -115,7 +115,7 @@ function VHisc_MRSH.dsp(ec,cid)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,cid+10000)
e1:SetCondition(VHisc_MRSH.spcon)
--e1:SetCondition(VHisc_MRSH.spcon)
e1:SetTarget(VHisc_MRSH.sptg)
e1:SetOperation(VHisc_MRSH.spop)
ec:RegisterEffect(e1)
......
......@@ -61,7 +61,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp,chk)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(1,0)
e2:SetLabelObject(tc)
e2:SetTarget(function(e,te,tp)return te:GetHandler()==e:GetHandler() end)
e2:SetTarget(function(e,te,tp)return te==ce and te:GetHandler()==e:GetHandler()end)
e2:SetCost(cm.costchk)
e2:SetOperation(cm.costop2)
e2:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END,1)
......@@ -80,5 +80,4 @@ function cm.costchk(e,te_or_c,tp)
end
function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(e:GetLabelObject(),REASON_COST)
e:Reset()
end
......@@ -45,7 +45,7 @@ function c98920224.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
if not Duel.IsPlayerCanSpecialSummonCount(tp,2) then return false end
if Duel.IsPlayerAffectedByEffect(tp,59822133) then return false end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=2 then return false end
if Duel.GetMZoneCount(tp,e:GetHandler())<2 then return false end
local cg=Duel.GetMatchingGroup(c98920224.chkfilter,tp,LOCATION_EXTRA,0,nil,tp)
if #cg==0 then return false end
local g=Duel.GetMatchingGroup(c98920224.spfilter,tp,LOCATION_DECK,0,nil,e,tp)
......
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