buckeyesfan1
New member
- Joined
- Apr 6, 2006
- RedCents
- 10¢
does someone have a simple heal macro. Something where I target the tank or the person being Power leveled and when the target gets 60% it cast the first spell loaded. Thanks again.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
|- CHbot.mac v1.0
|-
|- By Majin1970
|-
|- This macro will, quite simply, turn your cleric into a CH bot. When your ${MainAssist}
|- reaches the ${StartCHPercent}, your cleric will begin casting Complete Healing.
|-
|- Usage: /mac CHBot.mac <Main Assist> <CHeal Percent>
|_
|------------------------------------------------------------------------------------------
#turbo 40
#include spell_routines.inc
#event ZONE "LOADING, PLEASE WAIT..."
Sub Main
/echo ###################################################
/echo ## I will now command your heals! Hold on to your butts! ###
/echo ###################################################
|------------------------------------------------------------
|-Spell Declares. Change these spells to whatever spells you use.
|------------------------------------------------------------
/declare Heal1 string outer
/declare Heal1Gem string outer
/declare Heal1Time string outer
/declare Heal1IsClicky bool outer
/declare Heal2 string outer
/declare Heal2Gem string outer
/declare Heal2Time string outer
/declare Heal2IsClicky bool outer
/declare Heal3 string outer
/declare Heal3Gem string outer
/declare Heal3Time string outer
/declare Heal3IsClicky bool outer
/declare CHSpell string outer "Complete Healing"
/declare CHSpellGem string outer gem3
/declare CHSpellTime string outer 10s
/declare CHSpellIsClicky bool outer FALSE
/declare StartCHPercent int outer
|------------------------------------------------------------
|-Buff Declares. Change these spells to whatever spells you use.
|------------------------------------------------------------
/declare Buff1 string outer "Symbol of Balikor"
/declare Buff1Gem string outer
/declare Buff1Time string outer
/declare Buff1Clicky string outer
/declare Buff2 string outer
/declare Buff2Gem string outer
/declare Buff2Time string outer
/declare Buff2Clicky string outer
/declare Buff3 string outer
/declare Buff3Gem string outer
/declare Buff3Time string outer
/declare Buff3Clicky string outer
/declare Buff4 string outer
/declare Buff4Gem string outer
/declare Buff4Time string outer
/declare Buff4Clicky string outer
|------------------------------------------------------------
|-Main Assist
|------------------------------------------------------------
/declare MainAssist string outer
/if (${Defined[Param0]}) {
/varset MainAssist ${Param0}
} else {
/echo MainAssist wasn't defined. Ending macro.
/endmac
}
/echo MainAssist has been set to ${MainAssist}
|------------------------------------------------------------
|-Determines when the cleric begins his CH. (Based on MainAssist PctHPs.)
|------------------------------------------------------------
/if (${Defined[Param1]}) {
/varset StartCHPercent ${Param1}
/echo Your CH will start at ${Param1}
} else {
/echo You didn't specify a percent for CH to start. Defaulting to 60.
/varset StartCHPercent 60
}
|████████████████████████████████████████████████████████
|█████████████████████ MainLoop █████████████████████████
|████████████████████████████████████████████████████████
|██ This is the MainLoop, where everything begins. ██
|████████████████████████████████████████████████████████
:Main
/doevents
|----█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█----|
|----█ This line checks to see if your target is █----|
|----█ ${MainAssist}, in range for heal, equal or █----|
|----█ below your ${StartCHPercent}, and ${CHSpell} █----|
|----█ is ready cast. █----|
|----█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█----|
/if (${Target.Name.Equal[${MainAssist}]} && ${Target.Distance}<=100 && ${Target.PctHPs}<=${StartCHPercent} && ${Me.SpellReady[${CHSpell}]}) {
/call cast ${CHSpell} ${CHSpellGem} HEALING
{
/goto :Main
/return
Sub Event_ZONE
/echo You've died or zoned. Ending macro.
/endmac
Sub HEALING
/g CH on ►►►| 0028071-00001-00001-00001-00001-000015ED87FFC %t |◄◄◄
/delay 10s
/return
/declare CHSpell string outer "Complete Healing"
/declare CHSpellGem string outer gem3
/declare CHSpellTime string outer 10s
/declare CHSpell string outer "Karana's Renewal"
/declare CHSpellGem string outer gem3
/declare CHSpellTime string outer 10s
/mac CHBot.mac ToonName 60