Crescebdo

DE. 花园六炮

Jun 9th, 2024
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.12 KB | None | 0 0
  1. /*
  2.  * 脚本作者: Crescendo(https://space.bilibili.com/8252252), 2024
  3.  * 可自由复制, 转载, 修改本脚本, 但请注明出处. 不可从源代码中删去本段落.
  4.  */
  5.  
  6. #include "SelectCardsPlus/SelectCardsPlus.h"
  7. #include "SimpleAvZ/lib.h"
  8. #include "avz.h"
  9.  
  10. using namespace AvZ;
  11.  
  12. int leng1 = 1753;
  13.  
  14. void Script()
  15. {
  16.     KeyConnect('F', [=]() { SetGameSpeed(5); });
  17.     KeyConnect('G', [=]() { SetGameSpeed(1); });
  18.     OpenMultipleEffective('C');
  19.     SetZombies({PJ_0, LZ_2, CG_3, WW_8, BC_12, XC_15, FT_21, TL_22, BY_23, HY_32});
  20.     SelectCards({ICE, M_ICE, DOOM, COFFEE, CHERRY, JALA, SQUASH, SPIKE, SNOW_PEA, PUMPKIN});
  21.     SetIce({{1, 1}, {5, 1}, {1, 6}, {5, 6}});
  22.  
  23.     for (auto w : waves(1)) {
  24.         C(300, {DOOM, COFFEE}, 2, 9);
  25.         D(after(261), 3, 3.5);
  26.     }
  27.  
  28.     for (auto w : waves(2)) {
  29.         P(359, 2, 9);
  30.         C(now, CHERRY, 5, 9);
  31.         D(after(259), 3, 3.5);
  32.         I();
  33.         SetTime(359);
  34.         MaidCheats::dancing();
  35.         Delay(601);
  36.         MaidCheats::stop();
  37.     }
  38.  
  39.     for (auto w : waves({3, 8}, {11, 18}, 1)) {
  40.         C_IF(exist(ZOMBONI), 622, keep(50), SPIKE, 3, 8);
  41.         PP(leng1 - 200, 8.6);
  42.         D(after(362), 3, 3.5);
  43.         I(leng1 + 11);
  44.         if (w == 8 || w == 18) {
  45.             EnsureExist(GIGA);
  46.         }
  47.     }
  48.  
  49.     for (auto w : waves(9, 19)) {
  50.         EnsureExist(GIGA);
  51.         C_IF(exist(ZOMBONI), 300, keep(50), SPIKE, 3, 9);
  52.         PP(1553, 8.6);
  53.         C(1565, CHERRY, 3, 9);
  54.         D(after(362), 3, 3.5);
  55.         C(1565 + 182, SQUASH, 3, 9);
  56.         C(after(299), {DOOM, COFFEE}, 3, 9);
  57.         if (w != 19) {
  58.             C(after(-133), SNOW_PEA, 1, 7);
  59.         }
  60.         PP(3275, 8.3);
  61.  
  62.         C(0, SNOW_PEA, 5, 6);
  63.     }
  64.  
  65.     for (auto w : waves(10)) {
  66.         PP(359);
  67.         C(now, JALA, 4, 7);
  68.         D(after(259), 3, 3.5);
  69.         C(416, SQUASH, 5, 9);
  70.         I(after(200));
  71.     }
  72.  
  73.     for (auto w : waves(20)) {
  74.         EnsureExist(GIGA);
  75.         P(341, 3, 9);
  76.         P(after(100), 3, 9);
  77.         PP(after(110));
  78.         I(now);
  79.  
  80.         PP(1800);
  81.         C(now, CHERRY, 2, 9);
  82.     }
  83. }
  84.  
Advertisement
Add Comment
Please, Sign In to add comment