Commit c1aceca2 authored by 伊蕾娜's avatar 伊蕾娜

fix:c74561019.lua 修复洛克沙不能用效果特招的bug

parent 5f68cb64
......@@ -4,7 +4,13 @@ local Cardno=74561019
local cCardno=c74561019
function cCardno.initial_effect(c)
DS.DarkTunerLimit(c)
c:EnableReviveLimit()
--splimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(cCardno.splimit)
c:RegisterEffect(e1)
--copy
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
......@@ -27,6 +33,10 @@ function cCardno.initial_effect(c)
e3:SetOperation(cCardno.rbop)
c:RegisterEffect(e3)
end
--splimit
function cCardno.splimit(e,se,sp,st)
return se:IsHasType(EFFECT_TYPE_ACTIONS)
end
--rebirth
function cCardno.rbfilter(c)
return c:IsLevelAbove(1) and c:IsAbleToRemoveAsCost()
......@@ -48,7 +58,6 @@ function cCardno.rbop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc = Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)>0 then
c:CompleteProcedure()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
......@@ -87,7 +96,6 @@ function cCardno.cpop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc = Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)>0 then
c:CompleteProcedure()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
......
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