• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

What is the event for when bash proccs?

Status
Not open for further replies.
Level 2
Joined
Aug 14, 2006
Messages
17
I suddenly came across the problem of how bash is identified in a trigger...
First I thought it was Event - [Unit] Starts casting an ability, but it wasn't.
Anyone know what event there should be for identifying when bash proccs?

EDIT: After reading previous posts I withdraw my question and apologize for this post.

//Much appreciation
ShadowHunter
 
Last edited:
Ok, 1st of all I'm not sure, but it can't be starts or ends the casting because bash isnt casted, its passive. it could be a unit starts the effect of a spell, but i think that won't work too.
The easiest way is to make bash have a 0% chance to occur and let a trigger calculate chances like this:

  • Event
    • A unit is attack
  • Condition
    • Level of Bash for (Attacking Unit) unequal to 0
    • Random Number between (Level of Bash for (Attacking Unit)) and 5 is equal to 5
  • Actions
    • Set temppoint = (Position of (Attacked Unit))
    • Unit - Create 1 Dummy for (Owner of (Attacking Unit)) at temppoint
    • Unit - Add Bash-Effect to (Last Created Unit)
    • Unit - Set level of Bash-Effect for (Last Created Unit) to (Level of Bash for (Attacking Unit))
    • Unit - Order (Last Created Unit) to Human - Stormbolt (Attacked Unit)
    • Unit - Add a 2.00 Standard Expiration Timer to (Last Created Unit)
    • Custom script - Call RemoveLocation(udg_temppoint)
    • ---Further Stuff you want to make comes here---
This will make that the basher unit has a 20%, 25%, 33% chance to bash a unit, depending on the level of bash. Then a dummy will stun and deal extra damage to it, with a modified stormbolt that is set to the same level as the level of bash for the attacker, that has no Projectile Art and is a unit spell, not hero spell. After that you can add more Actions to improve the spell.
 
Status
Not open for further replies.
Back
Top