Commit 0e30abb7 authored by wind2009's avatar wind2009 Committed by GitHub

Fix MZMI (#2414)

* Remove CATEGORY_SEARCH for Salamandra Fusion.
* Remove EFFECT_CANNOT_ATTACK for Salamandra with Chain.
parent 4212e6b4
......@@ -169,12 +169,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local fop=ce:GetOperation()
fop(ce,e,tp,tc,mat2)
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_ATTACK)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1,true)
tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1)
tc:CompleteProcedure()
local e2=Effect.CreateEffect(e:GetHandler())
......
......@@ -23,7 +23,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(id,0))
e4:SetCategory(CATEGORY_SEARCH+CATEGORY_FUSION_SUMMON)
e4:SetCategory(CATEGORY_FUSION_SUMMON)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_SZONE)
......
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