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

[Trigger] Metamorphosis

Status
Not open for further replies.
Level 9
Joined
Apr 4, 2004
Messages
519
Long time since I posted here, but anyway. I was planning on making a Metamorphosis ability that has a 10% chance when cast to turn the hero into a different hero than it was meant to. Of course my question now is; how do I do this?

I'm not all that fancy with spell triggering so this is a little outta my league. If anyone would be kind enough to answer, please do so in baby steps, I'm still new with variables and stuff like that. Oh, and no JASS, fully GUI, plox.
 
Make an ability based on berserk
make 2 metamorphosises
When someone casts berserk
if random integer between 1 and 100 < 10
Give metamorphosis 2
order him to use that
and remove metamorphosis2
else
do those for 1
 
Status
Not open for further replies.
Back
Top