Have a macro idea but not sure where to start? Ask here.
Moderator: MacroQuest Developers
-
Badfish
- decaying skeleton

- Posts: 8
- Joined: Mon May 23, 2005 9:17 pm
Post
by Badfish » Sat Jun 11, 2005 10:44 pm
Well thers quite a few Canni macs out there but none fit my needs and after hours of trieing to convert one i figured id try and do one myself from scratch. Prob is im a total newb and just need a place to start. Read the manuel and wiki a few times but cant really put it into context for my purposes sorry.
What i wana do is simply have it Canni from < 20 or < 30% mana to full while i afk. I dont have access to a HoT spell yet so it should sit when hp gets low and keep regen on. Perhaps it can autodo it when i box him as well but it doesnt have to get thsi complicated.
Anywho figured this might be a way to get mah feet wet in the Macro creating world any help appreciated and thanks in advance.
-
DigitalMocking
- a grimling bloodguard

- Posts: 620
- Joined: Mon Apr 04, 2005 5:53 pm
Post
by DigitalMocking » Sun Jun 12, 2005 12:32 am
Code: Select all
Sub Main
/declare SpellCanni outer "Cannibalize IV"
/declare SpellHoT outer "Quiescence"
:Main_Loop
/delay 5
/if (${Me.CurrentHPs} > ${Math.Calc[${Me.MaxHPs}/3]} && ${Me.CurrentMana} < ${Math.Calc[${Me.MaxMana}-500]} && ${Me.SpellReady[${SpellCanni}]} && ${Me.CurrentMana}<${Spell[${SpellCanni}].Mana}) /call cast ${SpellCanni} gem1 6s
/if (${Me.CurrentHPs} < ${Math.Calc[${Me.MaxHPs}/2]} && !${Me.Buff[${SpellHoT}].ID} && ${Me.CurrentMana}<${Spell[${SpellHoT}].Mana}) /call cast ${SpellHoT} gem2 6s
/if (${Me.AltAbilityReady[47]} && ${Me.CurrentMana} < ${Math.Calc[${Me.MaxMana}-1200]} && ${Me.MaxHPs} > 3000) {
/aa act Cannibalization
/delay 3s
}
/if (${Me.CurrentMana} < ${Math.Calc[${Me.MaxMana}/10]} && ${Me.CurrentHPs} < ${Math.Calc[${Me.MaxHPs}/3]}) /sit
/goto :Main_Loop
/return
That's about as simple as it can be without being stupid enough to kill you.
-
Badfish
- decaying skeleton

- Posts: 8
- Joined: Mon May 23, 2005 9:17 pm
Post
by Badfish » Sun Jun 12, 2005 2:54 am
Thanks dude, really impressed with the speed hehe. I got a mess saved atm this looks much better : P
-
Terramantian
- a ghoul

- Posts: 120
- Joined: Thu May 13, 2004 6:20 pm
Post
by Terramantian » Sun Jun 12, 2005 8:53 pm
Code: Select all
/if (${Me.CurrentHPs} < ${Math.Calc[${Me.MaxHPs}/2]} && !${Me.Buff[${SpellHoT}].ID} && ${Me.CurrentMana}[color=red]<[/color]${Spell[${SpellHoT}].Mana})
Shouldn't that be a >?
-
DigitalMocking
- a grimling bloodguard

- Posts: 620
- Joined: Mon Apr 04, 2005 5:53 pm
Post
by DigitalMocking » Sun Jun 12, 2005 11:14 pm
No, that statement says:
If I'm at less than half my max hp, I don't have HoT on my already and I have enough mana to cast... cast HOT on me.
-
notadruid
- a ghoul

- Posts: 143
- Joined: Mon Dec 08, 2003 6:02 pm
Post
by notadruid » Mon Jun 13, 2005 12:39 pm
If you have enough mana to cast it, your mana should indeed be > the mana needed to cast it.
-
DigitalMocking
- a grimling bloodguard

- Posts: 620
- Joined: Mon Apr 04, 2005 5:53 pm
Post
by DigitalMocking » Mon Jun 13, 2005 1:22 pm
notadruid wrote:If you have enough mana to cast it, your mana should indeed be > the mana needed to cast it.
oh, oops, didn't see he highlit the sign that's backwards.
