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

[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.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
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.
Top