Commit 49f5fb8c authored by salix5's avatar salix5

Merge pull request #1166 from nekrozar/patch-2

fix Mechquipped Angineer
parents 986b1e9b f56c4efa
......@@ -28,7 +28,7 @@ function c15914410.postg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c15914410.posop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsPosition(POS_FACEUP_ATTACK) and tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) then
Duel.ChangePosition(tc,POS_FACEUP_DEFENCE)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
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