| 08-20-2003, 04:17 AM | #1 |
ok got a spell that might cause instant death and as it goes up in levels it gets more % chance to work how would i make this spell? |
| 08-20-2003, 04:42 AM | #2 |
Trigger 1 Events: A unit is issued an order targeting a unit Conditions: issued order equal to (order(orderforyourdummyspell)) Actions: set <spelltarget> = <target unit of issued order> Trigger 2 Events: A unit starts the effect of an ability Conditions: ability being cast equal to <yourspell> Actions: set x = random number between 1 and 100 if x equal to or less than <%chance your spell will activate> then kill <spelltarget> else do nothing |
| 08-20-2003, 07:46 AM | #3 |
You could always base it off of critical strike and have a X% chance to do x1000 normal damage... |
| 08-20-2003, 07:55 AM | #4 |
Lol, I never would have thought of doing that. But that only works if he wants it to be a passive ability that works while attacking... |
| 08-20-2003, 04:24 PM | #5 |
That's true; I'd use the random integer one if you want it to be a spell you cast on someone. |
