游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [4010ae69c8]:

To Artifact [18cd202dad]:


61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
  local h1, h2
  str["随机抽卡的数量"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  h1:SetCode(EVENT_ADJUST)
  h1:SetCondition(aux.TRUE)
  --~ 随机抽卡
  function h2(effect_event)
    Duel.ShuffleDeck(0)
    Duel.Draw(0, u1, REASON_RULE)
    effect_event:Reset()
    end
  h1:SetOperation(h2)
  Duel.RegisterEffect(h1, 0)
  end
fun["一_该效果不能被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
end
fun["一_通关邀请"] = function()
  --备用:圣魔术师
  str["原解邀请"] = "残局群181175613"
  str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
  str["效果"] = Effect.GlobalEffect()
  str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  str["效果"]:SetCode(EVENT_DAMAGE)







|











|







61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
  local h1, h2
  str["随机抽卡的数量"] = u1
  --~ 效果
  h1 = Effect.GlobalEffect()
  h1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  h1:SetCode(EVENT_ADJUST)
  h1:SetCondition(aux.TRUE)
  -- 随机抽卡
  function h2(effect_event)
    Duel.ShuffleDeck(0)
    Duel.Draw(0, u1, REASON_RULE)
    effect_event:Reset()
    end
  h1:SetOperation(h2)
  Duel.RegisterEffect(h1, 0)
  end
fun["一_该效果不能被连锁"] = function()
  Duel.SetChainLimit(aux.FALSE)
  return true
  end
fun["一_通关邀请"] = function()
  --备用:圣魔术师
  str["原解邀请"] = "残局群181175613"
  str["二解邀请"] = "爆貘团:「你居然二解了,请加群告诉我怎么二解。」"
  str["效果"] = Effect.GlobalEffect()
  str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  str["效果"]:SetCode(EVENT_DAMAGE)