Commit 93d7a338 authored by CubeRuler's avatar CubeRuler

Update c33330177.lua

parent 7fd128ba
...@@ -51,7 +51,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(cm.damfilter,tp,0,LOCATION_MZONE,1,nil) then if Duel.IsExistingMatchingCard(cm.damfilter,tp,0,LOCATION_MZONE,1,nil) then
Duel.BreakEffect() Duel.BreakEffect()
local tg=Duel.GetMatchingGroup(cm.damfilter,tp,0,LOCATION_MZONE,nil) local tg=Duel.GetMatchingGroup(cm.damfilter,tp,0,LOCATION_MZONE,nil)
local dam=tg:GetSum(Card.GetAttack) local dam=tg:GetSum(Card.GetAttack)+tg:GetSum(Card.GetDefense)
Duel.Damage(1-tp,dam*2,REASON_EFFECT) Duel.Damage(1-tp,dam*2,REASON_EFFECT)
end end
end 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