• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Custom Wind Walk

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,601
Hey.

I have a problem I'm not sure how to solve. I have a basic Wind Walk with custom damage. The problem is that player can "abuse" the ability.

fradz invisible strike can be abused. If you stop him after *start attack* and before *damage point* (you dont hit the target) the damage bonus is applied but he stay invisible.

And here's the code:

  • Invisible Strike I Element Ability Copy
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Invisible Strike (Fradz)) Equal to True
    • Actions
      • Unit - Cause (Attacking unit) to damage (Attacked unit), dealing (Real(YMultiboard__INVISIBLESTRIKE)) damage of attack type Normal and damage type Normal
      • Unit - Remove Wind Walk buff from (Attacking unit)
How to fix it? Doesn't need to be MUI or anything.

Thanks for the help!
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
I dont see anything abusable in there.
The Wind Walk buff is removed, so the attacker will in any case become visible.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Perhaps you are removing the wrong buff, Aero ?

The invisible buff applied to Fradz is;
  • ((Attacking unit) has buff Invisible Strike (Fradz)) Equal to True
But you removed the buff;
  • Unit - Remove Wind Walk buff from (Attacking unit)
I think you should remove the correct buff ?
  • Unit - Remove Invisible Strike (Fradz)) buff from (Attacking unit)
 
Level 37
Joined
Aug 14, 2006
Messages
7,601
Perhaps you are removing the wrong buff, Aero ?

The invisible buff applied to Fradz is;
  • ((Attacking unit) has buff Invisible Strike (Fradz)) Equal to True
But you removed the buff;
  • Unit - Remove Wind Walk buff from (Attacking unit)
I think you should remove the correct buff ?
  • Unit - Remove Invisible Strike (Fradz)) buff from (Attacking unit)

Oh yea. Fuck!
 
Status
Not open for further replies.
Top