Overview
Comment: | 0.0.2076 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
32fe80afac02229de1ae03be32b9ffe1 |
User & Date: | 顽雨沉风 on 2023-07-23 13:48:08 |
Other Links: | manifest | tags |
Context
2023-07-23
| ||
13:56 | 0.0.2077 check-in: 7b061edf04 user: 顽雨沉风 tags: trunk | |
13:48 | 0.0.2076 check-in: 32fe80afac user: 顽雨沉风 tags: trunk | |
13:47 | 0.0.2075 check-in: b78d28506d user: 顽雨沉风 tags: trunk | |
Changes
Modified script/c0.lua from [7105555c19] to [fed42e5d48].
︙ | ︙ | |||
437 438 439 440 441 442 443 | Duel.RegisterEffect(str["效果"] , 0) end --} fun["失败得分"] = function() --{ | > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > > | > | > | | | | | > | < < | 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 | Duel.RegisterEffect(str["效果"] , 0) end --} fun["失败得分"] = function() --{ str["失败得分表"] = {} str["失败得分表"][0] = "青眼白龙" str["失败得分表"][100] = "青眼白龙" str["失败得分表"][200] = "青眼白龙" str["失败得分表"][300] = "青眼白龙" str["失败得分表"][400] = "青眼白龙" str["失败得分表"][500] = "青眼白龙" str["失败得分表"][600] = "青眼白龙" str["失败得分表"][700] = "青眼白龙" str["失败得分表"][800] = "青眼白龙" str["失败得分表"][900] = "青眼白龙" str["失败得分表"][1000] = "青眼白龙" str["失败得分表"][1100] = "青眼白龙" str["失败得分表"][1200] = "青眼白龙" str["失败得分表"][1300] = "青眼白龙" str["失败得分表"][1400] = "青眼白龙" str["失败得分表"][1500] = "青眼白龙" str["失败得分表"][1600] = "青眼白龙" str["失败得分表"][1700] = "青眼白龙" str["失败得分表"][1800] = "青眼白龙" str["失败得分表"][1900] = "青眼白龙" str["失败得分表"][2000] = "青眼白龙" str["失败得分表"][2100] = "青眼白龙" str["失败得分表"][2200] = "青眼白龙" str["失败得分表"][2300] = "青眼白龙" str["失败得分表"][2400] = "青眼白龙" str["失败得分表"][2500] = "青眼白龙" str["失败得分表"][2600] = "青眼白龙" str["失败得分表"][2700] = "青眼白龙" str["失败得分表"][2800] = "青眼白龙" str["失败得分表"][2900] = "青眼白龙" str["失败得分表"][3000] = "青眼白龙" str["对方玩家的初始生命值"] = Duel.GetLP(1) str["效果"] = Effect.GlobalEffect() str["效果"]:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) str["效果"]:SetCode(EVENT_PHASE_START+PHASE_END) function cache_1(effect_event , player_who_activate_the_effect) --{ cache_1 = Duel.GetLP(1) - str["对方玩家的初始生命值"] if cache_1 > 0 then --{ Debug.ShowHint("对面耍赖") --} else --{ cache_1 = math.abs(cache_1) / (str["对方玩家的初始生命值"] - 100) cache_1 = math.tointeger(cache_1 * 3000 // 100 * 100) end --} if cache_1 > 3000 then --{ Debug.ShowHint("比青眼白龙还厉害了") --} else --{ Debug.ShowHint("您的得分是 " .. cache_1 .. " 分!\n相当于「" .. str["失败得分表"][cache_1] .. "」级别!\n非常棒!") end --} effect_event:Reset() end --} str["效果"]:SetOperation(cache_1) Duel.RegisterEffect(str["效果"] , 0) end --} |