找回密碼
 註冊
搜索
熱搜: 活動 交友 discuz
查看: 1739|回覆: 1

[已解決] 想讓某英雄在18級時擁有技能

[複製鏈接]
發表於 2008-1-11 23:14:24 | 顯示全部樓層 |閲讀模式
最近又開始玩WE了= =
目前讓一個英雄有1.2.3.4.5個技能可學了
我想讓他跟信長一樣在18級時擁有一個技能(假設叫做"破甲")
要怎樣才做的出來...我搞了1個小時還是沒頭緒
PS.我是用世界編輯器,不是JASS...

[ 本帖最後由 denny90466 於 2008-2-4 06:35 PM 編輯 ]
發表於 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
        .
        .
        .
寫法大致上是這樣子@@
 
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Checking the Pageranks

Archiver|手機版|小黑屋|WEO

GMT+8, 2026-7-29 10:53 PM , Processed in 0.040717 second(s), 18 queries .

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

快速回復 返回頂部 返回列表