1. 13 Jan, 2022 1 commit
  2. 11 Jan, 2022 1 commit
  3. 09 Jan, 2022 1 commit
    • salix5's avatar
      fix ATK calculating (#428) · abd5b23d
      salix5 authored
      * add EFFECT_SET_BASE_ATTACK_FINAL
      
      remove EFFECT_FLAG_REPEAT
      
      * add get_base_atk_def(), get_atk_def()
      
      * use get_atk_def()
      abd5b23d
  4. 30 Dec, 2021 1 commit
  5. 15 Dec, 2021 1 commit
  6. 14 Dec, 2021 2 commits
  7. 11 Dec, 2021 2 commits
  8. 01 Dec, 2021 2 commits
  9. 29 Nov, 2021 1 commit
  10. 27 Nov, 2021 3 commits
  11. 26 Nov, 2021 2 commits
  12. 22 Nov, 2021 1 commit
  13. 01 Nov, 2021 1 commit
  14. 31 Oct, 2021 1 commit
  15. 30 Oct, 2021 1 commit
  16. 28 Oct, 2021 1 commit
    • salix5's avatar
      update card::add_effect() (#408) · 9e774a52
      salix5 authored
      1. Check the event reserved for EFFECT_TYPE_CONTINUOUS.
      2. The trigger effect in phase is "once per turn" by default.
      9e774a52
  17. 13 Oct, 2021 1 commit
  18. 10 Oct, 2021 1 commit
  19. 08 Oct, 2021 2 commits
  20. 30 Sep, 2021 1 commit
  21. 26 Sep, 2021 2 commits
  22. 21 Sep, 2021 1 commit
  23. 16 Sep, 2021 1 commit
  24. 05 Sep, 2021 1 commit
  25. 01 Sep, 2021 4 commits
  26. 22 Aug, 2021 2 commits
    • salix5's avatar
      fix card::add_effect() · 8acb0c4c
      salix5 authored
      1. Change the status of X, and then negate the effect of X.
      2. Negate the effect of X, and then change the status of X.
      The 2 ways should get the same result.
      8acb0c4c
    • salix5's avatar
      remove class mtrandom · f9be2090
      salix5 authored
      f9be2090
  27. 21 Aug, 2021 1 commit
    • salix5's avatar
      update RNG and uniform distribution (#391) · 3fe5cbdd
      salix5 authored
      DUEL_OLD_REPLAY
      The duel created by old replay files.
      It will use the original almost-uniform distribution.
      
      Random Number Generator
      C++11 has a built-in std::mersenne_twister_engine()
      It can be replaced by std::mt19937.
      
      class mt19937
      rand()
      mersenne_twister_engine std:mt19937
      
      get_random_integer()
      uniform_int_distribution based on std::mt19937
      
      shuffle_vector()
      Fisher–Yates shuffle based on get_random_integer()
      
      * update RNG and uniform distribution
      
      * add class mt19937
      
      * typos
      
      * avoid windows macro
      
      * fix rand()
      3fe5cbdd
  28. 18 Aug, 2021 1 commit