Skip to content

Commit cd55ef4

Browse files
committed
fixed Star Salvation Shield
1 parent 59e11ba commit cd55ef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rush/c160015065.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function s.filter1(c,tp)
2424
return c:IsSummonPlayer(1-tp) and c:IsLocation(LOCATION_MZONE)
2525
end
2626
function s.condition(e,tp,eg,ep,ev,re,r,rp)
27-
return eg:IsExists(s.filter1,1,nil,tp) and Duel.IsTurnPlayer(1-tp) and Duel.GetFlagEffect(ep,id)==0
27+
return eg:IsExists(s.filter1,1,nil,tp) and Duel.IsTurnPlayer(1-tp) and Duel.GetFlagEffect(1-tp,id)==0
2828
end
2929
function s.condition2(e,tp,eg,ep,ev,re,r,rp)
3030
return ep==1-tp and Duel.IsTurnPlayer(1-tp) and Duel.GetFlagEffect(ep,id)==0
@@ -41,7 +41,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4141
g=g:AddMaximumCheck()
4242
local ct=Duel.SendtoGrave(g,REASON_COST)
4343
if ct>0 then
44-
Duel.RegisterFlagEffect(ep,id,RESET_PHASE|PHASE_END,0,1)
44+
Duel.RegisterFlagEffect(1-tp,id,RESET_PHASE|PHASE_END,0,1)
4545
--can attack once
4646
local e1=Effect.CreateEffect(e:GetHandler())
4747
e1:SetDescription(aux.Stringid(id,2))

0 commit comments

Comments
 (0)