Commit ae6d3749 authored by mercury233's avatar mercury233 Committed by GitHub

fix EMガトリングール

parent 3431773b
...@@ -41,8 +41,7 @@ end ...@@ -41,8 +41,7 @@ end
function c49820233.damop(e,tp,eg,ep,ev,re,r,rp) function c49820233.damop(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER) local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local ct=Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,LOCATION_ONFIELD) local ct=Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD,LOCATION_ONFIELD)
if ct>0 then if ct>0 and Duel.Damage(p,ct*200,REASON_EFFECT)>0 then
Duel.Damage(p,ct*200,REASON_EFFECT)
if e:GetLabel()==1 then if e:GetLabel()==1 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,nil,tp,0,LOCATION_MZONE,1,1,nil) local g=Duel.SelectMatchingCard(tp,nil,tp,0,LOCATION_MZONE,1,1,nil)
......
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