| 09-24-2004, 01:49 AM | #1 |
hey I need help trying to make a spell that only works at night time. what it is, is like a thing for my vampire... at night time he gets plus 20 to all stats. If you know how to do this and would like to help me out either email me or just respond to this about how to do this trigger ability thing. email: [email protected] |
| 09-24-2004, 03:48 AM | #2 |
Do a trigger like this: Events Game - The in-game time of day becomes Equal to 18.00 Actions Hero - Modify Strength of (your unit): Add 20 Hero - Modify Agility of (your unit): Add 20 Hero - Modify Intelligence of (your unit): Add 20 Wait until ((In-game time of day) Greater than or equal to 6.00), checking every 0.50 seconds Hero - Modify Strength of (your unit): Subtract 20 Hero - Modify Agility of (your unit): Subtract 20 Hero - Modify Intelligence of (your unit): Subtract 20 If you want it to appear the 20 stats as bonus, then you will have to make an abillity based on the Crown Of Kings bonus, just make it add 20 to all stats, then just add that abillity to the Hero and then remove, instead of modifing the stats. |
| 09-24-2004, 05:14 AM | #3 |
Thanks that helps. But Ive found out that I need help with another ability. What it is, is basically like a plague/ virus kind of thing. the ability attacks a single unit and does a DoT (like shadow strike), but I want it to spread to other units and heroes (i.e. having nearby units "get the virus" and have a DoT and a buff showing that they have the virus. If you've understood a word ive said and know how to do this, please help me. |
| 09-26-2004, 02:15 AM | #4 |
I don't understand exactly what you want, but if you want a kind of AOE Shadow strike, you will just need a dummy unit, a dummy shadow strike spell, just do pick every unit in range, create a dummy unit and order it to cast on it.Or, if you want a virus that can spread to units that are nearby to the target, then do a "Every 1.00 event", pick every units in a range of the target, then create a dummy unit and order it to cast on it.I can make that spell if you want. |
