- Joined
- Sep 1, 2005
- Messages
- 14
Provisions:
skill1
hero1
blizzard_integer
nothing
Ability1
blizzard
blizzard (Item version)
KEY:
Green=Variables
Blue=Abilities
Yellow=Items
Trigger One
Trigger Two
Trigger Three
skill1
hero1
blizzard_integer
nothing
Ability1
blizzard
blizzard (Item version)
KEY:
Green=Variables
Blue=Abilities
Yellow=Items
Trigger One
Code:
SetSkill1Nothing
Events
Map initialization
Conditions
Actions
Set Skill1[1] = Nothing
Trigger Two
Code:
Blizzard
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Blizzard
Hero1[1] Equal to No unit
Skill1[2] Equal to Nothing
Actions
Set Blizzard_Integer[1] = 1
Set Hero1[2] = (Buying unit)
Set Skill1[3] = Blizzard
Trigger Three
Code:
LearnBlizzard
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Ability 1
Blizzard_Integer[2] Equal to 1
Skill1[4] Equal to Blizzard
Actions
Hero - Modify unspent skill points of Hero1[3]: Add 1 points
Hero - Learn skill for Hero1[4]: Human Archmage - Blizzard