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

[JASS] Quick Question! +2 rep to all helpers!

Status
Not open for further replies.

Sverkerman

Hosted Project: BoW
Level 17
Joined
Feb 28, 2010
Messages
1,325
Is there any way to apply a ability effect to a unit without having a dummy unit applying it?

Example of ability effects:
Increases damage by x% for xSeconds.
Reduce damage taken by x%.
Invisibility like Wind Walk.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
How about you add all those said abilities ?
Increases damage by x% for xSeconds. - Command Aura
Reduce damage taken by x%. - Berserk (make it negative value to reduce damage taken)
Invisibility like Wind Walk. - Permanent Invisibility

But remember, that this method just add an ability to that unit, it does not apply a buff, therefore, you should handle all the duration all by yourselves, luckily I have created a system named Temporary Ability which will add ability to a unit with a certain duration.

Together with this system, you can achieve the desired effect - without needing a dummy to apply those buffs.
 

Sverkerman

Hosted Project: BoW
Level 17
Joined
Feb 28, 2010
Messages
1,325
Berserk needs to be activated in order to be applied. Is there any way to apply it to a unit that is being controlled by a player without that player being able to turn it off or cause it not to be casted when I want it to?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035

Sverkerman

Hosted Project: BoW
Level 17
Joined
Feb 28, 2010
Messages
1,325
@defskull
We got a problem. Spiked Caparace seems to not do shit even tho I'm playing around with Recieved Damage Factor.
EDIT: Nvm, I just implemented the system developed by Bribe and I'm loving it! Thank you for all the help you've provided me with Defskull! I owe you one ;)
 
Last edited:
Status
Not open for further replies.
Top