Z
Zerotech
Guest
Ever wondered if you wish you can create Item Sets and apply additional powers when you collect a group of items of a category like how Diablo II plays?
Look no further than here.
I will show you an example of 2 trigger codes that are required to activate and deactivate the Item Set Triggers
Activate Item Set Powers
Deactivate Item Set Powers
I will provide you a working test map so you can see for yourself how it's done to mappers who wish to enhance their quality of their projects.
I do encourage some feedback if it's possible so you can post your thoughts here.
Look no further than here.
I will show you an example of 2 trigger codes that are required to activate and deactivate the Item Set Triggers
Activate Item Set Powers
Code:
Activate Item Set Powers
Events
Unit - A unit Acquires an item
Conditions
((Triggering unit) has an item of type Knight's Sword) Equal to True
((Triggering unit) has an item of type Knight's Helmet) Equal to True
((Triggering unit) has an item of type Knight's Shield) Equal to True
((Triggering unit) has an item of type Knight's Armor) Equal to True
((Triggering unit) has an item of type Knight's Battle Gloves) Equal to True
((Triggering unit) has an item of type Knight's Walking Boots) Equal to True
Actions
Unit - Add Armor Bonus (+30) to (Triggering unit)
Unit - Add Damage Bonus (+30) to (Triggering unit)
Unit - Add Hero Stats Bonus (+20 All Stats) to (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have obtained a...
Deactivate Item Set Powers
Code:
Deactivate Item Set Powers
Events
Unit - A unit Loses an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Sword
(Item-type of (Item being manipulated)) Equal to Knight's Helmet
(Item-type of (Item being manipulated)) Equal to Knight's Shield
(Item-type of (Item being manipulated)) Equal to Knight's Armor
(Item-type of (Item being manipulated)) Equal to Knight's Battle Gloves
(Item-type of (Item being manipulated)) Equal to Knight's Walking Boots
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Sword
And - All (Conditions) are true
Conditions
((Triggering unit) has an item of type Knight's Helmet) Equal to True
((Triggering unit) has an item of type Knight's Shield) Equal to True
((Triggering unit) has an item of type Knight's Armor) Equal to True
((Triggering unit) has an item of type Knight's Battle Gloves) Equal to True
((Triggering unit) has an item of type Knight's Walking Boots) Equal to True
Then - Actions
Unit - Remove Armor Bonus (+30) from (Triggering unit)
Unit - Remove Damage Bonus (+30) from (Triggering unit)
Unit - Remove Hero Stats Bonus (+20 All Stats) from (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have removed Kn...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Helmet
And - All (Conditions) are true
Conditions
((Triggering unit) has an item of type Knight's Sword) Equal to True
((Triggering unit) has an item of type Knight's Shield) Equal to True
((Triggering unit) has an item of type Knight's Armor) Equal to True
((Triggering unit) has an item of type Knight's Battle Gloves) Equal to True
((Triggering unit) has an item of type Knight's Walking Boots) Equal to True
Then - Actions
Unit - Remove Armor Bonus (+30) from (Triggering unit)
Unit - Remove Damage Bonus (+30) from (Triggering unit)
Unit - Remove Hero Stats Bonus (+20 All Stats) from (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have removed Kn...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Shield
And - All (Conditions) are true
Conditions
((Triggering unit) has an item of type Knight's Sword) Equal to True
((Triggering unit) has an item of type Knight's Helmet) Equal to True
((Triggering unit) has an item of type Knight's Armor) Equal to True
((Triggering unit) has an item of type Knight's Battle Gloves) Equal to True
((Triggering unit) has an item of type Knight's Walking Boots) Equal to True
Then - Actions
Unit - Remove Armor Bonus (+30) from (Triggering unit)
Unit - Remove Damage Bonus (+30) from (Triggering unit)
Unit - Remove Hero Stats Bonus (+20 All Stats) from (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have removed Kn...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Armor
And - All (Conditions) are true
Conditions
((Triggering unit) has an item of type Knight's Sword) Equal to True
((Triggering unit) has an item of type Knight's Helmet) Equal to True
((Triggering unit) has an item of type Knight's Shield) Equal to True
((Triggering unit) has an item of type Knight's Battle Gloves) Equal to True
((Triggering unit) has an item of type Knight's Walking Boots) Equal to True
Then - Actions
Unit - Remove Armor Bonus (+30) from (Triggering unit)
Unit - Remove Damage Bonus (+30) from (Triggering unit)
Unit - Remove Hero Stats Bonus (+20 All Stats) from (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have removed Kn...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Battle Gloves
And - All (Conditions) are true
Conditions
((Triggering unit) has an item of type Knight's Sword) Equal to True
((Triggering unit) has an item of type Knight's Helmet) Equal to True
((Triggering unit) has an item of type Knight's Shield) Equal to True
((Triggering unit) has an item of type Knight's Armor) Equal to True
((Triggering unit) has an item of type Knight's Walking Boots) Equal to True
Then - Actions
Unit - Remove Armor Bonus (+30) from (Triggering unit)
Unit - Remove Damage Bonus (+30) from (Triggering unit)
Unit - Remove Hero Stats Bonus (+20 All Stats) from (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have removed Kn...
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item being manipulated)) Equal to Knight's Walking Boots
And - All (Conditions) are true
Conditions
((Triggering unit) has an item of type Knight's Sword) Equal to True
((Triggering unit) has an item of type Knight's Helmet) Equal to True
((Triggering unit) has an item of type Knight's Shield) Equal to True
((Triggering unit) has an item of type Knight's Armor) Equal to True
((Triggering unit) has an item of type Knight's Battle Gloves) Equal to True
Then - Actions
Unit - Remove Armor Bonus (+30) from (Triggering unit)
Unit - Remove Damage Bonus (+30) from (Triggering unit)
Unit - Remove Hero Stats Bonus (+20 All Stats) from (Triggering unit)
Game - Display to (All players) for 5.00 seconds the text: You have removed Kn...
Else - Actions
I will provide you a working test map so you can see for yourself how it's done to mappers who wish to enhance their quality of their projects.
I do encourage some feedback if it's possible so you can post your thoughts here.