Commit f565e3cb authored by mercury233's avatar mercury233

fix typo

parent d45b24da
......@@ -45,7 +45,7 @@ function c14386013.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c14386013.drfilter(c)
return (c:IsCode(94212438) or c:IsSetCode(0x1c)) and c:IsAbleToDeck()
return (c:IsCode(94212438) or c:IsSetCard(0x1c)) and c:IsAbleToDeck()
end
function c14386013.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp)
......
......@@ -35,7 +35,7 @@ function c40771118.thfilter(c)
return (c:IsLocation(LOCATION_GRAVE) or c:IsFaceup()) and c:IsRace(RACE_FIEND) and c:IsAbleToHand()
end
function c40771118.cfilter(c)
return c:IsFaceup() and (c:IsCode(94212438) or c:IsSetCode(0x1c))
return c:IsFaceup() and (c:IsCode(94212438) or c:IsSetCard(0x1c))
end
function c40771118.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and chkc:IsControler(tp) and c40771118.thfilter(chkc) end
......@@ -59,7 +59,7 @@ function c40771118.plcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end
function c40771118.plfilter(c,tp,mc)
if not c:IsSetCode(0x1c) then return false end
if not c:IsSetCard(0x1c) then return false end
if Duel.IsPlayerAffectedByEffect(tp,16625614) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,c:GetCode(),0,0x11,0,0,1,RACE_FIEND,ATTRIBUTE_DARK,POS_FACEUP,tp,SUMMON_VALUE_DARK_SANCTUARY) then return true end
local ft=Duel.GetLocationCount(tp,LOCATION_SZONE)
......
......@@ -83,10 +83,10 @@ function c94212438.plop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c94212438.cfilter1(c,tp)
return c:IsControler(tp) and (c:IsCode(94212438) or c:IsSetCode(0x1c))
return c:IsControler(tp) and (c:IsCode(94212438) or c:IsSetCard(0x1c))
end
function c94212438.cfilter2(c)
return c:IsFaceup() and (c:IsCode(94212438) or c:IsSetCode(0x1c))
return c:IsFaceup() and (c:IsCode(94212438) or c:IsSetCard(0x1c))
end
function c94212438.tgcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c94212438.cfilter1,1,nil,tp)
......@@ -96,7 +96,7 @@ function c94212438.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(g,REASON_EFFECT)
end
function c94212438.cfilter3(c)
return c:IsFaceup() and c:IsSetCode(0x1c)
return c:IsFaceup() and c:IsSetCard(0x1c)
end
function c94212438.winop(e,tp,eg,ep,ev,re,r,rp)
local WIN_REASON_DESTINY_BOARD=0x15
......
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