We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e11ba commit cd55ef4Copy full SHA for cd55ef4
rush/c160015065.lua
@@ -24,7 +24,7 @@ function s.filter1(c,tp)
24
return c:IsSummonPlayer(1-tp) and c:IsLocation(LOCATION_MZONE)
25
end
26
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
+ return eg:IsExists(s.filter1,1,nil,tp) and Duel.IsTurnPlayer(1-tp) and Duel.GetFlagEffect(1-tp,id)==0
28
29
function s.condition2(e,tp,eg,ep,ev,re,r,rp)
30
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)
41
g=g:AddMaximumCheck()
42
local ct=Duel.SendtoGrave(g,REASON_COST)
43
if ct>0 then
44
- Duel.RegisterFlagEffect(ep,id,RESET_PHASE|PHASE_END,0,1)
+ Duel.RegisterFlagEffect(1-tp,id,RESET_PHASE|PHASE_END,0,1)
45
--can attack once
46
local e1=Effect.CreateEffect(e:GetHandler())
47
e1:SetDescription(aux.Stringid(id,2))
0 commit comments