游戏王残局简化版

Diff
Login

Diff

Differences From Artifact [97c4dcaa0b]:

To Artifact [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 --}