| 10-16-2003, 01:21 AM | #1 |
it's going to be a turn on/turn off spell very much like immolation so that is the spell i copied. this is what it does: When Mana Sacrafice is turned on, Hero loses X amount of Mana per second. However, Everytime he successfully hits an enemy, X amount of Mana is subtracted from enemy's Mana pool. I realize i have to use some triggers for this, but I need some guidance. Anyone know how to do it for me? :gsmile: i appreciate all help |
| 10-16-2003, 01:26 AM | #2 |
Well, I would find the AOE of you spell, then use trigger: Event- Condition- Action- Pick every unit within {spell range} and Set "picked unit's" mana -{the number you want} |
| 10-16-2003, 01:29 AM | #3 |
Yes that would work but then it'd be like an aura, I was hoping for it to be "on attack" since it's an agility hero who will have pretty quick attack speed (will rape casters) |
| 10-16-2003, 01:32 AM | #4 |
manaSacrifice Event - A unit is issued an order with no target Condition - issued order = immolation unit-type of ordered unit = <your hero> Actions - turn on(manaSacrificeActions) manaSacrificeActions Event - A unit is attacked Conditions - attacking unit = <your hero> Actions- set mana of (attacked unit) = (mana of (attacked unit)) - <whatever> manaSacrificeOff Event - A unit is issued an order with no target Condition - issued order = unimmolation unit-type of ordered unit = <your hero> Actions - turn off(manaSacrificeActions) |
| 10-16-2003, 01:41 AM | #5 |
How do I get "immolation" from in Issued order = Immolation |
| 10-16-2003, 02:09 AM | #6 |
its an order comparison, click on stop and type in immolation (immolation is case sensitive I think) it should look like exactly like this (Issued order) Equal to (Order(immolation)) |
| 10-16-2003, 03:33 AM | #7 |
Very helpful. I love this place. Thanks to Euthanasia for writing it out very clearly (different colors and everything:D ) and to Behemoth for clearing that one thing up. |
| 10-16-2003, 04:41 AM | #8 |
This is strange. The spell still takes place even though it isn't turned on or even learned. The triggers are exact except for: Where you say <your hero> does it have to be exact hero or can it be like unit-type, (there will only be one of them so doesn't seem like it matters to me) I also added a special effect when he attacks, I don't think that should screw it up either though. |
| 10-16-2003, 08:04 PM | #9 |
Anyone know why? I don't want the thread getting drowned out sorry. |
| 10-16-2003, 08:32 PM | #10 |
maybe its your actual immolation spell? |
| 10-16-2003, 08:43 PM | #11 |
manaSacrifice - enabled, initially on Event - A unit is issued an order with no target Condition - issued order = immolation unit-type of ordered unit = <your hero> Actions - turn on(manaSacrificeActions) Actions - turn off(this trigger) Actions - turn on(manaSacrificeOff) manaSacrificeActions - enabled, not initially on Event - A unit is attacked Conditions - attacking unit = <your hero> Actions- set mana of (attacked unit) = (mana of (attacked unit)) - <whatever> manaSacrificeOff - enabled, not initially on Event - A unit is issued an order with no target Condition - issued order = unimmolation unit-type of ordered unit = <your hero> Actions - turn off(manaSacrificeActions) Actions - turn off(this trigger) Actions - turn on(manaSacrifice) |
| 10-16-2003, 08:45 PM | #12 |
It might be because the "Target order=stop" somehow flipped back to its defaults. Check to make sure you have immolationon exactly how it matches the skill -- check Immolation to see what its order name is. |
| 10-16-2003, 08:53 PM | #13 |
Kewlchris go it, thanks man |
| 10-16-2003, 09:19 PM | #14 |
No problem, i had a similar spell but with a cloak spell similar to the ghost's cloak from starcraft. |
