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

[Spell] Priest Shadowform ability

Status
Not open for further replies.
Level 2
Joined
May 21, 2012
Messages
31
Im making a warchasers-style map. Im building it from the ground up, starting with an empty map, not any pre-made things. One of my heroes is a priest. His "ultimate" ability is shadowform, which gives me intellect and health.

I first based my ability off Avatar, but then I realised theres better ways to do it (especially the enlarging of hero... I couldnt fix it even via trigger scaling value unless it was timed to reset size AFTER the "growth" stopped)

So I based it off the Tauren Chieftain "War stomp" ability. "Simple, right?" I think. I just disable the stun and damage etc then make a few triggers. Heres what I have (not i am not the most efficient nor the best at this, so please tell me how to optimize etc my triggers)


  • ShadowformACT
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to R - Shadowform
    • Actions
      • Animation - Change (Casting unit)'s vertex coloring to (15.00%, 0.00%, 14.00%) with 0.00% transparency
      • Unit - Add Shadowform Health to (Triggering unit)
      • Unit - Add Shadowform Intellect to (Triggering unit)
      • Unit - Add R - Normal Form to (Triggering unit)
      • Unit - Add #BuffPlacer to (Triggering unit)
      • Unit - Remove R - Shadowform from (Triggering unit)
  • ShadowformDISACT
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to R - Normal Form
    • Actions
      • Animation - Change (Casting unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Unit - Remove Shadowform Health from (Triggering unit)
      • Unit - Remove Shadowform Intellect from (Triggering unit)
      • Unit - Remove R - Normal Form from (Triggering unit)
(assuming HIDDEN is the same as SPOILER tag, how do I use it?)

Ok. Note again that I am not the best at triggers please :grin:

So I have 2 abilities, both based off of war stomp. R - Shadowform triggers ShadowformACT and R - Normal Form ShadowformDISACT. In previous tests where I only had activation trigger, it went smoothly. Not this time tho. I am trying to remove abilities (which Ive yet to do). But, once I remove R - Shadowform, the priest is unable to move, cast etc. and will stay like that. Can someone point to me what Im doing wrong and why is the unit freezing? Could you also point me a better ability to use?
 
Level 2
Joined
May 21, 2012
Messages
31
Nice, I didnt think about doing it like that. Anyway mine was very inefficient of course. Thanks +rep and also, so THATS what it meant by "title" :p
 
Level 2
Joined
May 21, 2012
Messages
31
Quick question, im no longer on my computer so i cant look at the triggers, i have a hero select, can i enable the abilities another way? Like unit enters region? You used owner of unit, but my unit is created when chosen. I was thinking of creating a dummy when unit enters region, then enable for owner if dummy. Whats a simpler way?

I can show you my map if needed, to give you an idea of it and make thingd simpler.
 

sentrywiz

S

sentrywiz

Base your spell on the Metamorphosis in Night Elf > Heroes. You can define an end-type unit, base type-unit even a casting time if you want it channeling for some point before morphing. No need for triggers

Just modify the unit's Intelligence, Strength, Agility etc how you want it and use the "Alternate Form Hit Points" for the bonus health you want to temporarily add.
 
Level 2
Joined
May 21, 2012
Messages
31
How can I save the ability level of the unit? Using an integer variable? Because I plan on removing the abilities available, then adding new ones for when you are in shadowform, but when you exit shadowform, you get your original abilities with their levels.
 
Level 2
Joined
May 21, 2012
Messages
31
  • Untitled Trigger 001
    • Actions
      • Set Level = (Level of (Triggering unit))
      • Hero - Set (Triggering unit) Hero-level to Level, Hide level-up graphics

ABILITY level. For example i have 1 point in devotion aura and 2 in holy light and i remove them to add new abilities. When i switch back, i need to set level of aura to 1 and 2 in holy light. I know i use unit - set level of ability, but how do i store the level so i can later set it?
 
Level 2
Joined
May 21, 2012
Messages
31
You can again just disable/enable those abilities when switching forms just like with the example I gave you. They will keep the level and everything.



Ah, so thats what it does... I never used that before. Now i see.
 

sentrywiz

S

sentrywiz

Again - why with triggers?

You have two units. First unit has Fireball, Devotion Aura. The second one has Death Coil and Unholy Aura.

When you modify a Metamorphosis ability, you can specify which unit the first turns into, for how long, and other things. When the unit is out of shadowform, it is the first unit. When it enters shadowform, it is the second unit. The only thing that the units share is the level.
 
Level 2
Joined
May 21, 2012
Messages
31
Well, firstly, as you see I am changing color of unit to get a shadowform effect. To achieve the same effect I may need a whole new model, right?

Metamorphosis basically removes unit one, then adds unit 2. I think that could cause bugs. If needed I would use it.
 
Status
Not open for further replies.
Top