游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [e0c1dff51c]:

To Artifact [34c3439631]:


26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  c:RegisterEffect(e3)
end
function c896311393.cfilter(c,tp)
  return c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsSetCard(0xc6)
    and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
end
function c896311393.spcon1(e,tp,eg,ep,ev,re,r,rp)
  return eg:IsExists(c896311393.cfilter,1,nil,tp)
end
function c896311393.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
  Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
  Duel.SetOperationInfo(0,CATEGORY_DAMAGE,0,0,tp,500)
end







|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  c:RegisterEffect(e3)
end
function c896311393.cfilter(c,tp)
  return c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsSetCard(0xc6)
    and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
end
function c896311393.spcon1(e,tp,eg,ep,ev,re,r,rp)
  return eg:IsExists(c7563579.cfilter,1,nil,tp)
end
function c896311393.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
  if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
    and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
  Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
  Duel.SetOperationInfo(0,CATEGORY_DAMAGE,0,0,tp,500)
end