- Joined
- Jun 21, 2009
- Messages
- 282
Need this trigger once you buy an item, it'll learn you a skill +1 up, until level 15, once level 15, and if you try to buy anymore it'll just refund you back your money.
This is what I have so far:
This is what I have so far:
-
Fire Style Dragons Breath Jutsu
-
Events
-
Unit - A unit Sells an item (from shop)
-
-
Conditions
-
(Item-type of (Sold Item)) Equal to Fire Style: Dragons Breath Jutsu
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Fire Style for (Buying unit)) Equal to 1
-
(Level of Fire Style: Dragons Breath Jutsu for (Buying unit)) Equal to 0
-
-
Then - Actions
-
Unit - Add Fire Style: Dragons Breath Jutsu to (Buying unit)
-
-
Else - Actions
-
Unit - Set level of Fire Style: Dragons Breath Jutsu for (Buying unit) to ((Level of Fire Style: Dragons Breath Jutsu for (Buying unit)) + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Fire Style for (Buying unit)) Equal to 0
-
-
Then - Actions
-
Player - Add 100 to (Owner of (Buying unit)) Current gold
-
Player - Add 1 to (Owner of (Buying unit)) Current lumber
-
Floating Text - Create floating text that reads You don't meet the ... at (Position of (Selling unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Fire Style: Dragons Breath Jutsu for (Buying unit)) Equal to 15
-
-
Then - Actions
-
Player - Add 100 to (Owner of (Buying unit)) Current gold
-
Player - Add 1 to (Owner of (Buying unit)) Current lumber
-
Floating Text - Create floating text that reads You've learned the ... at (Position of (Selling unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-