Commit 5bcebc18 authored by Aephiex's avatar Aephiex Committed by GitHub

workaround fix for Phantom King Hydride (#1843)

parent f9cda867
......@@ -49,13 +49,8 @@ function c35952884.initial_effect(c)
c:RegisterEffect(e4)
end
c35952884.material_type=TYPE_SYNCHRO
function c35952884.mfilter(c)
return not c:IsType(TYPE_TUNER)
end
function c35952884.valcheck(e,c)
local g=c:GetMaterial()
local ct=g:FilterCount(c35952884.mfilter,nil)
e:GetLabelObject():SetLabel(ct)
e:GetLabelObject():SetLabel(c:GetMaterialCount()-1)
end
function c35952884.mtcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabel()>0
......
......@@ -47,13 +47,8 @@ function c87188910.initial_effect(c)
e4:SetOperation(c87188910.desop)
c:RegisterEffect(e4)
end
function c87188910.matfilter(c)
return not c:IsType(TYPE_TUNER)
end
function c87188910.valcheck(e,c)
local g=c:GetMaterial()
local ct=g:FilterCount(c87188910.matfilter,nil)
e:GetLabelObject():SetLabel(ct)
e:GetLabelObject():SetLabel(c:GetMaterialCount()-1)
end
function c87188910.drcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
......
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