Druid healing Spell

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Andrue
decaying skeleton
decaying skeleton
Posts: 7
Joined: Mon Sep 30, 2002 1:00 am

Druid healing Spell

Post by Andrue » Mon Sep 30, 2002 1:04 am

How to you make it so the druid cast tunares renewal instead of the old healing spell in the druid.mac script? Also how exactly do you change the spells around to something different?

Druid.Mac


Sub Main
:loop
/doevents
/goto :loop
/return

Sub Event_Chat
/stand
/target $p1
/if $p2~~"heal" /call HealSub
/if $p2~~"DS" /call DsSub
/if $p2~~"Skin" /call SkinSub
/if $p2~~"Regen" /call RegenSub
/if $p2~~"str" /call StrengthSub
/if $p2~~"sow" /call SoWSub
/if $p2~~"snare" /call SnareSub
/if $p2~~"root" /call RootSub
/if $p2~~"come" /call GoTarget
/if $p2~~"self" /call SelfBuff
/if $p2~~"go home" /call GoHome
/delay 15
/sit
/return

Sub HealSub
/TT INC Heal for %T
/call SpellSub 1 5
/return

Sub DsSub
/tt INC Damage Shield for %T
/call SpellSub 2 5.25
/return

Sub SkinSub
/tt INC Skin for %T
/call SpellSub 3 8
/return

Sub RegenSub
/tt INC Regen for %T
/call SpellSub 4 8.5
/return

Sub StrengthSub
/tt INC STR for %T
/call SpellSub 5 7.5
/return

Sub SoWSub
/tt INC SoW for %T
/call SpellSub 6 8
/return

Sub SnareSub
/assist $p1
/delay 5
/tell $p1 Ensnaring %T
/call SpellSub 7 5.75
/target $p1
/tt Mob ensnared
/return

Sub RootSub
/assist $p1
/delay 5
/tell $p1 Rooting %T
/call SpellSub 8 5.5
/target $p1
/tt Mob rooted
/return

Sub GoTarget
/stand
/face $p1
/varset v90 $target(id)
/tt I'm coming to you %t, no other actions possible in the next 10 Seconds
/varset t0 10s
:CloserAF
/if "$target(id)"!="$v90" /goto :EndAF
/if n $target(distance)>14 /call AutoRun 1
/if n $target(distance)<15 /call AutoRun 0
/if n $target(distance)<5 /call BackPedal 0
/if n $target(distance)>4 /call BackPedal 1
/face $p1
/if n $t0==0 /press esc
/goto :CloserAF

:EndAF
/call AutoRun 0
/return

Sub SelfBuff
/sendkey down F1
/sendkey up F1
/Call SpellSub 6 8
/sendkey down F1
/sendkey up F1
/call SpellSub 3 8
/target $p1
/return

Sub GoHome
/sit
/camp desktop
/unload
/return

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Mon Sep 30, 2002 1:50 am

just mem the spells differently.

drastic ape
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Aug 23, 2002 4:43 am

Post by drastic ape » Mon Sep 30, 2002 2:09 am

It's easy to rearrange the spells, just look at what the macro is doing. Notice how the spells that the Bot casts on mobs use /assist $p1 and the rest don't? Rewrite everything so it revolves around the /call Spellsub 1-8 (spell slot 1-8 ) for the spells you want to put in those slots. Alter the chat events so they match your spells, or not... it doesn't really matter I make mine gibberish so my bot doesn't get confused by tells from passer-bys.

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Mon Sep 30, 2002 2:46 am

my bot's strings are group friendly...
/gsay DS please...
/gsay Haste dropped!
/gsay stick close to me
/gsay wait here for a bit
- Plazmic

Andrue
decaying skeleton
decaying skeleton
Posts: 7
Joined: Mon Sep 30, 2002 1:00 am

Post by Andrue » Mon Sep 30, 2002 3:48 am

Ok nevermind I get the idea was really just trying to understand the spellsubb stuff better. Could you show me a short sub I could add to the druid.mac so it would check the target an autoheal him if he got below a certain level. I would rather not have him grouped up with the person either.

Thanks