Commit bbc12b70 authored by Tachibana's avatar Tachibana

rar

parent 3907dabe
...@@ -93,12 +93,13 @@ function cm.retreg(e,tp,eg,ep,ev,re,r,rp) ...@@ -93,12 +93,13 @@ function cm.retreg(e,tp,eg,ep,ev,re,r,rp)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetReset(RESET_EVENT+0x1ee0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1ee0000+RESET_PHASE+PHASE_END)
e1:SetCondition(aux.SpiritReturnCondition) e1:SetCondition(aux.SpiritReturnConditionForced)
e1:SetTarget(cm.rettg) e1:SetTarget(cm.rettg)
e1:SetOperation(cm.retop) e1:SetOperation(cm.retop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=e1:Clone() local e2=e1:Clone()
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCondition(aux.SpiritReturnConditionOptional)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.rettg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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