Code: Select all
|Lazy raid wizard v0.1 BETA, by Fsck
|This uses an ini file to store your tanks names and how many concussions to use for each
|one. Additionally it will Harvest when required.
|It will not work with 100% MR mobs(MM, Emp, Seru) because concussion is resisted, Later I
|will release a delay version for those fights
|pre-use edit the provided ini file to contain your tanks' names and the amount of
|concussions to use per nuke for each tank
|
|To use /macro LazyRaid.mac <your tank's name> <nuke name>
|v0.2 will contain
#include routines.mac
#turbo 75
#event fizzle "Your spell fizzles!"
#event OOM "Insufficient Mana to cast this spell"
Sub main
| ---- VARIABLES ----
/declare tankname global | tanks name to assist
/declare nukename global | Name of nuke to use
/declare concs global | number of concussions needed per nuke
/declare concnumber global |
/varset tankname @Param0
/varset nukename @Param1
/varset concs $ini("D:\MQ\Macros\tanks.ini","@Tankname","concs")
:top
/assist @tankname
/delay 10
/if "$target(type)"!="NPC" /goto :top
/if n $target(hp,pct)<98 /goto :top
/echo Target Acquired: $target(name)
/cast item "Staff of Temperate Flux"
/delay 10
/echo Waiting for aggro to be established
:nuke
/if "$target(type)"=="NPC" {
/echo Nuking $target(name)
/cast "@nukename"
/varset concnumber 0
}
/goto :concussion
:concussion
/cast "Concussion" /varadd "@concnumber" 1
/if "@concnumber"=="@concs" {
/goto :nuke
}
/if "@concnumber"!="@concs" {
/goto :concussion
}
/return
Sub event_fizzle
/if "@concnumber"=="@concs" /goto :nuke
else /goto :concussion
}
/return
Sub event_OOM
/echo Out of Mana, Casting Harvest.
/cast "Harvest"
/delay 21s
/echo Harvest Cast, Casting Harvest of Druzzil
/alt 172
/delay 12s
/echo Harvest and Harvest of Druzzil done. Casting Modrod.
/cast item "Rod of Mystical Transvergence"
/goto :nuke
/return
|end of LazyRaid.mac
Code: Select all
[Name]
concs=2
