Code: Select all
| Druid.mac - Druid Powerlevel Script, optimized for LVL 55+
Druids
| Written by: Nuad
|
| THIS IS AN ONGOING, UNFINISHED WORK... 04-10-2002
|
| Start with /macro druid <Controller Name> <Type> e.g. /macro
druid Buranda 1
|
| Spells for PLing (Type 1)........: Heal, DS, Skin, Chloro, STR,
SoW, Snare, Root
| Spells for Hunting (Type 2)......: Heal, DS, Skin, Winged, STR,
SoW, Breath, Evac
| or if indoors (Type 3)...........: Heal, DS, Skin, Winged, STR,
Immolate, Breath, Evac
| or if a Nuke is required (Type 4): Heal, DS, Skin, Winged, STR,
Nuke, Debuff, Evac
|
#include SpellSub.mac
| #include Spellbook.mac
#chat tell
#event ArmOff "Your Drones of Doom spell has worn off."
#event EpicOff "Your Wrath of Nature spell has worn off."
#event BreathOff "Your Breath of Ro spell has worn off."
#event WingedOff "Your Winged Death spell has worn off."
#event ImmoOff "Your Immolate spell has worn off."
#event RegenOff "You have stopped regenerating."
Sub Main
/varset v30 $p0
/varset v29 0
/varset v34 $p1
| /call MemSpells $v34
/tell $v30 Ready
:loop
/doevents
/goto :loop
/return
Sub Event_Chat
/stand
/varset v33 $p1
| Check if Tell is from the Controller, if not inform Controller
/if "$v33"!="$v30" {
/mqlog Tell from $p1 : $p2
/tell $p1 Sorry i'm really busy at the moment and not
aviable for tells
/delay 2
/tell $v30 Tell from $p1 to $char(name) , i told him that
i'm busy
/sit
/return
}
/target $v33
/if $p2~~"00heal" /call HealSub
/if $p2~~"00DS" /call DsSub
/if $p2~~"00Skin" /call SkinSub
/if $p2~~"00Regen" /call RegenSub
/if $p2~~"00str" /call StrengthSub
/if $p2~~"00sow" /call SoWSub
/if $p2~~"00snare" /call SnareSub
/if $p2~~"00root" /call RootSub
/if $p2~~"00come" /call GoTarget
/if $p2~~"00self" /call SelfBuff
/if $p2~~"00home" /call GoHome
/if $p2~~"00evac" /call Evac
/if $p2~~"00sheal" /call SelfHeal
/if $p2~~"00status" /tell $v33 Mana: $char(mana,pct), HP:
$char(hp,pct)
/if $p2~~"00rotg" /call Chest
/if $p2~~"00drones" /call Arm
/if $p2~~"00epic" /call Epic
/if $p2~~"00winged" /call Winged
/if $p2~~"00breath" /call Breath
/if $p2~~"00immo" /call Immo
/if $p2~~"00nuke" /call Nuke
/if $p2~~"00debuff" /call Debuff
/if $p2~~"00help" /call Help
| /if $p2~~"00type1" /call MemSpells 1
| /if $p2~~"00type2" /call MemSpells 2
| /if $p2~~"00type3" /call MemSpells 3
| /if $p2~~"00type4" /call MemSpells 4
/sit
/doevents
/return
Sub HealSub
/tell $v33 INC Heal for %T
/call SpellSub 1 5
/tell $v33 Healing done, Mana: $char(mana,pct), HP: $char(
hp,pct)
/return
Sub DsSub
/tell $v33 INC Damage Shield for %T
/call SpellSub 2 5.25
/tell $v33 DS Buff done, Mana: $char(mana,pct), HP: $char(
hp,pct)
/return
Sub SkinSub
/tell $v33 INC Skin for %T
/call SpellSub 3 8
/tell $v33 Skin Buff done, Mana: $char(mana,pct), HP: $char(
hp,pct)
/return
Sub RegenSub
/tell $v33 INC Regeneration for %T
/call SpellSub 4 8.5
/tell $v33 Regeneration Buff done, Mana: $char(mana,pct), HP:
$char(hp,pct)
/return
Sub StrengthSub
/tell $v33 INC STR for %T
/call SpellSub 5 7.5
/tell $v33 STR Buff done, Mana: $char(mana,pct), HP: $char(
hp,pct)
/return
Sub SoWSub
/tell $v33 INC SoW for %T
/call SpellSub 6 8
/tell $v33 SoW Buff done, Mana: $char(mana,pct), HP: $char(
hp,pct)
/return
Sub SnareSub
/assist $v33
/delay 6
/tell $v33 Ensnaring %T
/call SpellSub 7 5.75
/tell $v33 %T is ensnared, Mana: $char(mana,pct), HP: $char(
hp,pct)
/target $v33
/return
Sub RootSub
/assist $v33
/delay 6
/tell $v33 Rooting %T
/call SpellSub 8 5.5
/tell $v33 %T is rooted, Mana: $char(mana,pct), HP: $char(
hp,pct)
/target $v33
/return
Sub SelfBuff
/press F1
/tell $v33 Casting SoW now on myself
/Call SpellSub 6 8
/press F1
/tell $v33 Casting SLN now on myself
/call SpellSub 3 8
/target $v33
/tell $v33 Selfbuffs done, Mana: $char(mana,pct), HP: $char(
hp,pct)
/target $v33
/return
Sub GoHome
/stand
/sit
/tell $v33 Camping...
/camp desktop
/unload
/return
Sub Evac
/target $v33
/invite $v33
/tell $v33 You have 8 Seconds now to press Follow
/call SpellSub 8 1
/tell $v33 EVAC INC
/return
Sub GoTarget
/stand
/target $v33
/face
/varset v90 $target(id)
/varset t0 5m
/tell $v33 I'm coming
:CloserAF
/doevents
/if "$target(id)"!="$v90" /goto :EndAF
/if n $target(distance)>14 /call AutoRun 1
/if n $target(distance)<15 /goto :EndAf
/face
/doevents
/if n $t0==0 /press esc
/goto :CloserAF
:EndAF
/call AutoRun 0
/tell $v33 stopped
/doevents
/return
Sub AutoRun
/if $p0==$v80 /return
/varset v80 $p0
/if $p0==1 /sendkey down up
/if $p0==0 /sendkey up up
/return
Sub SelfHeal
/press F1
/tell $v33 INC Heal for %T
/call SpellSub 1 5
/tell $v33 Healing done, Mana: $char(mana,pct) HP: $char(
hp,pct)
/target $v33
/return
Sub Chest
/tell $v33 INC RotG, no other actions possible in the next 10
Seconds!
/press i
/click right equip chest
/delay 95
/press i
/tell $v33 RotG done, Mana: $char(mana,pct) HP: $char(hp,pct)
/return
Sub Arm
/assist $v33
/delay 6
/varset v31 $target(name)
/tell $v33 INC Drones of Doom on %T, no other actions possible
in the next 10 Seconds!
/press i
/click right equip arms
/delay 85
/press i
/tell $v33 Drones of Doom on %T done, Mana: $char(mana,pct)
HP: $char(hp,pct)
/target $v33
/return
Sub Epic
/assist $v33
/delay 6
/tell $v33 INC Epic DoT on %T, no other actions possible in
the next 10 Seconds!
/press i
/click right equip primary
/delay 95
/press i
/tell $v33 Epic DoT on %T done, Mana: $char(mana,pct) HP:
$char(hp,pct)
/target $v33
/return
Sub Winged
/assist $v33
/delay 6
/tell $v33 Winged Death goes to %T
/call SpellSub 4 7
/tell $v33 Winged Death on %T done, Mana: $char(mana,pct),
HP: $char(hp,pct)
/target $v33
/return
Sub Breath
/assist $v33
/delay 6
/tell $v33 Breath of Ro goes to %T
/call SpellSub 7 5.5
/tell $v33 Breath of Ro on %T done, Mana: $char(mana,pct),
HP: $char(hp,pct)
/target $v33
/return
Sub Immo
/assist $v33
/delay 6
/tell $v33 Immolate goes to %T
/call SpellSub 7 5.75
/tell $v33 Immolate on %T done, Mana: $char(mana,pct), HP:
$char(hp,pct)
/target $v33
/return
Sub Nuke
/assist $v33
/delay 6
/tell $v33 Nuking %T
/call SpellSub 6 5.5
/tell $v33 Nuke on %T done, Mana: $char(mana,pct), HP: $char
(hp,pct)
/target $v33
/return
Sub Debuff
/assist $v33
/delay 6
/tell $v33 Debuffing %T
/call SpellSub 7 5.5
/tell $v33 %T successfully debuffed, Mana: $char(mana,pct),
HP: $char(hp,pct)
/target $v33
/return
Sub Event_ArmOff
/tell $v33 Drones of Doom from $char(name) has worn off.
/return
Sub Event_EpicOff
/tell $v33 Epic DoT from $char(name) has worn off.
/return
Sub Event_BreathOff
/tell $v33 Breath of Ro from $char(name) has worn off.
/return
Sub Event_WingedOff
/tell $v33 Winged Death from $char(name) has worn off.
/return
Sub Event_ImmoOff
/tell $v33 Immolate from $char(name) has worn off.
/return
Sub Event_RegenOff
/tell $v33 HP Regeneration Buff needs to be recasted.
/return
Sub MemSpells
/return
Sub Help
| unfinished yet
/tell $v33 heal, ds, skin, regen, str, sow, snare, root,
come, self, home, evac, sheal, status, rotg
/tell $v33 drones, epic, winged, breath, immo, nuke, debuff,
help, type1, type2, type3, type4
/return





