Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. set #lpc 1000
  2. set *atack 0
  3. set *automat 1
  4. set %moblist FG
  5. ignoreitem reset
  6. ignoreitem #charid
  7. set %procent 50 * #maxhits / 100
  8. repeat
  9. {
  10. if #enemyid <> N/A && #hITS > %procent
  11. finditem #enemyid G_20
  12. else
  13. finditem FG_OH_JD_RB_LB_UE_BK_VF_GE_OB_M_WF_YF_KG_SD_XG_VD_BG_OF_RD_TG_sF_JG_MG_NF_TF_CO_AH_WG_AG_YG_EG_RF_NG_HG_PF_ZF_WC_PGB_TN_TC_BG_PG_AD_QD_IS_HS_QF_LD_XE_MB_SI_BD_TH_CJ_NI_GD_ID_YE_PD_ED_XH_I_UC_UD_RB_BJ_W_CB_JD_WD_XC_DB_Y_DI_AB_ND_AI_BI_RI_KI_DJ_N_TI_OD_OJ_EF_AF_UF_WB_BB_JB_XF_FD_QE_GB_QD_IB_KD_TD_AE_DE_BE_IE_CD_WE_VE_PE_ZC_YD_IS_HS_WZA_TN_IS_XU_HS_LJ_SG_ , %moblist G_20
  14. if #findindex < #findcnt
  15. {
  16. for #findindex 1 #findcnt
  17. {
  18. if #findrep <> 3 && #findrep <> 6
  19. {
  20. ignoreitem #findid
  21. break
  22. }
  23. if #findrep = 3 || #findrep = 6
  24. {
  25. set *atack 1
  26. if *atack = 0
  27. {
  28. repeat
  29. set *atack 1
  30. until *atack = 1
  31. }
  32. set #ltargetid #findid
  33. event macro 27 0
  34. set %mob #enemyid
  35. set %czas #scnt + 2
  36. if #enemyid <> %mob
  37. {
  38. repeat
  39. set %mob #enemyid
  40. until %mob = #enemyid || %czas < #scnt
  41. }
  42. if N/A in #enemyid
  43. {
  44. repeat
  45. {
  46. finditem %mob G_10
  47. set #ltargetid #findid
  48. event macro 27 0
  49. if #findkind = -1
  50. break
  51. }
  52. until %mob <> #enemyid
  53. }
  54. set %czekaj #scnt + 120
  55. repeat
  56. {
  57. if #enemyid = N/A
  58. break
  59. wait 5
  60. }
  61. until %mob in #enemyid || %czekaj < #scnt || *atack = 0
  62. if %czekaj < #scnt
  63. {
  64. event macro 6 0
  65. event macro 6 0
  66. ignoreitem #findid
  67. set *atack 0
  68. set #enemyid N/A
  69. set #enemyhits 0
  70. }
  71. }
  72. }
  73. }
  74. else
  75. {
  76. finditem * G_20
  77. if #findindex < #findcnt
  78. {
  79. for #findindex 1 #findcnt
  80. {
  81. if #findrep <> 3 && #findrep <> 6
  82. {
  83. ignoreitem #findid
  84. continue
  85. }
  86. if #findrep = 3 || #findrep = 6
  87. {
  88. set *atack 1
  89. if *atack = 0
  90. {
  91. repeat
  92. set *atack 1
  93. until *atack = 1
  94. }
  95. set #ltargetid #findid
  96. if #findtype notin %moblist
  97. {
  98. set %moblist %moblist , _ , #findtype
  99. event sysmessage Dodalem moba %moblist
  100. }
  101. event macro 27
  102. set %mob #enemyid
  103. set %czas #scnt + 2
  104. if #enemyid <> %mob
  105. {
  106. repeat
  107. set %mob #enemyid
  108. until %mob = #enemyid || %czas < #scnt
  109. }
  110. if N/A in #enemyid
  111. {
  112. repeat
  113. {
  114. finditem %mob G_10
  115. set #ltargetid #findid
  116. event macro 27 0
  117. if #findkind = -1
  118. break
  119. }
  120. until %mob <> #enemyid
  121. }
  122. set %czekaj #scnt + 120
  123. repeat
  124. {
  125. if #enemyid = N/A
  126. break
  127. wait 5
  128. }
  129. until %mob in #enemyid || %czekaj < #scnt || *atack = 0
  130. if %czekaj < #scnt
  131. {
  132. event macro 6 0
  133. event macro 6 0
  134. ignoreitem #findid
  135. set *atack 0
  136. set #enemyid N/A
  137. set #enemyhits 0
  138. }
  139. set *atack 0
  140. if *atack = 1
  141. {
  142. repeat
  143. set *atack 0
  144. until *atack = 0
  145. }
  146. }
  147. }
  148. }
  149. else
  150. {
  151. set *atack 0
  152. if *atack = 1
  153. {
  154. repeat
  155. set *atack 0
  156. until *atack = 0
  157. }
  158. }
  159. }
  160. }
  161. until #false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement