Commit 3608a7c1 authored by Tachibana's avatar Tachibana

eme

parent d4a012f5
Pipeline #8432 passed with stages
in 23 minutes and 19 seconds
......@@ -44,7 +44,7 @@ function cm.val(e,c)
return Duel.GetMatchingGroupCount(cm.filter,c:GetControler(),LOCATION_GRAVE+LOCATION_MZONE,LOCATION_GRAVE+LOCATION_MZONE,e:GetHandler())*1000
end
function cm.aclimit(e,re,tp)
return re:GetHandler():GetOriginalAttribute()&ATTRIBUTE_WATER~=0 and re:GetHandler():GetOriginalAttribute()&ATTRIBUTE_LIGHT and re:IsActiveType(TYPE_MONSTER)
return (re:GetHandler():GetOriginalAttribute()&ATTRIBUTE_WATER~=0 or re:GetHandler():GetOriginalAttribute()&ATTRIBUTE_LIGHT) and re:IsActiveType(TYPE_MONSTER)
end
function cm.chcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and rp==1-tp and re:GetHandler():IsAttribute(ATTRIBUTE_DARK)
......
......@@ -16,6 +16,7 @@ function cm.initial_effect(c)
e2:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_GRAVE)
e2:SetCountLimit(1,m)
e2:SetCost(aux.bfgcost)
e2:SetTarget(cm.target)
e2:SetOperation(cm.activate)
......
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