Commit 02f0180b authored by mallu11's avatar mallu11 Committed by mercury233

fix and use REASON_RULE (#1272)

parent 9ec84799
......@@ -61,7 +61,7 @@ function c11711438.stgop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==2 then
Duel.SendtoGrave(c,REASON_EFFECT)
Duel.SendtoGrave(c,REASON_RULE)
end
end
function c11711438.cfilter(c,tp)
......
......@@ -55,7 +55,7 @@ function c27642961.desop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==3 then
Duel.Destroy(c,REASON_EFFECT)
Duel.Destroy(c,REASON_RULE)
end
end
function c27642961.cfilter(c,tp)
......
......@@ -41,7 +41,7 @@ function c31476755.desop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==2 then
Duel.Destroy(c,REASON_EFFECT)
Duel.Destroy(c,REASON_RULE)
end
end
function c31476755.efilter(e,re)
......
......@@ -60,7 +60,7 @@ function c39373426.desop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==3 then
Duel.Destroy(c,REASON_EFFECT)
Duel.Destroy(c,REASON_RULE)
end
end
function c39373426.cncfilter(c,tp)
......
......@@ -34,7 +34,7 @@ function c42925441.target(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetRange(LOCATION_SZONE)
e1:SetCondition(c42925441.descon)
e1:SetOperation(c42925441.desop)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,3)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN,2)
c:SetTurnCounter(0)
c:RegisterEffect(e1)
if c42925441.effcost(e,tp,eg,ep,ev,re,r,rp,0)
......@@ -54,7 +54,7 @@ function c42925441.desop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==2 then
Duel.Destroy(c,REASON_EFFECT)
Duel.SendtoGrave(c,REASON_RULE)
end
end
function c42925441.effcost(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -75,7 +75,7 @@ function c60202749.sdescon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp and Duel.GetTurnCount()~=e:GetLabel()
end
function c60202749.sdesop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(e:GetHandler(),REASON_EFFECT)
Duel.Destroy(e:GetHandler(),REASON_RULE)
end
function c60202749.aclimit(e,re,tp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_SPELL)
......
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