Commit b90ccc2d authored by nekrozar's avatar nekrozar

fix Superancient Deepsea King Coelacanth

parent d71e4f9f
...@@ -71,7 +71,7 @@ function c88307361.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,7 @@ function c88307361.discon(e,tp,eg,ep,ev,re,r,rp)
if c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end if c:IsStatus(STATUS_BATTLE_DESTROYED) then return false end
if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return end if not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return end
local tg=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS) local tg=Duel.GetChainInfo(ev,CHAININFO_TARGET_CARDS)
return tg and tg:IsContains(c) and Duel.IsChainNegatable(ev) return tg and tg:IsContains(c) and Duel.IsChainDisablable(ev)
end end
function c88307361.discost(e,tp,eg,ep,ev,re,r,rp,chk) function c88307361.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,e:GetHandler(),RACE_FISH) end if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,e:GetHandler(),RACE_FISH) end
...@@ -86,7 +86,7 @@ function c88307361.distg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -86,7 +86,7 @@ function c88307361.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function c88307361.disop(e,tp,eg,ep,ev,re,r,rp) function c88307361.disop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Destroy(eg,REASON_EFFECT) Duel.Destroy(eg,REASON_EFFECT)
end end
end end
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