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

I want to make 2 abilities.

Status
Not open for further replies.
Level 6
Joined
Mar 28, 2018
Messages
129
One passive to have 20% chance to gain 15 attack speed. This ability want to have 1 lvl.
Want to make other passive like this: In the game, the player has a sight radius at night.
This passive Need to have 3 lvl.
Please dont judge me i m new in this and want to learn more :D
 
Level 25
Joined
Mar 29, 2020
Messages
1,465
hey, so hopefully someone less lazy than me will come around and give you full solutions, meanwhile i will at least give you a push in the right direction.

for the attack speed passive, the easiest way would be to create a custom version of bloodlust (with the stats you want), and just have a dummy unit cast it on the attacker. to do this accurately you would want to use a damage detection system and not just use "attacking unit" like I set here, but this is the basic idea:

  • passive attack speed
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff myBloodlust (Caster)) Equal to False
      • (Level of passiveAttackSpeedAbility for (Attacking unit)) Greater than 0
    • Actions
      • Set VariableSet SuccessChance = (Random integer number between 1 and 10)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • SuccessChance Less than 3
        • Then - Actions
          • Set VariableSet tempoint = (Position of (Attacking unit))
          • Unit - Create 1 casterDummy for (Owner of (Attacking unit)) at tempoint facing Default building facing degrees
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Attacking unit)
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Custom script: remove tempoint -not like this
        • Else - Actions

for the vision range thing - I think you can hook these basic actions on to a passive ability and it should work out for you, but i'm not sure since sometimes blizzard natives randomly don't work and I haven't tried these:

  • passive vision
    • Events
    • Conditions
    • Actions
      • Set VariableSet sightRadius = (Unit: (Triggering unit)'s Real Field: Sight Radius ('usir'))
      • Unit - Set Unit: (Triggering unit)'s Real Field: Sight Radius ('usir') to Value: (sightRadius + 200.00)
I hope this was somewhat helpful, and at the very least, I bumped this thread so maybe someone like @Uncle will give an adequate response.

I'm not so motivated to work on wc3 stuff right now... sorry and good luck!
 

Uncle

Warcraft Moderator
Level 72
Joined
Aug 10, 2018
Messages
7,758
I attached a map with both of these abilities working as intended. Note that I'm using a Damage Engine and a little system I made for managing Timers in GUI. It's a bit advanced since you need to understand how to use these systems in order to understand how my triggers work, but if that doesn't bother you then give it a try.

Night Vision is setup to be MUI-which means it will work for any number of units without issues.

However, Fury (the attack speed ability) will break if multiple units have the ability at the same time. It requires a Unit Indexer system and a very minor change to one of it's Actions in order for it to be MUI.

The fix would be as simple as importing the Unit Indexer into your map and then changing the GST_ChildKey action in the Fury trigger to this:
  • Set VariableSet GST_ChildKey = (Custom value of DamageEventSource)
The map requires the latest patch.
 

Attachments

  • Night Vision and Fury.w3m
    73.1 KB · Views: 8
Last edited:
Level 6
Joined
Mar 28, 2018
Messages
129
I attached a map with both of these abilities working as intended. Note that I'm using a Damage Engine and a little system I made for managing Timers in GUI. It's a bit advanced since you need to understand how to use these systems in order to understand how my triggers work, but if that doesn't bother you then give it a try.

Night Vision is setup to be MUI-which means it will work for any number of units without issues.

However, Fury (the attack speed ability) requires a Unit Indexer system and a very minor change to one of it's Actions in order for it to be MUI. At the moment it will break if multiple units have the ability at the same time.

The map requires the latest patch.
Thank you for your time and help! 😃
 
Status
Not open for further replies.
Top