Commit e8b3e097 authored by POLYMER's avatar POLYMER

fix

parent 6a3084d9
......@@ -22,7 +22,7 @@ function c21474345.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,0,0,0)
end
function c21474345.sumfilter(c)
return c:IsSummonable(true,nil) and c:IsRace(RACE_SPELLCASTER) and(c:IsAttack(2100) or c:IsAttack(1500)) and (c:IsDefense(1500) or c:IsDefense(2100))
return c:IsSummonable(true,nil) and c:IsRace(RACE_SPELLCASTER) and(c:IsAttack(2100)) and (c:IsDefense(1500))
end
function c21474345.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
--
function c21474349.initial_effect(c)
aux.AddCodeList(c,35563539)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--immune effect
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
......
......@@ -46,7 +46,7 @@ function s.thop(f)
end
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
return rp==tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_TRAP)
return rp==tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_SPELL)
and rc:GetType()==TYPE_TRAP and rc:IsRelateToEffect(re) and rc:IsCanTurnSet() and rc:IsStatus(STATUS_LEAVE_CONFIRMED) and rc:IsCode(40383551)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -85,7 +85,7 @@ function c28333396.fthop(e,tp,eg,ep,ev,re,r,rp)
if tg:GetCount()>0 then Duel.SendtoHand(tg,nil,REASON_EFFECT) end
end
function c28333396.cfilter(c,tp)
return ((c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
return (c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
and not ((c:IsLocation(LOCATION_REMOVED) and c:IsFacedown()) or c:IsLocation(LOCATION_HAND)) or (c:IsLocation(LOCATION_GRAVE) and c:IsReason(REASON_MATERIAL))) and c:IsSetCard(0x283) and c:IsAbleToHand()
end
function c28333396.cfilter1(c,tp)
......
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