R
Rotterdam_dj
Guest
HERO CHANGER
This is a basic concept when a hero picks up or buys this item from a merchant he/she's character will change into the nominated hero in the trigger.
The purpose of this?
Is to add somthing different to your map even if it is irelivant in most cases, or just some fun.
~CODE~
Shop Sells item
Code:
Events
Unit - A unit Sells an item (from shop)
Conditions
(Sold Item) Equal to (Item carried by Archmage 0000 <gen> of type Helmet of Hero Change)
Actions
Trigger - Turn on change hero <gen>
Code:
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by Archmage 0000 <gen> in slot 1)) Equal to Helmet of Hero Change
Actions
Unit - Replace (Triggering unit) with a Paladin using The old unit's relative life and mana