3404
3405
3406
3407
3408
3409
3410
3411
3412
|
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
-----------------
Debug.ReloadFieldEnd()
aux.BeginPuzzle()
~~~
####
~~~
Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
-----------------
-----------------
-----------------
Debug.AddCard(45815891,0,0,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
-----------------
-----------------
Debug.AddCard(98978921,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
-----------------
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
--~ aux.BeginPuzzle()
~~~
####
~~~
Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
-----------------
-----------------
-----------------
Debug.AddCard(45815891,0,0,LOCATION_MZONE,5,POS_FACEUP_ATTACK)
-----------------
-----------------
Debug.AddCard(98978921,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
-----------------
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
--~ aux.BeginPuzzle()
~~~
####
~~~
Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
-----------------
-----------------
-----------------
Debug.AddCard(45815891,0,0,LOCATION_MZONE,6,POS_FACEUP_ATTACK)
-----------------
-----------------
Debug.AddCard(98978921,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
-----------------
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
--~ aux.BeginPuzzle()
~~~
### 残局模式的 act.png 问题
#### 分析
当我方在残局模式控制对方并且到了对方回合时, act.png 并没有显示到对方区域,而是显示到了我方区域。
这是由于 drawing.cpp 在绘制 act.png 时并<b>没有考虑到</b>残局模式的这一情况。
也就是说,一般情况下是遇不到这个失误的。
####
~~~
Debug.SetAIName("base-2")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN,5)
Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
-----------------
-----------------
-----------------
--~ Debug.AddCard(45815891,0,0,LOCATION_MZONE,5,POS_FACEUP_ATTACK)
-----------------
-----------------
Debug.AddCard(98978921,1,1,LOCATION_EXTRA,0,POS_FACEDOWN)
-----------------
Debug.AddCard(27288416,1,1,LOCATION_MZONE,0,POS_FACEUP_ATTACK)
Debug.ReloadFieldEnd()
--~ aux.BeginPuzzle()
~~~
|