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

Same chances as bash

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
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
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
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.
 
Level 1
Joined
Mar 11, 2009
Messages
4
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
 
Level 11
Joined
Nov 15, 2007
Messages
800
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:
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
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...
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
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.
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
  • 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.
 
Level 11
Joined
Oct 20, 2007
Messages
342
[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...
 
Level 11
Joined
Nov 15, 2007
Messages
800
"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...
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
In my trigger, the bash doesn't deal damage, so the unit is stunned, but doesn't receive damage.
Of course I know that you can deal damage with it by adding 1 action, but I don't know any damage-detection system, so this is the best I could think of.
Also, regular players won't spam the stop-command.
 
Level 11
Joined
Nov 15, 2007
Messages
800
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:
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
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.
 
Level 11
Joined
Nov 15, 2007
Messages
800
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.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Normally, if you play with a friend (which isn't unusual), you don't perm bach and play the game fair...
Even with total strangers, perm bash is for noobs, if you know the bug, don't use it... that's what I should do.
Unfortunately the world is filled with noobs.

My solution is a good one, if no one will abuse the bug.
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
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.
Top