denny90466 發表於 2008-1-11 23:14:24

想讓某英雄在18級時擁有技能

最近又開始玩WE了= =
目前讓一個英雄有1.2.3.4.5個技能可學了
我想讓他跟信長一樣在18級時擁有一個技能(假設叫做"破甲")
要怎樣才做的出來...我搞了1個小時還是沒頭緒:Q
PS.我是用世界編輯器,不是JASS...

[ 本帖最後由 denny90466 於 2008-2-4 06:35 PM 編輯 ]

NeoYang 發表於 2008-1-12 07:09:45

Events
Unit - A unit Gains a level
Conditions
(Hero level of (Triggering unit)) Equal to 18
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
          (Unit-type of (Triggering unit)) Equal to 步兵
      Then - Actions
          Unit - Add 格擋 to (Triggering unit)
          Skip remaining actions
      Else - Actions
          Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
          (Unit-type of (Triggering unit)) Equal to 騎兵
       Then - Actions
          Unit - Add 衝鋒 to (Triggering unit)
          Skip remaining actions
      Else - Actions
          Do nothing
        .
        .
        .寫法大致上是這樣子@@
 
頁: [1]
查看完整版本: 想讓某英雄在18級時擁有技能

Checking the Pageranks