Commit 8423c227 authored by POLYMER's avatar POLYMER

fix

parent 30f618eb
...@@ -31,7 +31,7 @@ function s.initial_effect(c) ...@@ -31,7 +31,7 @@ function s.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function s.cfilter(c,tp) function s.cfilter(c,tp)
return c:IsPreviousLocation(LOCATION_ONFIELD) and not (c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_SPELLCASTER)) and (c:IsLocation(LOCATION_GRAVE) or c:IsLocation(LOCATION_REMOVED)) return c:IsPreviousLocation(LOCATION_ONFIELD) and c:IsType(TYPE_MONSTER) and not (c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_SPELLCASTER)) and (c:IsLocation(LOCATION_GRAVE) or c:IsLocation(LOCATION_REMOVED))
end end
function s.tkcon(e,tp,eg,ep,ev,re,r,rp) function s.tkcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,nil,tp) return eg:IsExists(s.cfilter,1,nil,tp)
......
...@@ -27,7 +27,7 @@ function s.initial_effect(c) ...@@ -27,7 +27,7 @@ function s.initial_effect(c)
e1:SetOperation(s.activate) e1:SetOperation(s.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
e1:SetDescription(1102) e5:SetDescription(1102)
e5:SetCategory(CATEGORY_REMOVE) e5:SetCategory(CATEGORY_REMOVE)
e5:SetType(EFFECT_TYPE_QUICK_O) e5:SetType(EFFECT_TYPE_QUICK_O)
e5:SetCode(EVENT_FREE_CHAIN) e5:SetCode(EVENT_FREE_CHAIN)
......
...@@ -36,6 +36,7 @@ function c98920826.initial_effect(c) ...@@ -36,6 +36,7 @@ function c98920826.initial_effect(c)
e14:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e14:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e14:SetCode(EVENT_ATTACK_ANNOUNCE) e14:SetCode(EVENT_ATTACK_ANNOUNCE)
e14:SetRange(LOCATION_MZONE) e14:SetRange(LOCATION_MZONE)
e14:SetCountLimit(1,98930826)
e14:SetTarget(c98920826.cptarget) e14:SetTarget(c98920826.cptarget)
e14:SetOperation(c98920826.cpoperation) e14:SetOperation(c98920826.cpoperation)
c:RegisterEffect(e14) c:RegisterEffect(e14)
......
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