What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to implement a lifeblood into a CC

MDurner11

Member
Joined
Jan 15, 2010
Messages
201
Reaction score
0
He guys, I know there are TONS of people here with an indepth knowledge of CC creation, and I am in need of some help.

Pretty much, what I am looking for is a simple little code to cast Lifeblood at x percent of health. I'm roughly familiar with how I need to implement the actual spell into the spellbook, but that's about as far as my knowledge goes.

Can anyone post here the code I would need? Or a CC that makes use of the spell lifeblood so maybe I can just c/p it into the LikWarrior CC?

Appreciate the help,
MD
 
If you want a quick and dirty way here is the code:

Code:
[SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]WoWSpell [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]checkSpell = [/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]SpellManager[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].KnownSpells["Lifeblood"];[/SIZE]
if (Me.HealthPercent < 50 && !checkSpell.Cooldown && SpellManager.KnownSpells.ContainsKey("Lifeblood"))
{
     SpellManager.CanCastSpell("Lifeblood");
}

If you're health is below 50% use lifeblood. Put this in the Combat void of the CC.
 
if (SpellManager.KnownSpells.ContainsKey("Lifeblood") && SpellManager.CanCastSpell("Lifeblood"))
{
return "Lifeblood";
}

Something like that i think?
 
Back
Top