Commit 3cee2f5e authored by Tachibana's avatar Tachibana

ybb

parent 945c9760
......@@ -42,7 +42,7 @@ function cm.initial_effect(c)
end
function cm.splimit(e,se,sp,st)
local sc=se:GetHandler()
return sc:IsRace(RACE_SEASERPENT)
return sc and sc:IsRace(RACE_SEASERPENT)
end
function cm.rfilter(c,ft,tp)
return c:GetAttackAnnouncedCount()~=0 and c:IsCode(81060003)
......
......@@ -44,7 +44,7 @@ function cm.initial_effect(c)
end
function cm.splimit(e,se,sp,st)
local sc=se:GetHandler()
return sc and sc:IsRace(RACE_SEASERPENT) and se:IsHasType(EFFECT_TYPE_ACTIONS)
return sc and sc:IsRace(RACE_SEASERPENT)
end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
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