| 05-30-2006, 08:50 PM | #1 |
I need an upgrade that's like defend, in that you research it, and all units that have the upgrade learn it. It's a critical strike. Also, I need to know how to make it into a variable w/o JASS (if possible) If it's not possible, then I'll need to see how to do it in JASS. ![]() |
| 05-30-2006, 10:31 PM | #2 |
If you are doing what I think you are trying to do then you do not need to use triggers are Jass at all. Its quite simple. First create your abillity and how many levels you want it to go to. Second Go into the upgrade part of the editor. and click on create custom Upgrade. When you see the parameters Data - Effect 1 Abillity Level Bonus Data - Effect 1- Abillity level base 1 Data - Effect 1 - Abillity Affected (your custom abillity) Data - Effect 1 - Abillity level increment 1 Then run the following trigger for regular abillities like critical strike or auras Trigger: ![]() Event: (your own event)
![]() Condition: (N/A)
![]() Action: Player - Set the current research level of (Custom research) to 0 for Player 1 (Red) |
| 05-30-2006, 11:59 PM | #3 |
ok cool thanks! +rep |
