Hello,
A friend of mine and I are working on a little map just for ourselves to play via LAN.
It is just 'regular' warcraft 3 play style, but with custom races/build-trees/heroes.
Anyway, I've chosen the first race I'm customizing to be the Blood Elves. I've taken a few liberties as to the artistic direction of the race and their 'magic' but I need a bit of help on getting my lofty spell ideas to work.
I've disabled all the blood elves mana regeneration by removing their intelligence (as much as I'm able) and giving them a maximum "mana pool" of 500. I've made an ability called "Blood Rite" that damages a friendly unit for 100 hp and then gives the Blood Elf hero 100 mana. This is the only way they have of increasing their mana (beyond fountains, etc.... but I don't know how to turn off that stuff yet).
I was wondering if there is a better way to make the heroes not regen mana without removing their intelligence and not using a degeneration aura (I don't want them to lose the 'blood mana' they gain by using the blood rite ability).
On top of this I have one Blood Elf Archer hero with an ability I cannot seem to get to work properly. The overall effect is two-fold. First there is an initial ability "Mark of Blood" which grants the caster sight of the unit and damages them (like a mix-mash of Faerie Fire and a poison).
The second half is the ability I've dubbed "Heart Seeker" which fires an arrow at a target dealing 100, or 200 damage depending on the level, but if the target is below 25%(or 50% on level 2 [there is only 2 levels for this ability atm]) they will be killed instantly. The kicker to all of this is that I want the ability Heart Seeker to only be able to be cast on units who have the buff "Mark of Blood" currently operating on them.
I'm sorry I can't post the triggers using the tags that would allow you to see them as they are in the World Editor but I'm on break at work, and as such have no access to the World Editor.
What I've tried so far goes something like: (this is all from memory, so please excuse any errors here, as I'm sure they are probably wrong in my actual triggers too)
Event: Unit begins casting ability
Condition: IF THEN ELSE Multiple Conditions
-Ability being cast is "Heart Seeker"
-Unit being targeted currently has buff "Mark of Blood" equal to 'True'
Action:
Then Actions: IF THEN ELSE:
If life of targeted unit less than equal to life of targeted unit * .25 (I want to add a modifier here that makes it (.25*level of spell), but have no idea how.)
Then Kill Unit
Else Damage unit 100 (*level of spell?)
I'm sure I'm off base with these triggers. I have little experience using them, but I've been trying to learn as I go. I do have some programming experience (Java, C++, etc.) but going through all of these little drop down menus trying to find the option that works best for you is maddening.
Please assist me if you are able. I think it would be great fun if I could get this spell to work and I'd love to share a working edition with the rest of you. If you have any questions I'll check in on this post periodically throughout the day as well as many times when I'm home for the evening.
Thank you in advance!
-impyshaz
A friend of mine and I are working on a little map just for ourselves to play via LAN.
It is just 'regular' warcraft 3 play style, but with custom races/build-trees/heroes.
Anyway, I've chosen the first race I'm customizing to be the Blood Elves. I've taken a few liberties as to the artistic direction of the race and their 'magic' but I need a bit of help on getting my lofty spell ideas to work.
I've disabled all the blood elves mana regeneration by removing their intelligence (as much as I'm able) and giving them a maximum "mana pool" of 500. I've made an ability called "Blood Rite" that damages a friendly unit for 100 hp and then gives the Blood Elf hero 100 mana. This is the only way they have of increasing their mana (beyond fountains, etc.... but I don't know how to turn off that stuff yet).
I was wondering if there is a better way to make the heroes not regen mana without removing their intelligence and not using a degeneration aura (I don't want them to lose the 'blood mana' they gain by using the blood rite ability).
On top of this I have one Blood Elf Archer hero with an ability I cannot seem to get to work properly. The overall effect is two-fold. First there is an initial ability "Mark of Blood" which grants the caster sight of the unit and damages them (like a mix-mash of Faerie Fire and a poison).
The second half is the ability I've dubbed "Heart Seeker" which fires an arrow at a target dealing 100, or 200 damage depending on the level, but if the target is below 25%(or 50% on level 2 [there is only 2 levels for this ability atm]) they will be killed instantly. The kicker to all of this is that I want the ability Heart Seeker to only be able to be cast on units who have the buff "Mark of Blood" currently operating on them.
I'm sorry I can't post the triggers using the tags that would allow you to see them as they are in the World Editor but I'm on break at work, and as such have no access to the World Editor.
What I've tried so far goes something like: (this is all from memory, so please excuse any errors here, as I'm sure they are probably wrong in my actual triggers too)
Event: Unit begins casting ability
Condition: IF THEN ELSE Multiple Conditions
-Ability being cast is "Heart Seeker"
-Unit being targeted currently has buff "Mark of Blood" equal to 'True'
Action:
Then Actions: IF THEN ELSE:
If life of targeted unit less than equal to life of targeted unit * .25 (I want to add a modifier here that makes it (.25*level of spell), but have no idea how.)
Then Kill Unit
Else Damage unit 100 (*level of spell?)
I'm sure I'm off base with these triggers. I have little experience using them, but I've been trying to learn as I go. I do have some programming experience (Java, C++, etc.) but going through all of these little drop down menus trying to find the option that works best for you is maddening.
Please assist me if you are able. I think it would be great fun if I could get this spell to work and I'd love to share a working edition with the rest of you. If you have any questions I'll check in on this post periodically throughout the day as well as many times when I'm home for the evening.
Thank you in advance!
-impyshaz