Commit 25a6be1e authored by Steeldarkeagel's avatar Steeldarkeagel

Update c50474354.lua

Fix: Now can not activate if you use Non-Bujin cards and Non-Bujin cards can not be used after it.
parent b88a5d13
......@@ -31,7 +31,7 @@ function c50474354.condition(e,tp,eg,ep,ev,re,r,rp)
end
function c50474354.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToGraveAsCost() end
if chk==0 then return Duel.GetFlagEffect(tp,50474354)==0 and c:IsAbleToGraveAsCost() end
Duel.SendtoGrave(c,REASON_COST)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
......@@ -40,6 +40,7 @@ function c50474354.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetTargetRange(1,0)
e1:SetValue(c50474354.aclimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterFlagEffect(tp,50474354,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterEffect(e1,tp)
end
function c50474354.aclimit(e,re,tp)
......
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