HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Ability - Blood Burn

01-23-2003, 02:12 PM#1
fr0ggE
I want to make a custom ability called Blood Burn that drains health and gives back mana (not sure on the numbers yet)

could this be accomplished by editting a Item-Health Bonus type of ability (the sort that healing potions have) and making the mana cost negative (hopefully this would *give back* mana when you cast it) and making the health gained negative also.

would this work?

fr0ggE
01-23-2003, 02:25 PM#2
Dinadan87
You could easily just take some ability you don't plan on using that doesn't have targets (unless you want to be able to choose a target to blood burn). So if you wanted to use War Stomp for it you can make a trigger. It checks whenever War Stomp is cast, and when it is it makes the triggering unit stop (so he doesn't actually stomp), then the triggers take away from his health and add to his mana. Then you'd have to do some spell editting to give War Stomp new name and tooltips and make it so it doesn't cost mana. Changing the potion of healing ability MIGHT work but I don't think negative mana costs work.
01-23-2003, 02:53 PM#3
fr0ggE
Could you do a Mana Burn edit with a small range, target self only, and then set the mana burned from self to be positive?

(I presume the health will still be negative)

fr0ggE
01-23-2003, 04:09 PM#4
kharma
Alright, I'm going to bed right now, but if someone doesn't come up with the solution I have in mind when I wake up tomorrow and test it, I'll post it here to see what you think.
01-24-2003, 06:10 AM#5
fr0ggE
*slaps forehead*

*gets a big grin on his face*

Wow, what a cool idea I just had. I just hope that it works, cause it will rock so hard.

The Blood Burn spell could work like this:

modify Immolation to include 'self' in the targets, change initial mana cost to whatever you wanted (in this case 0) and then set the mana drained per second to an appropriate negative value (i.e. it heals mana rather than draining it) and set the hp damage per second to whatever damage you want.

Now you have a spell with a cool graphic (immolation, how appropriate!) which damages you and adjacent enemies and also heals your mana.

How sweet is that!?!?!

Its even cooler than the original idea because you can choose how much you want to do it to yourself.

fr0ggE
01-24-2003, 10:15 AM#6
fr0ggE
NOOOOOOOOOOOOOOOOO

I was editting Immolation and there's no field for the mana drained while its on. I guess its just hardcoded into the spell

so dissapointed

fr0ggE

EDIT:
kharma, what was your idea?
01-24-2003, 12:14 PM#7
kharma
Actually, your idea does work perfectly fine, having just tested it myself. Immolation has a mana cost in the normal mana column. It works in a special way that requires a mana cost (25) + a buffer cost (10). You have to have an amount of mana equal to or greater than those two costs together (35) to be able to activate immolation. Also, while it is active, there is a 3rd value that determines how much mana is drained per second (7). So to get the effect you want, just follow your own steps; setting the mana 'upkeep' to a negative, and modify targetting of immolation from enemies to yourself.

I assume your using some sort of spell editor, as the .slk is riddled with comments on how it works if you open it via excel. If that is the case, then I'm not sure exactly what you have to do, as I've only ever done it the old-fashioned way (so to speak). Therefore, the best help I can give you is the data field references:

mana cost - should be in the normal cost field (Default = 25)
Damage per second - Data 11 (Default = 10 for 1st level)
Mana drained per second - Data12 (Default = 7)
Buffer cost - Data13 (Default = 10)

Hopefully this is of some use to you.
01-24-2003, 12:19 PM#8
fr0ggE
If that's true and I can get this to work I'll love you forever! In fact I love you anyways! Was this your idea as well?

fr0ggE
01-24-2003, 01:14 PM#9
kharma
Well ya, but you mentioned it first :D
01-24-2003, 01:26 PM#10
fr0ggE
What should i set the buffer to?

I'm not sure exactly what the buffer does, but i image that if your mana drops below the buffer line then it auto turns itself off. Should i therefore set the buffer to be 0 to avoid the spell randomly ending if I drop below ten mana?

fr0ggE
01-24-2003, 01:37 PM#11
kharma
The buffer mana is only for activation, not deactivation. Immolation will only automatically deactivate when you hit 0 mana (or there abouts). Therefore, you'd want to set it to 0. Otherwise the player will have to have 10 mana to activate an ability that grants them mana, which is a bit strange :D
01-24-2003, 01:48 PM#12
fr0ggE
alright, cool, one question tho. What's point of having the buffer at all? Why not just make the spell cost 35 mana if you want it to cost 35 mana?

fr0ggE
01-24-2003, 02:34 PM#13
kharma
I'm sure there's a plausible explanation, but whatever it may be is beyond my knowledge.

In other words - Heck, I dunno :ggani:.