Commit 42ab6ec3 authored by Tachibana's avatar Tachibana

rar

parent c39afa5c
......@@ -34,7 +34,10 @@ function c33330048.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttackTarget()~=0 and Duel.GetAttacker()==e:GetHandler()
end
function c33330048.damop(e,tp,eg,ep,ev,re,r,rp)
local num=e:GetHandler():GetAttack()+Duel.GetAttackTarget():GetAttack()
local num=e:GetHandler():GetAttack()
if Duel.GetAttackTarget()~=nil then
local num=num+Duel.GetAttackTarget():GetAttack()
end
if Duel.Damage(1-tp,num,REASON_EFFECT)~=0 and Duel.SelectYesNo(tp,aux.Stringid(33330048,1)) then
Duel.SendtoDeck(e:GetHandler():GetBattleTarget(),nil,0,REASON_EFFECT)
Duel.SendtoDeck(e:GetHandler(),nil,0,REASON_EFFECT)
......@@ -47,7 +50,7 @@ function c33330048.spsop(e,tp,eg,ep,ev,re,r,rp)
end
if Duel.SelectYesNo(tp,aux.Stringid(33330048,0)) then
Duel.SkipPhase(tp,PHASE_MAIN1,RESET_PHASE+PHASE_BATTLE_START,1)
local e2=Effect.CreateEffect(c)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EFFECT_CANNOT_ACTIVATE)
......
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