Exarion

FM AI notes

May 28th, 2018
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. (on DarkNite and high mages)
  2. If I let him have control then he's rolling the RNG to see if he lays a trap or plays Mountain.
  3. Whereas if I have control then they always play the field spell, no RNG roll.
  4.  
  5. -----
  6.  
  7. Random fun fact: the AI will not activate a face-down Raigeki if you have less monsters than them.
  8.  
  9. Also, there's an order the AI looks over spells.
  10. HFD, Sparks, Hinotama, Final Flame, Ookazi, Tremendous Fire, Mooyan Curry, Red Medicine, Goblin's Secret Remedy, Soul of the Pure, Dian Keto, equips, rituals, DPL, SoRL, Stop Defense, DCJ, Warrior Elimination, Eternal Rest, Stain Storm, Eradicating Aerosol, Breath of Light, Eternal Drought, Spellbinding, Shadow Spell, Crush Card, Raigeki, Forest, Wasteland, Mountain, Sogen, Umi, Yami, Dark Hole
  11. Equips are looked over in the order they're on the field, as are rituals.
  12.  
  13. HFD, equips, rituals, SoRL, Spellbinding, Shadow Spell, Crush Card, Raigeki, field spells, Dark Hole
  14. HFD, Shadow Spell, Raigeki
  15. SoRL, Spellbinding
  16.  
  17. -----
  18.  
  19. From GenericMadScientist:
  20. So far all I've looked at is determining what monster the AI plays if they can't play a magic or fusion. It seems to be as straightforward as looking at the top x cards (x changes per duelist) and playing the one with the highest max, picking the first one in case of a tie.
  21.  
  22. So, to give the value of x for each opponent (and so how much they cheat):
  23.  
  24. Heishin 1 20
  25.  
  26. Rex 8
  27. Weevil 8
  28. Mai 10
  29. Bandit Keith 12
  30.  
  31. Shadi 12
  32. Bakura 14
  33. Pegasus 16
  34. Isis 16
  35.  
  36. Kaiba 16
  37. Mage Soldier 12
  38.  
  39. Mountain Mage 14
  40. Atenza 16
  41.  
  42. Ocean Mage 14
  43. Secmeton 16
  44.  
  45. Desert Mage 14
  46. Martis 16
  47.  
  48. Labyrinth Mage 16
  49. Seto 2 18
  50.  
  51. Forest Mage 14
  52. Anubisius 16
  53.  
  54. Meadow Mage 14
  55. Kepura 16
  56.  
  57. Sebek 20
  58. Neku 20
  59. Heishin 2 20
  60. Seto 3 20
  61. DarkNite 20
  62. Nitemare 20
  63.  
  64. Deck composition (again from GMS):
  65. If you ignore rerolling (although I don't think that's a good idea) and just want a very rough estimate, then the obvious formula would be 1 - (1 - x/2048)^40. But it doesn't work well. Like for example if you do that then it says the odds of Seto 3 having a BEUD in his deck is just under 80%, but when I simulated it I think I got an answer of 87%.
  66.  
  67. Frequency Odds in deck (rough)
  68. 1 1.9
  69. 2 3.8
  70. 3 5.7
  71. 4 7.5
  72. ...
  73. 8 14.5
  74. 10 17.8
  75. 12 20.9
  76. ...
  77. 20 32.5
  78. 30 44.6
  79. 40 54.6
  80. 48 61.3
  81. 50 62.8
  82. 60 69.6
  83. 64 71.9
  84. 70 75.1
  85. 80 79.7 (actual is ~87.0)
  86. 90 83.4
  87. 100 86.5
  88. 110 89.0
  89. 120 91.1
  90. 130 92.7
  91. 140 94.1
  92. 150 95.2
  93. 160 96.1
  94.  
  95. -----
  96.  
  97. My theory:
  98. ok, so correct me if I'm wrong, @GenericMadScientist, but this formula should be close to accurate for determining % of an opponent playing their best turn 1 card (assuming it does not tie anything):
  99.  
  100. 1 - (1 - F/2048)^H
  101.  
  102. where F = the frequency as listed in TEA, and H = the size of their starting "hand"
  103.  
  104. Duelist Monster Odds of playing turn 1 (if monster is played)
  105. Rex 1350+ 9.3
  106. Rex 1000+ 16.7
  107. Rex 900+ 60.5
  108. Weevil Jirai 17.1
  109. Keith Zoa 6.8
  110. Bakura Shield/Wall 36.3
  111. Peggy MBD 6.6
  112. Isis BSD 8.0
  113. Isis BSD/THTD 16.8
  114. Isis 2250+ 57.3
  115. Isis 2100+ 88.4
  116. Isis 2000+ 98.3
  117. Kaiba BEWD 26.8
  118. Kaiba 3000 46.0
  119. Lab. Mage GG 32.1
  120. Lab. Mage 3000+ 62.4
  121. Seto 2 GG 44.8
  122. Seto 2 3000+ 89.0
  123. Meadow Shield 20.4
  124. Meadow 2100+ 49.9
  125. Kepura GG 40.5
  126. Kepura GG/BSD 65.2
  127. Kepura 3000+ 82.8
  128. Anubisius PUGM 31.8
  129. Anubisius PUGM/GM/JB 69.2
  130. Sebek Metalzoa 44.4
  131. Sebek 3000 or Zoa 88.0
  132. Neku Skull Knight 48.0
  133. Neku 2900+ 92.5
  134. Heishin 2 GG 49.1
  135. Heishin 2 GG/MBD 64.1
  136. Heishin 2 3000+ or Zera 93.5
  137. Seto 3 BEUD 56.8
  138. Seto 3 BEUD/GG/MBD 87.6
  139. Seto 3 3000+ 99.4
  140. DarkNite MBD 28.5
  141. DarkNite 3000+ 63.9
  142. Nitemare BEUD 28.5
  143. Nitemare 3500+ 74.3
  144. Nitemare 3000+ or Tri-H 95.4
  145.  
  146. *haven't updated with simulation data
  147.  
  148. -----
  149.  
  150. OTHER:
  151. - if he has magic and trap, can't set magic
  152. - if he has monster and trap:
  153. > if not in control, always monster
  154. > if empty board, always trap
  155. > if in control, dice roll (50/50?)
  156. - if he has monster and magic, dice roll for which (might vary by duelist/distribution)
  157. > magic seems to have less priority (when compared only to monster) than trap
Add Comment
Please, Sign In to add comment