Overview
Comment: | 好 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8c1e3abceb675707ade29247741dc373 |
User & Date: | 顽雨沉风 on 2024-02-12 14:53:39 |
Other Links: | manifest | tags |
Context
2024-02-12
| ||
14:54 | 好 check-in: f989996309 user: 顽雨沉风 tags: trunk | |
14:53 | 好 check-in: 8c1e3abceb user: 顽雨沉风 tags: trunk | |
14:52 | 好 check-in: 7641d52a05 user: 顽雨沉风 tags: trunk | |
Changes
Added 残局文料/lua_lib/游戏王_则拟器_原版_卡档.lua version [a267460be6].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | local 档库 = require("lsqlite3") local 字集库 = require("u8_to_a") local 对库 = require(字集库.u8_to_a("算机_程语_月_基类_表_对")) local d = {} local 卡档 --~ 卡编 function d.取卡对(o1) local k1_0, k2_0 --~ 卡文对 k1_0 = d.取卡文(o1) --~ 卡数据对 k2_0 = d.取卡数据(o1) return 对库.连两对(k1_0, k2_0) end --~ 卡编 function d.取卡文(o1) for o1_4 in 卡档:nrows(文库.连("select * from texts where id = ", o1)) do return o1_4 end end --~ 卡编 function d.取卡数据(o1) for o1_4 in 卡档:nrows(文库.连("select * from datas where id = ", o1)) do return o1_4 end end --~ 卡档路 function d.启卡档(o1) 卡档 = 档库.open(o1) end return d |
Added 残局文料/lua_lib/游戏王_则拟器_原版_残局_卡_全筛.lua version [4ab22a4569].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | local 字集库 = require("u8_to_a") local 位算库 = require(字集库.u8_to_a("算机_程语_月_基类_数_位算")) local d = {} local TYPE_MONSTER = 0x1 local TYPE_SPELL = 0x2 local TYPE_TRAP = 0x4 local TYPE_EFFECT = 0x20 local TYPE_PENDULUM = 0x1000000 local 有效果卡的类排 = { TYPE_SPELL , TYPE_TRAP , TYPE_EFFECT } local 无效果灵摆怪兽排 = { 28363749 --火蛋白石头龙头领 , 19474136 --曼陀林草龙 , 17390179 --闪光之骑士 , 83980492 --铜锣龙 } --~ 卡对 function d.筛有效果卡(o1_0) for o1 = 1, #有效果卡的类排 do if 位算库.位和(有效果卡的类排[o1], o1_0.type) == 0 then else return o1_0 end end if 位算库.位和(TYPE_PENDULUM, o1_0.type) == 0 then else if 无效果灵摆怪兽排[o1_0.id] then else return o1_0 end end end --~ 卡对 function d.筛怪兽卡(o1_0) if 位算库.位和(TYPE_MONSTER, o1_0.type) == 0 then else return o1_0 end end --~ 卡对 function d.筛攻击力(o1_0) return o1_0.atk end return d |
Deleted 残局文料/游戏王_则拟器_原版_卡档.lua version [a267460be6].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted 残局文料/游戏王_则拟器_原版_残局_卡_全筛.lua version [4ab22a4569].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |