Commit e7322ce4 authored by Momobako's avatar Momobako

Push by Appveyor

parent 9d3b01ce
...@@ -62,7 +62,7 @@ function cm.filter(c,tp,l) ...@@ -62,7 +62,7 @@ function cm.filter(c,tp,l)
return c:IsPreviousLocation(l) and c:GetPreviousControler()==tp return c:IsPreviousLocation(l) and c:GetPreviousControler()==tp
end end
function cm.drcon1(e,tp,eg,ep,ev,re,r,rp) function cm.drcon1(e,tp,eg,ep,ev,re,r,rp)
return not re:IsHasType(EFFECT_TYPE_ACTIONS) or re:IsHasType(EFFECT_TYPE_CONTINUOUS) return not re or not re:IsHasType(EFFECT_TYPE_ACTIONS) or re:IsHasType(EFFECT_TYPE_CONTINUOUS)
end end
function cm.drop1(e,tp,eg,ep,ev,re,r,rp) function cm.drop1(e,tp,eg,ep,ev,re,r,rp)
local t=Senya.order_table[e:GetLabel()] local t=Senya.order_table[e:GetLabel()]
...@@ -71,7 +71,7 @@ function cm.drop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -71,7 +71,7 @@ function cm.drop1(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.regcon(e,tp,eg,ep,ev,re,r,rp) function cm.regcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIONS) and not re:IsHasType(EFFECT_TYPE_CONTINUOUS) return re and re:IsHasType(EFFECT_TYPE_ACTIONS) and not re:IsHasType(EFFECT_TYPE_CONTINUOUS)
end end
function cm.regop(e,tp,eg,ep,ev,re,r,rp) function cm.regop(e,tp,eg,ep,ev,re,r,rp)
local t=Senya.order_table[e:GetLabel()] local t=Senya.order_table[e:GetLabel()]
......
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