• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Adding Pillage Aura

Status
Not open for further replies.
Level 2
Joined
Jan 4, 2007
Messages
15
I have an abilty that adds the pillage abilty to any unit within range it's fellow trigger looks like this.

Events:
unit-A unit starts the effect of an ability.

Conditions:
Ability being cast equal to - Brigandage (my Aura.)

Actions:
Add abilty Brigandage(unit) to target of abilty being cast.

It does not work in game when I attack someone and I get no resources.
 
...thats not very logical, unless im misunderstanding. so you have this spell thats basically an aura that gives surrounding units pillage? but you use "starts effect of ability" event... so is this an activated spell? =S

anyways pillage has techtree requirements. looks into that. If that somehow doesnt work, i would imagine that simply triggering pillage effects would be just as easy.
-> a unit attacks with pillage buff?:coolgrunt:
 
Pillage Ability Considerations

Pillage is a unit ability with a techtree requirement.
If your custom "Brigandage" is based on pillage:
  1. Edit the field value Stats - Hero Ability
    Change this value to true. (If used by a hero.)

  2. Edit the field value Techtree - Requirements
    Delete the Techtree requirement: Pillage.
 
Maybe i can help.

First, mark the unit with aura as 'something' in var. Then...

Event
Unit came in range of (your aura radius) of "Something" (the variable)
Conditions
(Add conditions you wanted to add, as if Organic, non hero or whtever wit boolean comparison.)
Actions
Add Ability _Robbery_ (i mean this is your Pillage ability)

Fin! Not just that, if you can make the pillage ability for other units unseen without icon, it wuld be better!

Oh yeah, another thing.

Event
Unit come in range of (radii) + 1 of "something"
Action
Remove _Robbery_ from triggering unit

Tada! Fin e prestissimo! Mamamia!
 
But if your skill is passive and not active, the "starts an effect of an ability" isn't logical, so you maybe want to it in this form:

EDIT: I did the map, only 5 minutes. And yep, It works in this form:

Brigandage
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units within 700.00 of (Position of Tauren Chieftain 0000 <gen>) matching ((((Matching unit) belongs to an enemy of (Owner of Tauren Chieftain 0000 <gen>)) Equal to False) and (((Matching unit) has buff Brigandage) Equal to True))) and do (Actions)
Loop - Actions
Unit - Add Pillage to (Picked unit)
Unit Group - Pick every unit in (Units within 1000000000.00 of (Center of (Playable map area)) matching (((Matching unit) has buff Brigandage) Equal to False)) and do (Actions)
Loop - Actions
Unit - Remove Pillage from (Picked unit)

You can download the Test Map anyways...
 

Attachments

Last edited:
But if your skill is passive and not active, the "starts an effect of an ability" isn't logical, so you maybe want to it in this form:

EDIT: I did the map, only 5 minutes. And yep, It works in this form:



You can download the Test Map anyways...

Isn't it going to make a memory leak? I mean, process every 0.50 second....wow. Maybe sumbody can suggest sumthing better than mine and Arcsol's?

P.S : Arcsol, WOW.
 
Status
Not open for further replies.
Back
Top