Commit f3738f80 authored by 聖園ミカ's avatar 聖園ミカ 🐟

1+1=3

parent ba7632fb
......@@ -49,6 +49,8 @@ function c65030011.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=1000-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -51,6 +51,8 @@ function c65030012.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030012,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=1600-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -48,6 +48,8 @@ function c65030013.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030013,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=1400-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -47,6 +47,8 @@ function c65030014.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030014,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=1200-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -49,6 +49,8 @@ function c65030015.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030015,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=1800-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -42,6 +42,8 @@ function c65030016.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030016,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=2200-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -50,6 +50,8 @@ function c65030017.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030017,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=2400-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -70,6 +70,8 @@ function c65030018.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030018,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=2600-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -47,6 +47,8 @@ function c65030019.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if not Duel.SelectYesNo(tp,aux.Stringid(65030019,0)) then return end
if tc and not tc:IsImmuneToEffect(e) then
local preatk=tc:GetAttack()
if tc:GetFlagEffect(65030020)>0 and preatk<=0 then return end
tc:RegisterFlagEffect(65030020,RESET_EVENT+RESETS_STANDARD,0,1)
local dam=2000-preatk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -87,7 +87,7 @@ end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp,ft)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil,e,tp,ft)
local tc=g:GetFirst()
if tc then
if ft>0 and tc:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
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