Hey everyone, I've been programming for a while in several different languages, but am relatively new to C. I am also just learning how to code, and have a question regarding spells. I cant seem to find anywhere with a decent description of how to add spells, most just say 'then you have to code the effects of the spell itself'. Im looking to create a spell called Drain. I want it to deal between 50 and 200 hp of damage, depending on the caster's skill and level. I want it to send to the victim "<caster>'s drain saps you for <#>." To the caster, "Your drain saps <victim> for <#>.", and to bystanders, "<caster>'s drain saps <victim> for <#>." I'd like it to be a level 5 spell. If someone could please take the time to show me how to do this, and in what files to add what lines, I usually catch on very quickly.
Thanks in advance, Zack

