Commit a64e6c7d authored by wyykak's avatar wyykak

fix 86379534

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent ca7a165a
...@@ -29,6 +29,7 @@ function c86379534.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -29,6 +29,7 @@ function c86379534.op(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsOnField() then return end if not e:GetHandler():IsOnField() then return end
local a=Duel.GetAttacker() local a=Duel.GetAttacker()
local at=Duel.GetAttackTarget() local at=Duel.GetAttackTarget()
if not a or not at then return end
local flag1=a:GetAttack()>at:GetAttack() and at:IsAttackPos() and not (at:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) or at:IsHasEffect(EFFECT_INDESTRUCTABLE)) local flag1=a:GetAttack()>at:GetAttack() and at:IsAttackPos() and not (at:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) or at:IsHasEffect(EFFECT_INDESTRUCTABLE))
local flag2=a:GetAttack()<at:GetAttack() and at:IsAttackPos() and not (a:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) or a:IsHasEffect(EFFECT_INDESTRUCTABLE)) local flag2=a:GetAttack()<at:GetAttack() and at:IsAttackPos() and not (a:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) or a:IsHasEffect(EFFECT_INDESTRUCTABLE))
local flag3=a:GetAttack()>at:GetDefense() and at:IsDefensePos() and not (at:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) or at:IsHasEffect(EFFECT_INDESTRUCTABLE)) local flag3=a:GetAttack()>at:GetDefense() and at:IsDefensePos() and not (at:IsHasEffect(EFFECT_INDESTRUCTABLE_BATTLE) or at:IsHasEffect(EFFECT_INDESTRUCTABLE))
......
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