Here is the code. Gnash is a spell damage hit.
Gnash is "COMSkill, 11"
Off Heal is "COMSkill, 14"
What im looking to do is with some skills.. do an "added effect"
what "off heal" is.. is a free spell that i want to auto matically cast after gnash..but not be selectable from the menu.
Im sure you can see it in the combo code.
module Combos
def self.total_actions(com)
case com.id
when 1 then return 2 # Gnash Combo
end
return 1
end
def self.commands(com)
case com.id
when 1 #Gnash Combo
case com.aid
when 1 #Gnash
return [[COMSkill, 11]]
when 2 #Off heal
return [[COMSkill, 14],
[COMAbort]]
end
end
return []
end
def self.anim_data(com)
return [0, [3, 3, 3, 3], '', false]
end
end
end
Once again ill sum up what im trying to do with a "tool tip" for Gnash perhaps
"Strikes the enemy with Darkness damage causing the enemy to take additional Darkness damage over 6 seconds and restoring a small amount of HP to the caster"
and perhaps i can create "kiwas own retarded simplified code" to get the point across. using J as the cast key like in BABS
*if this confuses you ignore it.. and ill find another way to explain it.*
Kiwa code 1.noob
------names of my spells------
Spell "Gnash"
enemyHP - 20 = enemyHP
end
Spell "Off Heal"
heroHP +3 = heroHP
end
-------Get key-------
On Keypress "J"
cast spell "Gnash"
cast spell "Off Heal"
end
A twin spell casting..or immediate chain one after the other on its on "Macro".
After all that typing.. i thought of this.. (im leaving that stuff there..cuz it was a lot of effort and thought..lol)
I dont wanna refer to it this way but...
Ever play WoW? bet you have..
imagine a shadow priest that hits with mind blast...gaining back HP with vamperic embrace.
but i want to do this with many spells ...restore HP or Mana..
and i also want to make one do both passivly thru a common event so if in combat and you run out of mana.. you can jsut run around till you gain more.
your probably more confused now..
Thanks for taking this on lol.