Commit ab1ded4b authored by salix5's avatar salix5

fix

c71921856 No.79 BK 新星のカイザー
The sp_summon effect cannot activate when the number of xyz_material is 0.

c98645731 強欲で謙虚な壺
If the player is affected by effects like ライオウ, the card is not treated as senting to grave  by a card effect.
parent 8e85f2bb
......@@ -55,7 +55,7 @@ function c71921856.spcon(e,tp,eg,ep,ev,re,r,rp)
local ct=c:GetOverlayCount()
e:SetLabel(ct)
return c:IsReason(REASON_DESTROY) and c:GetReasonPlayer()~=tp
and c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp
and c:IsPreviousLocation(LOCATION_MZONE) and c:GetPreviousControler()==tp and ct>0
end
function c71921856.spfilter(c,e,tp)
return c:IsLevelBelow(4) and c:IsSetCard(0x84) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
......@@ -45,7 +45,7 @@ function c98645731.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-p,sg)
Duel.ShuffleHand(p)
else
Duel.SendtoGrave(sg,REASON_EFFECT)
Duel.SendtoGrave(sg,REASON_RULE)
end
Duel.ShuffleDeck(p)
end
......
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