Page 1 of 1
SUPER simple canni mac.
Posted: Sat Jun 11, 2005 10:44 pm
by Badfish
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.
Posted: Sun Jun 12, 2005 12:32 am
by DigitalMocking
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.
Posted: Sun Jun 12, 2005 2:54 am
by Badfish
Thanks dude, really impressed with the speed hehe. I got a mess saved atm this looks much better : P
Posted: Sun Jun 12, 2005 8:53 pm
by Terramantian
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 >?
Posted: Sun Jun 12, 2005 11:14 pm
by DigitalMocking
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.
Posted: Mon Jun 13, 2005 12:39 pm
by notadruid
If you have enough mana to cast it, your mana should indeed be > the mana needed to cast it.
Posted: Mon Jun 13, 2005 1:22 pm
by DigitalMocking
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.
