• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

farm tower can we remvoe ?

Status
Not open for further replies.
sorry im french
events of my problem
a tower build by player 12 kill a unit (note my hero is far of my tower)

action and result of my problem
the tower give stats to my hero evrytime my tower kill a ennemy

is they a way to remove building giving stats to my hero evrytime my tower kill some1
 
You can find that action in the "Hero" section.
It's name is "Hero - Modify Hero Attribute".
Here's an example of its usage and how it looks:

  • Hero - Modify Strength of YourUnit: Add 10
You can change the attribute, hero and add/subtract amount within the action by editing the blue/red text. Here's another example:

  • Hero - Modify Agility of Archmage <gen>: Add 18
Just remember to add the events and fully customize the trigger to your desires.
 
what do you mean!!!! if i understand i gotta make a trigger when this tower kill a unit its give no stats ?

is this possible to do like to put a general variable like building so i dont have to specifie all raw code(ability id) cuz im working with jass!!!

cuz note i wanan REMOVE giving stats, not giving stats to my hero
 
What do you mean? What stats do tower gives to your hero?
You can remove a non-triggering exp getting in gameplay constants.
You can create local variable or constant for the building, like
Code:
local unittype u=<type of your tower>
<actions>
set u=null
 
its give hmm str,int & agi stats teh fact is when the building or evry building kill unit its give thats to owner of building!! its give normal stats liek 2-3 point evry kill and tis pissing me off ,i dfont wanna remove tower its fucking usefull but i wanna remove farming ability of evry building if i could get a jass that work for evry building it could be usefull

and for the jass u showed me can u explain it 2 me ? im a new guy in jass i dont know all things
 
str,int & agi? Maybe you have another trigger / ability that give it to unit after each kill?

M_Vegeta said:
and for the jass u showed me can u explain it 2 me ? im a new guy in jass i dont know all things
But you wrote that you're making maps on jass. How can you make maps on it if you don't know basic functions? You can change a local with global array.
 
Status
Not open for further replies.
Back
Top