hunterxx
The Warrior of Light
- 27/5/04
- 2,281
- 61
dài thế bạn, cái dday cũng chỉ thuần là summon thôi, level càng cao càng có nhìu mấy con đấy. Set từng con là var rồi create unit là random trong các con đấy thôi màTên truy cập nói:Thế event tiền phải làm thế nào thế hả Zekareisoujin? Còn cục băng lẽo đẽo theo mình làm được rồi, nhờ vào tham khảo skill của bạn Yến Vi trong map bạn thedevilxn vẽ, bạn Yến Vi xinh nhỉ. Nhưng mà cái trigger của mình dài quá thể, có cách nào rút ngắn được không vậy :-). Đây này, nó đây này:
.Elemental guardian
. Events
. Unit - A unit Begins casting an ability
. Conditions
. (Ability being cast) Equal to +elemental guardian
. Actions
. Set Unit_EGcaster[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) Equal to 1
. Then - Actions
. Unit - Create 1 Freedom Peasant for (Owner of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) at (Position of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) facing (Position of (Triggering unit))
. Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
. Unit - Order (Last created unit) to Right-Click Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]
. Else - Actions
. Do nothing
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) Equal to 2
. Then - Actions
. Unit - Create 1 Footman for (Owner of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) at (Position of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) facing (Position of (Triggering unit))
. Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
. Unit - Order (Last created unit) to Right-Click Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]
. Else - Actions
. Do nothing
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) Equal to 3
. Then - Actions
. Unit - Create 1 Rifleman for (Owner of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) at (Position of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) facing (Position of (Triggering unit))
. Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
. Unit - Order (Last created unit) to Right-Click Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]
. Else - Actions
. Do nothing
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) Equal to 4
. Then - Actions
. Unit - Create 1 Knight for (Owner of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) at (Position of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) facing (Position of (Triggering unit))
. Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
. Unit - Order (Last created unit) to Right-Click Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]
. Else - Actions
. Do nothing
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) Equal to 5
. Then - Actions
. Unit - Create 1 Gryphon Rider for (Owner of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) at (Position of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) facing (Position of (Triggering unit))
. Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
. Unit - Order (Last created unit) to Right-Click Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]
. Else - Actions
. Do nothing
. If (All Conditions are True) then do (Then Actions) else do (Else Actions)
. If - Conditions
. (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) Equal to 6
. Then - Actions
. Unit - Create 1 Dragonhawk Rider for (Owner of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) at (Position of Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]) facing (Position of (Triggering unit))
. Unit - Add a 60.00 second Generic expiration timer to (Last created unit)
. Unit - Order (Last created unit) to Right-Click Unit_EGcaster[(Player number of (Owner of (Triggering unit)))]
. Else - Actions
. Do nothing
. Unit - Set Level of +frost guard loop for (Last created unit) to (Level of +elemental guardian for Unit_EGcaster[(Player number of (Owner of (Triggering unit)))])

