Commit 0085d81c authored by nekrozar's avatar nekrozar

fix Light End Dragon

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=7675
(「ライトエンド・ドラゴン」と戦闘を行うモンスターの攻撃力・守備力がともに0の場合でも発動する事ができます。)
parent 12dcf31a
...@@ -19,7 +19,7 @@ function c25132288.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -19,7 +19,7 @@ function c25132288.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=c:GetBattleTarget() local tc=c:GetBattleTarget()
e:SetLabelObject(tc) e:SetLabelObject(tc)
return tc and c:GetAttack()>=500 and c:GetDefense()>=500 and tc:IsFaceup() and (tc:GetAttack()>0 or tc:GetDefense()>0) return tc and c:GetAttack()>=500 and c:GetDefense()>=500 and tc:IsFaceup()
end end
function c25132288.target(e,tp,eg,ep,ev,re,r,rp,chk) function c25132288.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true 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