Mewkyuu

Untitled

Jun 12th, 2011
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. let num=1;
  2. let num2=3;
  3. task attack1 {
  4. let a = [0,0,0,0,0,0,0,0]; let b = 0;
  5. loop {
  6. ascent(i in 0..num) { ascent(j in 0..num2) {
  7. CreateShotA(0, GetX, GetY, 10);
  8. SetShotDataA(0, 0, 3, a[i]+j*360/(num2), -i, 0, 0, RED21+i);
  9. SetShotDataA(0, 30, 3, NULL, i/4, -1/10, -3, NULL);
  10. SetShotDataA(0, 90, -3, NULL, 0, 0, 0, NULL);
  11. SetShotDataA(0, 120, -3, NULL, 0, 1/20, 0, NULL);
  12. SetShotDataA(0, 180, 0, NULL, 180/10, 0, 0, NULL);
  13. SetShotDataA(0, 190, 0, NULL, 0, 1/50, 3, NULL);
  14. FireShot(0);
  15. } a[i]=a[i]+(i+1)*(5/2+2*sin(b)); } b+=pi; b%=360;
  16. wait(10);
  17. }
  18. }
  19. task attack2 {
  20. loop(7) {
  21. wait(180);
  22. num++;
  23. }
  24. wait(150);
  25. num2+=6;
  26. wait(450);
  27. ascent(i in 0..90) { DeleteEnemyShotInCircle(ALL, GetX, GetY, i*7); if(!(i%5)){wait(5);} }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment