Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.15 KB | None | 0 0
  1.  
  2. ;==================================
  3. ; Script Name: FOO MAN CHOO'S PVP HEALER
  4. ; Author: Foo Man Choo
  5. ; Version: 1.0
  6. ; Client Tested with: FS 7.0-7.0.31
  7. ; EUO version tested with: 242
  8. ; Shard OSI / FS: OSI / FS
  9. ; Revision Date: 8/05/13
  10. ; Public Release: 07/31/13
  11. ; Global Variables Used: *Mortalled , *Paralyzed
  12. ; Purpose: Daids Pots Apples Smoke Bombs Taunts evasion counter attack , keeps you alive
  13. ;==================================
  14.  
  15. ;;;;; ---->>> AOS SERVER W/ ALL SKILLS <<<-----
  16. ;;;;; TESTED BANDAGE DELAY FORMULA FROM 100-150 DEX
  17. ;;;;; TAUNTS YOUR OPPONENT WITH 34 DIFFERNT TAUNTS
  18. ;;;;; YOU MAY EDIT THE TUANTS OR TURN OFF -- TO EDIT GOTO LINE 295
  19. ;;;;; LIKE ALL THE OTHER HEALING SCRIPTS YOU MUST RUN part2 OF THIS SCRIPT
  20. ;;;;; TO SCAN JOURNAL IF YOU DONT APPLES AND SMOKE BOMBS WONT WORK
  21.  
  22. ;;;;; WHAT THIS SCRIPT DOESNT DO, DISARM YOUR WEAPON TO DRINK POT THEN RE-ARM IT
  23. ;;;;; I BELIEVE ASSISTUO HAS THIS FEATURE TO ASSIST YOU IN THAT REGARD BUT ITS SLOW
  24. ;;;;; JUST USE BALANCED BOW OR 1 HAND WEAPON
  25. ;;;;; PS : DONT TELL PEOPLE YOU DONT USE SCRIPTS WHEN YOU DO THATS JUST DUMB WE ALL KNOW WHEN YOU ARE!
  26.  
  27. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  28. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; USER VARIABLES ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  29. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  30.  
  31. set %bscommand #true ; does your shard support [bs command? #true or #false
  32. ; warning --- if #false and you "que" last target you may bandage your enemy,
  33. ; could cause you to get guard wacked this script is primarily for servers that support [bs
  34. ;;;;; IF you are on a server that doesnt support [bs use assistuo to heal
  35.  
  36. ;;;;;;;;;;;;;;;;
  37. ;;HitPointVars;;
  38. ;;;;;;;;;;;;;;;;
  39.  
  40. set %AppleHP 95 ;95 remember apples have a 2 minut timer only uses when mortalled and HP is 95 or less
  41. set %EvadeHP 100 ;100 when you will cast evasion from the script
  42. set %HealHP 115 ;115 when to drink a heal pot (hit point value or less)0
  43. set %CureHP 145 ;145 there is no timer on cure pots this never set this to your max HP minus 5 or 10
  44. set %RefreshS 47 ;70 when your stam falls bellow this number drink a refresh
  45. set %CounterHP 80 ;80 again trigger point to auto- perform bushido spell counter
  46. set %ChivHP 150 ; this is in the works doesnt do nothing right now
  47. ;set %ManaM 60 ;;dont use this it is the same type as heal pot
  48.  
  49. ;;;;;;;;;;;;;;;;
  50. ;; Setup Vars ;;
  51. ;;;;;;;;;;;;;;;;
  52.  
  53. ;set *Weapon HYKRZUD disabled in this script haha eat me :)
  54. set %PotionBag WCQMBND ; if you use a potion bag or blessbag you will need to set it here
  55. ; alternatively if you do not use a potionbag replace the ID with #backpackid
  56. ; this potionbag or #backpack must be open for the script to locate your potions/bandaids/smokebombs/apples
  57. set %UseAids #true
  58. set %usetaunt #true ; #true or #false want to antagonize your enemy?
  59. set %Evasion #true
  60. set %CurePots #true
  61. set %HealPots #true
  62. set %RefreshPots #true
  63. set %StatPots #true
  64. set %ManaPots #false ; disabled on purpos interfears with heal pots
  65. set %UseApples #true
  66. set %Counter #true
  67. set %UseSmokebomb #true
  68. set %AidLag 0 ;
  69.  
  70. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  71. ;;;;;;;;;;;; NOTHING ELSE TO EDIT BELLOW XCEPT TAUNTS AFTER LINE 287 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  72. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  73. ;;;;;;;;;;;;;;;;
  74. ;; Timer Vars ;;
  75. ;;;;;;;;;;;;;;;;
  76. set %ReArm #sCnt2
  77. set %Aidwait #sCnt2
  78. set %Armwait #sCnt2
  79. set %Evadewait #Scnt
  80. set %Counterwait #Scnt
  81. set %Healwait #Scnt
  82. set %Manawait #Scnt
  83. set %Applewait #Scnt
  84. set %Parawait #Scnt
  85. set %Curewait #Scnt
  86. set %Strwait #Scnt
  87. set %Dexwait #Scnt
  88. set %dex 0
  89. set %str 0
  90. ;;;;;;;;;;;;;;;;
  91. ;; Item Vars ;;
  92. ;;;;;;;;;;;;;;;;
  93. ;set %Spellstone TIY
  94. set %Apples CBS
  95. set %Cure NUF
  96. set %Heal UUF
  97. set %Refresh ZUF
  98. set %Agility YUF
  99. set %Strength XUF
  100. set %smokebomb CHP
  101. set %Mana UUF
  102.  
  103. ;;;;;;;;;;;;;;;;
  104. ;; Taunts ;;
  105. ;;;;;;;;;;;;;;;;
  106. set %td #scnt2
  107. set %t 1
  108. set %IM 24
  109. ;;;;;;;;;;;;;;;;;;;;;;;;;
  110. ;;;;;;;;;;;;;;;;;;;;;;;;;
  111. set %Paratime #scnt
  112. Loop:
  113. if ( #hits = #maxhits && C notin #charstatus ) || #Charghost = yes
  114. goto SkipMain
  115. if H notin #charstatus
  116. {
  117. if #targcurs = 0
  118. {
  119. if %CurePots && C in #charstatus && #Scnt >= %Curewait && ! *Mortalled
  120. gosub CheckHP %CureHP Potion %Cure
  121. if %HealPots && C notin #charstatus && #Scnt > %Healwait && ! *Mortalled
  122. {
  123. set %PotType Heal
  124. gosub CheckHP %HealHP Potion %Heal
  125. }
  126. if %RefreshPots && #stamina < %RefreshS
  127. gosub Potion %Refresh
  128. if %StatPots && %dex > #dex && #sCnt >= %Dexwait
  129. gosub Potion %Agility
  130. if %StatPots && %str > #str && #sCnt >= %Strwait
  131. gosub Potion %Strength
  132. if %Evasion && #Scnt >= %Evadewait
  133. gosub CheckHP %EvadeHP Evasion
  134. if %Counter && #Scnt >= %Counterwait
  135. gosub CheckHP %CounterHP Counter
  136. }
  137. if %UseAids && ( ( ! *Mortalled && #hits < #maxhits ) || C in #charstatus ) && #sCnt2 >= %Aidwait
  138. {
  139. if %bscommand
  140. gosub Aids
  141. else
  142. gosub Aids2
  143. }
  144. if %UseApples && *Mortalled && #Scnt >= %Applewait
  145. gosub CheckHP %AppleHP Apples
  146. if %UseSmokebomb && *Para && #scnt >= %Paratime
  147. gosub Smokeyjoe
  148. }
  149. SkipMain:
  150. goto Loop
  151.  
  152. ;;;;;;;;;;;;;;;;;;
  153. ;; Subs ;;
  154. ;;;;;;;;;;;;;;;;;;
  155.  
  156. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  157.  
  158. sub RearmWeapon
  159. finditem *Weapon C_ , #CharID
  160. if #findcnt < 1 && #sCnt2 > %ReArm
  161. {
  162. finditem *Weapon C_ , #BackpackID
  163. exevent Drag #findid
  164. exevent Droppd
  165. set %ReArm #sCnt2 + 55
  166. }
  167. return
  168.  
  169. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  170.  
  171. sub Apples
  172. finditem CBS C_ , %PotionBag
  173. set #LObjectID #findid
  174. event macro 17 0
  175. set %Applewait ( #sCnt + 16 )
  176. set *Mortalled #false
  177. return
  178.  
  179. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  180.  
  181. sub Smokeyjoe
  182. finditem CHP C_ , %PotionBag
  183. if #findcnt < 1
  184. return
  185. set #LObjectID #findid
  186. event macro 17 0
  187. set %Paratime ( #scnt + 12 )
  188. return
  189.  
  190. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;c
  191.  
  192. sub Evasion
  193. event macro 15 147
  194. event macro 1 0 You Cant Touch This
  195. set %Evadewait ( #sCnt + 21 ) ;21
  196. return
  197.  
  198. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  199.  
  200. sub Counter
  201. event macro 15 148
  202. set %Counterwait ( #sCnt + 30 )
  203. return
  204.  
  205. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  206.  
  207. sub Aids
  208. event macro 1 0 [bandself
  209. set %Aidwait ( ( ( 110 - ( #dex / 20 ) * 10 ) ) - 3 ) + #scnt2
  210. if %usetaunt
  211. gosub gettaunt
  212. return
  213.  
  214. sub Aids2 ;; double clicks bandages
  215. if #targcurs = 0
  216. {
  217. finditem ZLF C_ , %PotionBag
  218. if #findcnt < 1
  219. return
  220. set #Lobjectid #findid
  221. event macro 17 0
  222. target
  223. event macro 23 0
  224. set %Aidwait ( ( ( 110 - ( #dex / 20 ) * 10 ) ) - 3 ) + #scnt2
  225. if %usetaunt
  226. gosub gettaunt
  227. }
  228. return
  229.  
  230. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  231.  
  232. sub Potion
  233. finditem %1 C_ , %PotionBag
  234. if #findcnt < 1
  235. goto SkipPots
  236. if %1 = UUF
  237. {
  238. for #findindex 1 #findcnt
  239. {
  240. event property #FindID
  241. if %PotType in #property
  242. {
  243. set #LobjectID #findid
  244. goto Chug
  245. }
  246. if Mana in #property
  247. {
  248. set #LobjectID #findid
  249. goto Chug
  250. }
  251. }
  252. }
  253. set #LobjectID #findid
  254. Chug:
  255. event macro 17 0
  256. if %1 = UUF && %PotType = Heal
  257. set %Healwait ( #sCnt + 11 )
  258. if %1 = NUF
  259. set %Curewait ( #sCnt + 1 )
  260. if %1 = YUF
  261. {
  262. set %Dexwait ( #sCnt + 5 )
  263. wait 5
  264. set %dex #dex
  265. }
  266. if %1 = XUF
  267. {
  268. set %Strwait ( #sCnt + 5 )
  269. wait 5
  270. set %str #str
  271. }
  272. SkipPots:
  273. return
  274.  
  275. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  276.  
  277. sub CheckHP
  278. if #Hits < %1
  279. gosub %2 %3
  280. return
  281.  
  282. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  283.  
  284. sub gettaunt
  285. if #scnt2 < %TD
  286. return
  287. gosub %t
  288. set %t ( %t + 1 )
  289. set %TD ( #scnt2 + 40 )
  290. return
  291.  
  292. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  293.  
  294. sub 1
  295. event macro 1 0 you dont have a chance fatty
  296. return
  297. sub 2
  298. event macro 1 0 try again when you bring a army
  299. return
  300. sub 3
  301. event macro 1 0 that all you got?
  302. return
  303. sub 4
  304. event macro 1 0 why dont you try to not suck so bad
  305. return
  306. sub 5
  307. event macro 1 0 really? you need go get a 400 powerscroll in pvp then try again
  308. return
  309. sub 6
  310. event macro 1 0 go go gadget pwn your @ZZ
  311. return
  312. sub 7
  313. event macro 1 0 your not going to cry are you?
  314. return
  315. sub 8
  316. event macro 1 0 if yo momma woulda had change for a 20 youda been a BJ
  317. return
  318. sub 9
  319. event macro 1 0 you should just stand there and die to get it over quicker
  320. return
  321. sub 10
  322. event macro 1 0 you mad bro?
  323. return
  324. sub 11
  325. event macro 1 0 you need a tissue?
  326. return
  327. sub 12
  328. event macro 1 0 hey popeye you need a can of spinache? you suck bra
  329. return
  330. sub 13
  331. event macro 1 0 My name is Donald and You're fired!
  332. return
  333. sub 14
  334. event macro 1 0 you Are The weakest Link.!
  335. return
  336. sub 15
  337. event macro 1 0 whered you learn that from the new player dungeon?
  338. return
  339. sub 16
  340. event macro 1 0 oooh.. that tickles
  341. return
  342. sub 17
  343. event macro 1 0 my 5 year old does better pvp than you
  344. return
  345. sub 18
  346. event macro 1 0 rage log go ahead~!
  347. return
  348. sub 19
  349. event macro 1 0 rage much?
  350. return
  351. sub 20
  352. event macro 1 0 you mad bro?
  353. return
  354. sub 21
  355. event macro 1 0 just uninstall uo your terribad
  356. return
  357. sub 22
  358. event macro 1 0 your still holding your Dildo, try using a weapon.
  359. return
  360. sub 23
  361. event macro 1 0 your just a tree hugging hippy
  362. return
  363. sub 24
  364. event macro 1 0 are you trying to hit me or hug me to death?
  365. return
  366. sub 25
  367. event macro 1 0 blondie hits harder than you
  368. return
  369. sub 26
  370. event macro 1 0 you mad you bad?
  371. return
  372. sub 27
  373. event macro 1 0 just hold still while i smack you up a bit.
  374. return
  375. sub 28
  376. event macro 1 0 Hey! i got some candy for you and a jelly donut with custard filling want some?
  377. return
  378. sub 29
  379. event macro 1 0 what would you do for a klondike bar?
  380. return
  381. sub 30
  382. event macro 1 0 great googly moogly your such a fail?
  383. return
  384. sub 31
  385. event macro 1 0 your not going to run are you?
  386. return
  387. sub 32
  388. event macro 1 0 Look i think he's going to cry.
  389. return
  390. sub 33
  391. event macro 1 0 yup , definitly crying now.
  392. return
  393. sub 34
  394. event macro 1 0 will you run to mc donalds and get me some french cries
  395. event macro 1 0 and a tall glass of shut the hell up
  396. set %t 0
  397. return
  398.  
  399. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  400. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  401. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement