Commit c3c8c2c0 authored by Amiya's avatar Amiya

龙辉巧新卡修复

parent e3c9cacf
Pipeline #25797 passed with stages
in 1 minute and 2 seconds
......@@ -55,8 +55,12 @@ function s.fselect(g,atk)
return sum>=atk and not g:IsExists(Card.IsAttackBelow,1,nil,sum-atk)
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
--local atk=re:GetHandler():GetBaseAttack()
local atk=re:GetHandler():GetTextAttack()
local atk=0
if re:GetHandler():IsLocation(LOCATION_MZONE) then
atk=re:GetHandler():GetBaseAttack()
else
atk=re:GetHandler():GetTextAttack()
end
local g=Duel.GetMatchingGroup(s.costfilter,tp,LOCATION_GRAVE,0,nil)
if chk==0 then
if e:GetLabel()~=100 then return false 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