Critical-showing?

Status
Not open for further replies.
Level 3
Joined
Feb 19, 2009
Messages
24
hey guys, been in progress with a map, but i haven't figured out this:

a trigger, that shows text, when your hero gets a critical strike.

example: i am looking for an event along these lines:
Event
*unit hits target , and then gets a critical hit*

action: show floating letters on triggering unit Critical.


please help, thanks:thumbs_up:
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
Not needed, i have an engine already. But i would like to stick to my question.

1st of all u can show only triggered critical strike and not from ability

if u got system then aint problem, just use float text above the target unit like here

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Random integer number between 1 and 100) Less than *Critical Chance Rate of Unit what u must set*
    • Then - Actions
      • Floating Text - Create floating text that reads ((String((Integer(DamageEventAmount)))) + !) above DamageEventTarget with Z offset 50.00, using font size 13.00, color (100.00%, 5.00%, 10.00%), and 0.00% transparency
      • Floating Text - Set the velocity of (Last created floating text) to 75.00 towards 90.00 degrees
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the lifespan of (Last created floating text) to 3.50 seconds
      • Floating Text - Change the fading age of (Last created floating text) to 1.40 seconds
    • Else - Actions
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
I'd love to listen to this explanation.

As far as I know, when you have more than 1 critical strike, they work separatedly, means that every hit checks the % of both independently, but if both critical strikes happens at the same time, only the lowest one works, even when both damage amounts are displayed as criticals.

also i guess same if unit have critical strike and any other ability with damage multiplier


this enough for refuse the useing the critical strike if its a complex system where u wan stack it or play a bit more with critical
 
Status
Not open for further replies.
Top