Commit 009244f3 authored by Tachibana's avatar Tachibana

watele

parent fb907126
Pipeline #6657 passed with stages
in 25 minutes and 51 seconds
......@@ -76,8 +76,8 @@ function c85401200.op(e,tp,eg,ep,ev,re,r,rp)
e2:SetOperation(c85401200.opp)
e:GetHandler():RegisterEffect(e2)
------随机攻击
e:GetHandler():RegisterFlagEffect(85401201,RESET_EVENT+RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(85401201,2))
e:GetHandler():RegisterFlagEffect(85401200,RESET_EVENT+RESET_PHASE+RESET_SELF_TURN+PHASE_END,0,3)
e:GetHandler():RegisterFlagEffect(85401201,RESET_EVENT+RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(85401200,2))
e:GetHandler():RegisterFlagEffect(85401200,RESET_EVENT+RESET_PHASE+RESET_SELF_TURN+PHASE_END,EFFECT_FLAG_CLIENT_HINT,3,0,aux.Stringid(85401200,3))
end
function c85401200.tgg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,0,LOCATION_MZONE,1,nil) end
......
......@@ -94,7 +94,7 @@ function c85402210.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if tg:GetCount()>0 then
local tc=tg:GetFirst()
if tc:GetDefense()+tc:GetLink()*700<=e:GetHandler():GetAttack()-1200 then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
end
end
end
......@@ -135,7 +135,7 @@ function c85402210.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if tg:GetCount()>0 then
local tc=tg:GetFirst()
if tc:GetDefense()+tc:GetLink()*700<=e:GetHandler():GetAttack()-1200 then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
end
end
end
......@@ -163,7 +163,7 @@ function c85402210.op1(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
Duel.Destroy(tc,REASON_EFFECT)
end
e:GetHandler():RegisterFlagEffect(85401200,RESET_EVENT+RESET_PHASE+RESET_OPPO_TURN+PHASE_END,0,2)
e:GetHandler():RegisterFlagEffect(85402210,RESET_EVENT+RESET_PHASE+RESET_OPPO_TURN+PHASE_END,EFFECT_FLAG_CLIENT_HINT,2,0,aux.Stringid(85402210,2))
end
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