i want to make a ability that you use on a target and depending on the target i want to give the caster diffrent kind of buffs.
the map i'm making has mobs on the map with different properties like fire,water or earth
and i want my caster to use an ability on a fire mob and get a fire buff and if i would cast the same ability on a water mob i want a water buff.
is there a way to do this just using the data editor?
You can create Validator - Unit Type and set the field Validator - Value to the name of the unit you 'steal' the buff from.
Then in the Effect - Apply Behavior effect you set the field Effect - Validators to the validator you created.
Then just set the Behavior - Behavior to the behavior you want.
Do this for each type of buff you need to 'steal'.
Rollback Post to RevisionRollBack
The Team - TnTProductions
TnTProductions latest Project - Docking Bay 13
TnTProductions Epic RPG in the making - Psionics: Chaos Rising
Check out our website on wixx! http://bulletbutter.wix.com/tntproductions
but i kinda figured out to the thing i wanted
i made a effect(Set) with an ability for each type of unit i wanted and had validators on so the effect would only use the ability for the matching unit then i added a Search area that found the caster and gave him the appropriate buff
now i can cast the Spell on unit type1 and kill him and get a sleath buff
or cast on unit type2 and Energy burn him and getting a Energy buff :D
Thanks.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi there
i want to make a ability that you use on a target and depending on the target i want to give the caster diffrent kind of buffs.
the map i'm making has mobs on the map with different properties like fire,water or earth and i want my caster to use an ability on a fire mob and get a fire buff and if i would cast the same ability on a water mob i want a water buff.
is there a way to do this just using the data editor?
Thanks for any help.
Effect -Switch and validators might be what you need. More info: http://forums.sc2mapster.com/resources/tutorials/9016-data-specialized-weapons-intermediate-difficulty/
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
To elaborate on this a bit more.....
You can create Validator - Unit Type and set the field Validator - Value to the name of the unit you 'steal' the buff from.
Then in the Effect - Apply Behavior effect you set the field Effect - Validators to the validator you created.
Then just set the Behavior - Behavior to the behavior you want.
Do this for each type of buff you need to 'steal'.
Thanks allot for the respons
but i kinda figured out to the thing i wanted i made a effect(Set) with an ability for each type of unit i wanted and had validators on so the effect would only use the ability for the matching unit then i added a Search area that found the caster and gave him the appropriate buff
now i can cast the Spell on unit type1 and kill him and get a sleath buff or cast on unit type2 and Energy burn him and getting a Energy buff :D
Thanks.