Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -9,50 +9,68 @@ str["无BP"] = str_1 & DUEL_ATTACK_FIRST_TURN if str_2 then --{ if str_2 == 3 then --{ str["规则"] = "大师3 " + --} elseif str_2 == 4 then --{ str["规则"] = "新大师 " + --} elseif str_2 == 5 then --{ str["规则"] = "大师2020 " - --} - end --} - else - str["规则"] = "大师2020 " - end - str["Debug.ReloadFieldBegin"](str_1, str_2) - end --} - -fun["通关邀请"] = function() -effect_1 = Effect.GlobalEffect() -effect_1:SetType(EFFECT_TYPE_FIELD -+ EFFECT_TYPE_CONTINUOUS) -effect_1:SetCode(EVENT_DAMAGE) -function cache_1() -cache_1 = Duel.GetLP(1) -if cache_1 <= 0 then -if cache_1 < 0 then -Debug.ShowHint("QB:「你居然二解了,请加群告诉我怎么二解。」") -end -cache_1 = true -else -cache_1 = false -end -return cache_1 -end -effect_1:SetCondition(cache_1) -function cache_1() -Debug.ShowHint("残局群181175613") -return -end -effect_1:SetOperation(cache_1) -Duel.RegisterEffect(effect_1 -, 0) -end + + --} + end --} + else --{ + str["规则"] = "大师2020 " + + end --} + str["Debug.ReloadFieldBegin"](str_1, str_2) + + end --} + +fun["通关邀请"] = function() --{ + effect_1 = Effect.GlobalEffect() + + effect_1:SetType(EFFECT_TYPE_FIELD + + EFFECT_TYPE_CONTINUOUS) + + effect_1:SetCode(EVENT_DAMAGE) + + function cache_1() --{ + cache_1 = Duel.GetLP(1) + + if cache_1 <= 0 then --{ + if cache_1 < 0 then --{ + Debug.ShowHint("QB:「你居然二解了,请加群告诉我怎么二解。」") + + end --} + cache_1 = true + + --} + else --{ + cache_1 = false + + end --} + return cache_1 + + end --} + effect_1:SetCondition(cache_1) + + function cache_1() --{ + Debug.ShowHint("残局群181175613") + + return + end --} + effect_1:SetOperation(cache_1) + + Duel.RegisterEffect(effect_1 + , 0) + + end --} fun["是否效果卡"] = function(card) cache_1 = Card.IsType(card, TYPE_SPELL) cache_2 = Card.IsType(card, TYPE_TRAP) cache_3 = Card.IsType(card, TYPE_EFFECT) @@ -250,9 +268,15 @@ effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1,0) end + + + + + +