| 04-10-2009, 07:35 PM | #2 |
Disable the Critaura trigger before dealing damage and re enable it afterwards. Reason: The trigger fires when ANY damage appears, therefore the crit fires itself again. |
| 04-10-2009, 08:00 PM | #3 |
This'd be much easier with a different trigger.. Have a custom Aura ability (based off an existing one, but with different buff/icon/tooltip/etc) that gives no bonus. Then make a custom Critical Strike ability, with no icon (find one that does, if you can). Then make a trigger that says: E - Unit is attacked C - (nothing here) A - (big IF/THEN/ELSE) IF - Attacking unit has buff (Buff of your Custom Aura) THEN - Add (Custom Crit. Strike Ability) ability to Attacking Unit ELSE - Remove (Custom Crit. Strike Ability) ability from Attacking Unit. Otherwise, you could also use a periodic trigger, but this doesn't leak. It also won't update automatically; only on attack. |
| 04-10-2009, 08:10 PM | #4 | |
But critical strike ability can't crit with flamestrike or blizzard Quote:
Can you rewrite this in a different way ? i don't understand (my english sucks i know :-( ) i understood that game crash because it crit on crit on crit on crit ... [infinit] but not the first line Sorry again my english sucks =o |
| 04-10-2009, 08:16 PM | #5 | |
Quote:
|
| 04-10-2009, 08:23 PM | #6 | ||
Quote:
Use this Trigger: Trigger - Turn off (This trigger)Trigger: Trigger - Turn on (This trigger) |
| 04-10-2009, 08:24 PM | #7 | ||
i tryed to make an critical strike aura that can make a critical strike for every damage things (damage over time, area spells, normal attacks) ^^ but thanks tryed to help me =o Quote:
Ok, i'll try ! Edit : thanjs you it's don't crash anymore =D i have now a problem with my floating text, if a spell crit it show normaly, but if a normal attack crit it show a 000 line and the crit's damage one the same line
|
| 04-10-2009, 08:27 PM | #8 | |
Quote:
|
| 04-10-2009, 08:29 PM | #9 |
Umm... It is in the first post. |
| 04-10-2009, 10:57 PM | #10 |
You're likely going to want to use a Damage Detection System and then detect if a unit has the aura's buff in the condition and deal the bonus damage on top of the base damage. There are numerous options for that, check the code resources in the database to see them all. |
| 04-10-2009, 11:49 PM | #11 |
I tryed to use one but i suck in jass >_> |
| 04-11-2009, 03:03 AM | #12 | |
Quote:
|
| 04-11-2009, 06:24 AM | #13 | |
Quote:
|
| 04-11-2009, 04:24 PM | #14 |
Euuuw, how to do it ? If someone want help me sure i won't say no, but don't want take too much timeto someone =X |
