Commit 3453cf0d authored by mallu11's avatar mallu11 Committed by GitHub

fix 死霊王 ドーハスーラ (#1558)

fix: can react to the effect that is activated by a spell card whose original type is a Zombie monster.
parent 7d7b56e0
......@@ -32,7 +32,7 @@ function c39185163.disrmcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c39185163.disrmcon(e,tp,eg,ep,ev,re,r,rp)
local race,code1,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_RACE,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2)
return race&RACE_ZOMBIE>0 and code1~=39185163 and code2~=39185163
return re:IsActiveType(TYPE_MONSTER) and race&RACE_ZOMBIE>0 and code1~=39185163 and code2~=39185163
end
function c39185163.disrmtg(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.IsChainDisablable(ev) and Duel.GetFlagEffect(tp,39185163)==0
......
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