Commit 252725c5 authored by mercury233's avatar mercury233

fix

parent 897afc5f
...@@ -40,7 +40,7 @@ function c101007006.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c101007006.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
Duel.BreakEffect() Duel.BreakEffect()
local val=Duel.Damage(tp,atk,REASON_EFFECT) local val=Duel.Damage(1-tp,ev,REASON_EFFECT)
if val>0 then if val>0 then
Duel.Recover(tp,math.ceil(val/2),REASON_EFFECT) Duel.Recover(tp,math.ceil(val/2),REASON_EFFECT)
end end
......
...@@ -23,7 +23,7 @@ function c101007011.initial_effect(c) ...@@ -23,7 +23,7 @@ function c101007011.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c101007011.tnval(e,c) function c101007011.tnval(e,c)
return c:IsSetCard(0x27) return e:GetHandler():IsControler(c:GetControler()) and c:IsSetCard(0x27)
end end
function c101007011.tkcon(e,tp,eg,ep,ev,re,r,rp) function c101007011.tkcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_SYNCHRO return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_SYNCHRO
......
...@@ -51,7 +51,7 @@ function c101007055.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function c101007055.atkop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c101007055.reccon(e,tp,eg,ep,ev,re,r,rp) function c101007055.reccon(e,tp,eg,ep,ev,re,r,rp)
return re and re:IsActiveType(TYPE_SPELL) and e:GetHandler():GetFlagEffect(1)>0 return re and re:IsActiveType(TYPE_SPELL) and re:GetHandler():IsSetCard(0x115) and rp==tp and e:GetHandler():GetFlagEffect(1)>0
end end
function c101007055.recop(e,tp,eg,ep,ev,re,r,rp) function c101007055.recop(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(tp,100,REASON_EFFECT) Duel.Recover(tp,100,REASON_EFFECT)
......
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