游戏王残局简化版

Check-in [a469e38404]
Login

Check-in [a469e38404]

Overview
Comment:0.0.2013
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a469e384042321bb6b76aeb98c8456f0873ce247d882c40c0d396712eaa337c8
User & Date: 顽雨沉风 on 2023-07-22 04:19:03
Other Links: manifest | tags
Context
2023-07-22
04:19
0.0.2014 check-in: 2670e5ab24 user: 顽雨沉风 tags: trunk
04:19
0.0.2013 check-in: a469e38404 user: 顽雨沉风 tags: trunk
04:18
0.0.2012 check-in: 63daf9144a user: 顽雨沉风 tags: trunk
Changes

Modified script/c0.lua from [97c4dcaa0b] to [cde49b3eeb].

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
cache_1 = cache_1 + LOCATION_EXTRA

str["所有区域"] = cache_1

str["随机抽卡的前缀"] = "抽"
str["随机抽卡的后缀"] = "卡 "


---------------------------------

fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin

Debug.ReloadFieldBegin = function(str_1, str_2) --{
  
  str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE







<







71
72
73
74
75
76
77

78
79
80
81
82
83
84
cache_1 = cache_1 + LOCATION_EXTRA

str["所有区域"] = cache_1

str["随机抽卡的前缀"] = "抽"
str["随机抽卡的后缀"] = "卡 "


---------------------------------

fun["Debug.ReloadFieldBegin"] = Debug.ReloadFieldBegin

Debug.ReloadFieldBegin = function(str_1, str_2) --{
  
  str["不洗牌"] = str_1 & DUEL_PSEUDO_SHUFFLE
269
270
271
272
273
274
275

276
277
278
279
280
281
282
    str["开局说明"] = str["开局说明"] .. str["禁格的前缀"]
    str["开局说明"] = str["开局说明"] .. str["禁格"]
    str["开局说明"] = str["开局说明"] .. str["禁格的后缀"]
    
    end --}
    
  if str["随机抽卡的数量"] then --{

    str["开局说明"] = str["开局说明"] .. str["随机抽卡的前缀"]
    str["开局说明"] = str["开局说明"] .. str["随机抽卡的数量"]
    str["开局说明"] = str["开局说明"] .. str["随机抽卡的后缀"]
    end --}
    
  Debug.ShowHint(str["开局说明"])
  







>







268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
    str["开局说明"] = str["开局说明"] .. str["禁格的前缀"]
    str["开局说明"] = str["开局说明"] .. str["禁格"]
    str["开局说明"] = str["开局说明"] .. str["禁格的后缀"]
    
    end --}
    
  if str["随机抽卡的数量"] then --{
    
    str["开局说明"] = str["开局说明"] .. str["随机抽卡的前缀"]
    str["开局说明"] = str["开局说明"] .. str["随机抽卡的数量"]
    str["开局说明"] = str["开局说明"] .. str["随机抽卡的后缀"]
    end --}
    
  Debug.ShowHint(str["开局说明"])
  
421
422
423
424
425
426
427

428
429
430
431
432
433
434
435
436
437
438
439
440

441

442
443
444
445
446
447
448
449
450
451

452
453
  effect_1:SetOperation(print_hand)
  
  str_1:RegisterEffect(effect_1)
  
  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)
  
  effect_1:SetCondition(aux.TRUE)
  
  function cache_1(effect_event
  , player_who_activate_the_effect) --{

    Duel.ShuffleDeck(0)

    Duel.Draw(0,str_1,REASON_RULE)
    
    effect_event:Reset()
    
    end --}
    
  effect_1:SetOperation(cache_1)
  
  Duel.RegisterEffect(effect_1
  , 0)

  end --}
  







>













>

>










>


421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
  effect_1:SetOperation(print_hand)
  
  str_1:RegisterEffect(effect_1)
  
  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)
  
  effect_1:SetCondition(aux.TRUE)
  
  function cache_1(effect_event
  , player_who_activate_the_effect) --{
    
    Duel.ShuffleDeck(0)
    
    Duel.Draw(0,str_1,REASON_RULE)
    
    effect_event:Reset()
    
    end --}
    
  effect_1:SetOperation(cache_1)
  
  Duel.RegisterEffect(effect_1
  , 0)
  
  end --}