Champ-Bear
New Member
- Reaction score
- 5
Code:
BoK Upgrade 1
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Sold unit)) Equal to Upgrade Book of Knowledge - [|cffffcc00Level 1|r]
Actions
Trigger - Turn off (This trigger)
Trigger - Turn on BoK Upgrade 2 <gen>
Neutral Building - Remove Upgrade Book of Knowledge - [|cffffcc00Level 1|r] from (Triggering unit)
Unit - Remove (Sold unit) from the game
Wait 2.00 seconds
Neutral Building - Add Upgrade Book of Knowledge - [|cffffcc00Level 2|r] to (Triggering unit) with 1 in stock and a max stock of 1
Unit - Replace Book of Knowledge - 1 0039 <gen> with a Book of Knowledge - 2 using The new unit's max life and mana
Set BoK_2 = (Last replaced unit)
Game - Display to (All players) the text: (The |c000042ffBook of Knowledge|r has been upgraded by + [B]((Name of (Owner of (Buying unit)))[/B] + .))