• 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!

Same chances as bash

Status
Not open for further replies.

cylindrical

C

cylindrical

is it possible to create a trigger that "triggers" at the same time as bash?
 
You could make the bash-ability itself triggered, that's what I do...

This is an example:
  • Events
    • Unit - A unit Is attacked
  • Conditions
    • (Owner of (Attacking unit)) Equal to Player 1 (Red)
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Random integer number between 1 and 25) Equal to 10
      • Then - Actions
        • Unit - Create 1 Dummy (stun) for Player 1 (Red) at (Position of (Attacking unit)) facing Default building facing (270.0) degrees
        • Unit - Order (Last created unit) to Attack (Attacked unit)
        • Wait 0.90 seconds
        • Unit - Remove (Last created unit) from the game
      • Else - Actions
The dummy needs a 100% bash ability, while the hero/unit has a "fake" ability with 0% chance to bash, but of course that won't be in the description :)

Advantages:


  • You can do triggered damage (attributes, ...)
  • You can easily adjust bash chance (you can also use attributes as a chance)
  • You can trace the attacking/attacked unit
  • You can add more special effects, or a little splash damage, ... to the attack
Edit: I hope there aren't any leaks in this trigger, but since no unit group is created, I don't think it will cause any problems
 
Use a damage-detection system, not

  • Events
    • Unit - A unit Is attacked
The reason why is because if a unit begins to attack a unit it will run this trigger. So basically you can just attack a unit and spam the stop command and it will run the effect.
 
i found this once in a "barathum demo map"
but i forgot where

i has a jass-ed trigger and then the "Greater Bash" occurs
in the same time as the base ability bash.

@ap0calypse:
that was what i thought too. great minds think alike...i guess... :P
 
Use a damage-detection system, not

  • Events
    • Unit - A unit Is attacked
The reason why is because if a unit begins to attack a unit it will run this trigger. So basically you can just attack a unit and spam the stop command and it will run the effect.

Can you reference what caused the damage with a damage detection system? Would be hilarious if a .1 second tick immolation or something triggered his bash effect :xxd:
 
Use a damage-detection system, not

  • Events
    • Unit - A unit Is attacked
The reason why is because if a unit begins to attack a unit it will run this trigger. So basically you can just attack a unit and spam the stop command and it will run the effect.
Why would anyone spam the stop-command?
That's just nog logical, if you spam the stop-command you won't do damage (so you stun a unit for 1-2sec then, but you haven't done any damage, what do you gain then?)

when a unit (with bash) attacks another unit, this trigger will activate and you've got a 4% chance to bash the other unit.

Damage-detection systems are usually not that effective, as Meticulous already indicated.

Cylindrical said:
that was what i thought too. great minds think alike...i guess... :P
Yep :D we're both great minds (h)

Unfortunately, I only know GUI, not JASS...
 
IDK...A stunned unit can't run away from you...

1) You can abuse him with your spells.
2) Your allies can freely attack him.
3) He's completely useless, which is still rigged as fuck.
4) Bash does damage anyway.

And there are damage-detection systems that work. I find it hard to believe that someone who doesn't know JASS would know anything about them. Just because DotA has a shitty one doesn't mean good one's don't exist.
 
  • Add
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Attack <gen> the event (Unit - (Picked unit) Takes damage)
Theres no event for "Unit takes damage" on GUI so this trigger adds that event to Attack trigger.

  • Attack
    • Events
    • Conditions
    • Actions
Now this trigger is activated every time when unit takes damage. This only affects on units that are added as events on upper trigger.
 
[Edited]
  • Unit - Create 1 Dummy (stun) for Player 1 (Red) at (Position of (Attacking unit)) facing Default building facing (270.0) degrees
  • Unit - Order (Last created unit) to Attack (Attacked unit)
  • Wait 0.90 seconds
  • Unit - Remove (Last created unit) from the game
i suggest create a dummy to cast storm bolt is better...
 
"A unit is attacked" is actually "A unit is issued the order 'attack' ", so every time your unit attacks or is ordered to attack your trigger fires. If you cancel his attack animation and order another attack, you effectively gain an attack cooldown of however fast you can click; if your unit attacks once every second, a 10% bash might not be too bad, but if your unit attacks 8 times every second, a 10% bash is starting to look a little obscene...
 
It's actually pretty common knowledge thanks to DotA. What you mean is most players won't do it because they don't care enough, not because it isn't an exploit :grin:
 
To clear up what it is:

When you use the event "A unit is attacked" it runs off from when the attacking unit begins it's attack animation. So if you right-click a unit, begin to attack and spam "Stop" repeatedly, everytime you press "Stop" the trigger will run.
So in your case, you basically get a permanet bash. I have no idea what the fuck apocalypse is talking about, considering everyone does it in DotA and it is cheap as hell.
 
Unless you have summonables or teammates or a skill like immolation or flame strike, etc.

Edit: Or if it's a PVP game, that's be fun sitting around for 30 seconds while some guy permastuns you.
 
Normally, if you play with a friend (which isn't unusual), you don't perm bach and play the game fair...
Not really. I know my friends and they wouldn't play fair against me nor I against them.
Even with total strangers, perm bash is for noobs, if you know the bug, don't use it... that's what I should do.
Permabash isn't for newbs. And there are going to people who exploit it for the hell of it. You can't simply say "don't do it". If you tell them not to, I guarantee they will.
Unfortunately the world is filled with noobs.
Yes, like people who think permabash isn't imba.
 
Status
Not open for further replies.
Back
Top