• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[JASS] Detecting buff on unit

Status
Not open for further replies.
Hey, there. I have this in a damage detection trigger:

JASS:
    if GetUnitAbilityLevel(GetTriggerUnit(),'B016')>0 then //Captains Cannon
        call UnitRemoveAbility(GetTriggerUnit(),'B016')
        call floatingTextSizeIncrease("Captains Cannon!",GetUnitLoc(GetTriggerUnit()))
    endif

What ability should I base it on? It needs to deal damage and give a buff for about 1 second without stunning.
 
Level 4
Joined
Feb 25, 2008
Messages
58
Base it off of rejuvenation but give it negative regen and make it only castable on enemy units. Make the duration 1 second and the heal (damage) frequency .8 seconds and make the heal (damage) amount equal to the damage you want to deal. Change the art to whatever you want and voila.
 
Level 4
Joined
Feb 25, 2008
Messages
58
Shadow strike has a projectile, and I'm sure you could mess around with the data fields a little bit so that you don't have any periodic damage and it doesn't slow. Then the only thing that would stick out is the initial damage has a little number (like 200!) that floats up when the projectile hits, but that might be cool with you?

If you're still against that, then you can have the ability be chain lightning and have a trigger that makes a dummy unit cast a separate spell that has a buff on the target of the chain lightning ability.

Hope that helps?
 
Status
Not open for further replies.
Top