|
发表于 2008-1-7 14:34:57
|
显示全部楼层
[trigger]
Buy
Events
Unit - A unit Sells an item (from shop)
Conditions
(Item-type of (Sold Item)) Equal to 合合看
Actions
Set u = (Buying unit)
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
Set i = (Item carried by u in slot (Integer A))
Hero - Drop i from u
For each (Integer B) from 1 to 5, do (Actions)
Loop - Actions
Set i2 = (Item carried by u of type (Item-type of i))
Item - Set charges remaining in i to ((Charges remaining in i) + (Charges remaining in i2))
Item - Remove i2
Hero - Give i to u
[/trigger]
这个呢~~则是把物品栏里所有相同的物品放到一起叠加使用次数的~~ |
|