Commit 8c3b5c18 authored by Uytrewq's avatar Uytrewq Committed by GitHub

fix (#2353)

parent 286b34be
...@@ -33,6 +33,7 @@ function c13293158.initial_effect(c) ...@@ -33,6 +33,7 @@ function c13293158.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c13293158.material_setcode=0x8 c13293158.material_setcode=0x8
c13293158.dark_calling=true
function c13293158.aclimit(e,re,tp) function c13293158.aclimit(e,re,tp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:IsHasType(EFFECT_TYPE_ACTIVATE)
end end
......
...@@ -24,6 +24,7 @@ function c21947653.initial_effect(c) ...@@ -24,6 +24,7 @@ function c21947653.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c21947653.material_setcode=0x8 c21947653.material_setcode=0x8
c21947653.dark_calling=true
function c21947653.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c21947653.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) end if chkc then return chkc:IsLocation(LOCATION_MZONE) end
if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
......
...@@ -29,6 +29,7 @@ function c22160245.initial_effect(c) ...@@ -29,6 +29,7 @@ function c22160245.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c22160245.material_setcode=0x8 c22160245.material_setcode=0x8
c22160245.dark_calling=true
function c22160245.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c22160245.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -34,6 +34,7 @@ function c50282757.initial_effect(c) ...@@ -34,6 +34,7 @@ function c50282757.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c50282757.material_setcode=0x8 c50282757.material_setcode=0x8
c50282757.dark_calling=true
function c50282757.condition(e,tp,eg,ep,ev,re,r,rp) function c50282757.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPosition(POS_FACEUP_DEFENSE) and Duel.GetTurnPlayer()==tp return e:GetHandler():IsPosition(POS_FACEUP_DEFENSE) and Duel.GetTurnPlayer()==tp
end end
......
...@@ -27,6 +27,7 @@ function c58332301.initial_effect(c) ...@@ -27,6 +27,7 @@ function c58332301.initial_effect(c)
e3:SetOperation(c58332301.posop) e3:SetOperation(c58332301.posop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c58332301.dark_calling=true
function c58332301.matcheck(e,c) function c58332301.matcheck(e,c)
local g=c:GetMaterial() local g=c:GetMaterial()
local s=0 local s=0
......
...@@ -33,6 +33,7 @@ function c86165817.initial_effect(c) ...@@ -33,6 +33,7 @@ function c86165817.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
c86165817.material_setcode=0x8 c86165817.material_setcode=0x8
c86165817.dark_calling=true
function c86165817.matfilter(c) function c86165817.matfilter(c)
return c:IsLevelAbove(5) and c:IsFusionType(TYPE_MONSTER) return c:IsLevelAbove(5) and c:IsFusionType(TYPE_MONSTER)
end end
......
...@@ -34,6 +34,7 @@ function c86676862.initial_effect(c) ...@@ -34,6 +34,7 @@ function c86676862.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c86676862.material_setcode=0x8 c86676862.material_setcode=0x8
c86676862.dark_calling=true
function c86676862.ffilter(c) function c86676862.ffilter(c)
return c:IsRace(RACE_FIEND) and c:IsLevelAbove(6) return c:IsRace(RACE_FIEND) and c:IsLevelAbove(6)
end end
......
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