Commit 533d102b authored by VanillaSalt's avatar VanillaSalt

fix

parent b6713609
--ゴースト姫-パンプリンセス- --ゴースト姫-パンプリンセス-
function c17601919.initial_effect(c) function c17601919.initial_effect(c)
c:EnableCounterPermit(0x2f) c:EnableCounterPermit(0x2f,LOCATION_SZONE)
--send replace --send replace
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCode(EFFECT_SEND_REPLACE) e1:SetCode(EFFECT_SEND_REPLACE)
...@@ -17,7 +17,7 @@ function c17601919.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -17,7 +17,7 @@ function c17601919.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return false end if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return false end
return Duel.SelectYesNo(tp,aux.Stringid(17601919,0)) return Duel.SelectYesNo(tp,aux.Stringid(17601919,0))
end end
function c17601919.repop(e,tp,eg,ep,ev,re,r,rp,chk) function c17601919.repop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true) Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
...@@ -16,9 +16,10 @@ function c71696014.initial_effect(c) ...@@ -16,9 +16,10 @@ function c71696014.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--spsummon (self) --spsummon (self)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EFFECT_ACTIVATE_COST)
e2:SetTargetRange(1,0)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetOperation(aux.chainreg) e2:SetOperation(aux.chainreg)
c:RegisterEffect(e2) c:RegisterEffect(e2)
......
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