Commit d96e5353 authored by wind2009's avatar wind2009

Fix 罪宝の咎人

parent e78f8480
...@@ -8,7 +8,6 @@ function s.initial_effect(c) ...@@ -8,7 +8,6 @@ function s.initial_effect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCountLimit(1,id) e1:SetCountLimit(1,id)
e1:SetCondition(s.condition) e1:SetCondition(s.condition)
e1:SetTarget(s.target) e1:SetTarget(s.target)
...@@ -71,10 +70,8 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -71,10 +70,8 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return d end if chk==0 then return d end
end end
function s.atkop(e,tp,ep,ev,re,r,rp) function s.atkop(e,tp,ep,ev,re,r,rp)
local a=Duel.GetAttacker() local d=e:GetLabelObject()
local d=a:GetBattleTarget() if d and d:IsFaceup() and d:IsType(TYPE_MONSTER) then
if a:IsControler(1-tp) then a,d=d,a end
if d:IsFaceup() and d:IsRelateToBattle() then
local atk=d:GetAttack() local atk=d:GetAttack()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
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