Commit a79b8af4 authored by 2924713558's avatar 2924713558 Committed by GitHub

Add files via upload

parent 71c08893
...@@ -72,21 +72,22 @@ function c1131201.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,21 +72,22 @@ function c1131201.op2(e,tp,eg,ep,ev,re,r,rp)
if sg:GetCount()<1 then return end if sg:GetCount()<1 then return end
local sc=sg:GetFirst() local sc=sg:GetFirst()
if Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 then if Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)~=0 then
local e2_1=Effect.CreateEffect(sc) local e2_1=Effect.CreateEffect(c)
e2_1:SetType(EFFECT_TYPE_SINGLE) e2_1:SetType(EFFECT_TYPE_SINGLE)
e2_1:SetCode(EFFECT_UPDATE_ATTACK) e2_1:SetCode(EFFECT_UPDATE_ATTACK)
e2_1:SetValue(600) e2_1:SetValue(600)
e2_1:SetReset(RESET_EVENT+0x1fe0000) e2_1:SetReset(RESET_EVENT+0x1fe0000)
sc:RegisterEffect(e2_1,true) sc:RegisterEffect(e2_1,true)
local e2_2=Effect.CreateEffect(sc) local e2_2=Effect.CreateEffect(c)
e2_2:SetDescription(aux.Stringid(1131201,1)) e2_2:SetDescription(aux.Stringid(1131201,1))
e2_2:SetProperty(EFFECT_FLAG_CLIENT_HINT) e2_2:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e2_2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2_2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2_2:SetCode(EVENT_BATTLED) e2_2:SetCode(EVENT_BATTLED)
e2_2:SetCondition(c1131201.con2_2)
e2_2:SetOperation(c1131201.op2_2) e2_2:SetOperation(c1131201.op2_2)
e2_2:SetReset(RESET_EVENT+0x1fe0000) e2_2:SetReset(RESET_EVENT+0x1fe0000)
sc:RegisterEffect(e2_2,true) sc:RegisterEffect(e2_2,true)
local e2_3=Effect.CreateEffect(sc) local e2_3=Effect.CreateEffect(c)
e2_3:SetDescription(aux.Stringid(1131201,2)) e2_3:SetDescription(aux.Stringid(1131201,2))
e2_3:SetProperty(EFFECT_FLAG_CLIENT_HINT) e2_3:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e2_3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2_3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
...@@ -97,6 +98,11 @@ function c1131201.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -97,6 +98,11 @@ function c1131201.op2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
-- --
function c1131201.con2_2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
return bc and bc:IsStatus(STATUS_BATTLE_DESTROYED) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c1131201.op2_2(e,tp,eg,ep,ev,re,r,rp) function c1131201.op2_2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() local bc=c:GetBattleTarget()
......
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