Overview
Comment: | 0.0.1223 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1fb42895fff1867ddb154d169501a543 |
User & Date: | 顽雨沉风 on 2023-07-11 14:53:56 |
Other Links: | manifest | tags |
Context
2023-07-11
| ||
14:55 | 0.0.1224 check-in: ebd8dd9982 user: 顽雨沉风 tags: trunk | |
14:53 | 0.0.1223 check-in: 1fb42895ff user: 顽雨沉风 tags: trunk | |
14:49 | 0.0.1222 check-in: 588454a9f9 user: 顽雨沉风 tags: trunk | |
Changes
Modified script/c0.lua from [8e3f15b8a7] to [42d0163ae4].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | str = {} fun = {} str["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin Debug.ReloadFieldBegin = function(str_1, str_2) --{ str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE 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["规则"] = "新大师 " --} | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | str = {} fun = {} str["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin Debug.ReloadFieldBegin = function(str_1, str_2) --{ str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE 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["规则"] = "新大师 " --} |
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 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") end --} effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1 , 0) | > > > | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | 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") end --} effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1 , 0) |
︙ | ︙ | |||
82 83 84 85 86 87 88 | else --{ return true end --} end --} return false end --} | | | | > | | | | | | | | | | | > | > | > | | | | | | | | | | | > | | < < < | > > > | | | | | | | | | | | | | | | | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | else --{ return true end --} end --} return false end --} fun["开局说明"] = function() --{ if str["开局说明吗"] == 1 then --{ return --} else --{ str["开局说明吗"] = 1 end --} cache_1 = 0 cache_1 = cache_1 + LOCATION_DECK cache_1 = cache_1 + LOCATION_HAND cache_1 = cache_1 + LOCATION_MZONE cache_1 = cache_1 + LOCATION_SZONE cache_1 = cache_1 + LOCATION_GRAVE cache_1 = cache_1 + LOCATION_REMOVED cache_1 = cache_1 + LOCATION_EXTRA str["这个残局的效果卡数量"] = Duel.GetMatchingGroupCount(fun["是否效果卡"],0,cache_1,cache_1,nil) cache_1 = Duel.GetOverlayGroup(0, LOCATION_MZONE, LOCATION_MZONE) for k in aux.Next(cache_1) do --{ cache_1 = fun["是否效果卡"](k) if cache_1 then --{ str["这个残局的效果卡数量"] = str["这个残局的效果卡数量"] + 1 end --} end --} str["开局说明"] ="" str["开局说明"] = str["开局说明"] .. str["这个残局的效果卡数量"] str["开局说明"] = str["开局说明"] .. "卡 " str["开局说明"] = str["开局说明"] .. str["规则"] if str["不洗牌"] == 0 then --{ --} else --{ str["开局说明"] = str["开局说明"] .. "伪洗牌 " end --} if str["无BP"] == 0 then --{ str["开局说明"] = str["开局说明"] .. "无BP " end --} if str["开局添加手卡"] then --{ str["开局说明"] = str["开局说明"] .. "选" str["开局说明"] = str["开局说明"] .. str["开局添加手卡"] str["开局说明"] = str["开局说明"] .. "卡 " end --} if str["禁格"] then --{ str["开局说明"] = str["开局说明"] .. "禁" str["开局说明"] = str["开局说明"] .. str["禁格"] str["开局说明"] = str["开局说明"] .. "格 " end --} if str["印卡"] then --{ str["开局说明"] = str["开局说明"] .. "印卡 " end --} Debug.ShowHint(str["开局说明"]) fun["通关邀请"]() end --} fun["开局添加手卡"] = function(str_1) str["开局添加手卡"] = str_1 effect_1 = Effect.GlobalEffect() effect_1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) effect_1:SetCode(EVENT_ADJUST) |
︙ | ︙ | |||
256 257 258 259 260 261 262 | Duel.SetLP(1,0) end effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1,0) end | > | 265 266 267 268 269 270 271 272 | Duel.SetLP(1,0) end effect_1:SetOperation(cache_1) Duel.RegisterEffect(effect_1,0) end |