Commit dbc88f7e authored by mercury233's avatar mercury233

fix

parent d0e7039e
Pipeline #23520 passed with stages
in 36 seconds
......@@ -2,6 +2,7 @@
!counter 0x169 指示物(吠陀-优婆尼沙昙)
!counter 0x170 响鸣指示物
!setname 0x4073 铠装超量 アーマード・エクシーズ
!setname 0x2052 法理守护者 ローガーディアン
!setname 0x29a 吠陀 ヴェーダ
!setname 0x29b 哈特 ハート
!setname 0x29c 荷鲁斯 ホルス
......
......@@ -42,8 +42,7 @@ function s.initial_effect(c)
end
function s.chainop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
if re:IsActiveType(TYPE_MONSTER) and loc==LOCATION_MZONE and rc:IsSetCard(0x2f) then
if re:IsActiveType(TYPE_MONSTER) and rc:IsSetCard(0x2f) then
Duel.SetChainLimit(s.chainlm)
end
end
......
......@@ -33,7 +33,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
function s.cfilter(c,tp,se)
return c:IsPreviousControler(tp) and c:GetPreviousTypeOnField()&TYPE_MONSTER>0 and c:GetOriginalAttribute()==ATTRIBUTE_FIRE
return c:IsPreviousControler(tp) and not c:IsPreviousLocation(LOCATION_SZONE) and c:GetOriginalAttribute()==ATTRIBUTE_FIRE
and c:IsReason(REASON_BATTLE+REASON_EFFECT) and (se==nil or c:GetReasonEffect()~=se)
end
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -49,8 +49,8 @@ function s.initial_effect(c)
c:RegisterEffect(e5)
end
function s.cfilter(c,tp)
return c:GetPreviousTypeOnField()&TYPE_MONSTER>0 and c:GetOriginalAttribute()==ATTRIBUTE_FIRE
and c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsPreviousControler(tp)
return c:IsPreviousControler(tp) and not c:IsPreviousLocation(LOCATION_SZONE) and c:GetOriginalAttribute()==ATTRIBUTE_FIRE
and c:IsReason(REASON_BATTLE+REASON_EFFECT)
end
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,nil,tp)
......
......@@ -47,7 +47,7 @@ function s.cfilter2(c)
end
function s.condition(e)
local tp=e:GetHandlerPlayer()
return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_ONFIELD,0,1,nil,tp)
return Duel.IsExistingMatchingCard(s.cfilter1,tp,LOCATION_ONFIELD,0,1,nil,tp)
end
function s.alimit(e,c)
return c:IsFacedown() or not c:IsType(TYPE_RITUAL)
......
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