Mapster
New Member
- Reaction score
- 4
Ability (problem) and Item Restriction (Problem)
Ok i made a tried to make a recipe without looking at a tutorial, everything is all good except when i want it to remove the item, it removes the item but doesn't remove the ability that the item gives.
Cheers,
Mapster
EDIT:
Ok i had a go at making my own non-item stacking problem but now it's kind of buggered, i need help on getting this fixed... +Rep will me given if either of these can be fixed.
Check the Attachment.
Thanks again
Ok i made a tried to make a recipe without looking at a tutorial, everything is all good except when i want it to remove the item, it removes the item but doesn't remove the ability that the item gives.
Fire Axe
. Events
. Unit - Blacksmith 0330 <gen> Sells an item (from shop)
. Conditions
. (Item-type of (Sold Item)) Equal to Burning Axe
. Actions
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (((Buying unit) has an item of type Orb of Fire ( 100 )) Equal to True) or ((((Buying unit) has an item of type Orb of Fire ( 120 )) Equal to True) or (((Buying unit) has an item of type Orb of Fire ( 80 )) Equal to True))
. Then - Actions
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. ((Buying unit) has an item of type Orb of Fire ( 100 )) Equal to True
. Then - Actions
. Item - Remove (Item carried by (Buying unit) of type Orb of Fire ( 100 ))
. Else - Actions
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. ((Buying unit) has an item of type Orb of Fire ( 120 )) Equal to True
. Then - Actions
. Item - Remove (Item carried by (Buying unit) of type Orb of Fire ( 120 ))
. Else - Actions
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. ((Buying unit) has an item of type Orb of Fire ( 80 )) Equal to True
. Then - Actions
. Item - Remove (Item carried by (Buying unit) of type Orb of Fire ( 80 ))
. Else - Actions
. Special Effect - Create a special effect attached to the origin of (Buying unit) using Abilities\Spells\Human\Invisibility\InvisibilityTarget.mdl
. Else - Actions
. Hero - Drop (Sold Item) from (Buying unit)
. Item - Remove (Last dropped item)
. Game - Display to (Player group((Owner of (Buying unit)))) the text: You do not have the...
. Player - Add 5000 to (Owner of (Buying unit)) Current gold
. Unit - Remove Item Damage Bonus (+225) from (Buying unit)
Cheers,
Mapster
EDIT:
Ok i had a go at making my own non-item stacking problem but now it's kind of buggered, i need help on getting this fixed... +Rep will me given if either of these can be fixed.
Check the Attachment.
Thanks again