Wiz nuke combo, very simple macro but...

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Moriakorm
decaying skeleton
decaying skeleton
Posts: 3
Joined: Wed Dec 04, 2002 7:38 am

Wiz nuke combo, very simple macro but...

Post by Moriakorm » Thu Feb 20, 2003 9:49 am

Ok, this is my first macro and I am a complete noob, what it do is basically Cast in that order : Destruction of Ice, Concussion, Ice Spear of Solist, Concussion, etc, using Jboots between every casts to remove recast time.
This is not an afk macro, just something I want to use so that I feel less like a bard while chain casting those spells.
As you can see the macro is very very basis atm, it works but doesn't manage fizzles, and never end.
What I would like to do is to make him manage fizzles, interrupt etc, stop when the target is down, and cast Harvest of Druzzil and Harvest, if oom.
Can I do that simply by including and maybe modifying spellcast.mac ? if yes, how so ?

Code: Select all

| - Cold.mac -
|
| Usage:  /macro Cold
| Usage:  Put Jboots in slot 3, memorize ISS in spell slot 8, Concussion in spell slot 1 
| and Destruction of Ice in spell slot 4
| Purpose: Chain Cast ISS, DOI and Concussion Alternatively.
| Written by : Moriakorm

Sub Main 
| Reset ctrl, alt, shift so keys work correctly 
   /press ctrl 
   /press shift 
   /press alt 

:CastDoI
| Cast "Ancient: Destruction of Ice"
   /Cast 4
   /delay 35

   /press 3
   /delay 15

   /cast 1
   /delay 25

   /press 3
   /delay 10

   /goto :CastISS

:CastISS
| Cast "Ice Spear of Solist"
   /cast 8
   /delay 35

   /press 3
   /delay 15

   /cast 1
   /delay 25

   /press 3
   /delay 10

   /goto :CastDoI
Moriakorm

Vendor001
Cheezily Banned
Cheezily Banned
Posts: 78
Joined: Wed Nov 13, 2002 1:37 pm

Post by Vendor001 » Thu Feb 20, 2003 7:06 pm

Here's some code you can try using the uber spellcast.mac. You might have to tailor the events, or change it to a target based "end of battle" type detection, but it gives you a general outline to start with.

Code: Select all

| - TCBOO.mac - 
| 
| Usage:  /macro TCBOO 
| Usage:  Put Jboots in slot 3, memorize ISS in spell slot 8, 
|  Concussion in spell slot 1 and Destruction of Ice in spell slot 4.
| Purpose: Chain Cast ISS, DOI and Concussion Alternatively 
|  until mob is dead...or me...THERE CAN BE ONLY ONE!
| Written by : Moriakorm (extra jazz slapped on by Vendor001)

#include spellcast.mac
#define jboots 3
#define SomeoneDead v69
#event YouDied "You died"
#event YouHaveSlain "You have slain" 
#chat tell 

Sub Main 
| Reset ctrl, alt, shift so keys work correctly 
   /press ctrl 
   /press shift 
   /press alt 
   /varset SomeoneDead 0
:GotABogey
     /if n $char(mana,pct)<20 {
        /call cast "Harvest of Druzzil"
        /call cast "Harvest"
        } 
     /if n $char(mana,pct)>40 {
        /call CastDoI
        /call CastISS
        }
     /doevents
     /if n $SomeoneDead==1 /goto :DoodIt
     /goto :GotABogey
:DoodIt
/return


sub CastDoI 
| Cast "Ancient: Destruction of Ice" 
   /call Cast "Ancient: Destruction of Ice"
   /press jboots 
   /delay 15 
   /call Conc
/return

sub CastISS 
| Cast "Ice Spear of Solist" 
   /call cast "Ice Spear of Solist"
   /press jboots
   /delay 15 
   /call Conc
/return

sub Conc
   /call cast "Concussion" 
   /press jboots 
   /delay 10 
/return

sub Event_YouHaveSlain
   /varset SomeoneDead 1
/return

sub Event_YouDied
   /varset SomeoneDead 1
/return
oops...forgot to change CastISS to a sub...fixxored.