精華區beta WarCraft 關於我們 聯絡資訊
材料:    做為基底技能的非指向性瞬發技能*1    擁有上述技能的單位*1    特效 適量 變數: Temp_Point 點變數 Temp_Real 實數變數(陣列) 這個技能其實感覺就像可以一直用的閃擊 而概念是利用命令字串來判定是否指定了一個單位攻擊 並把施法者移動到該部隊身邊 特別的是,本技能利用了jass來進行部隊移動 因為如果直接用GUI移動的話,被移動的單位會接到一個STOP的命令 因此使用JASS移動,就可以做到好像瞬間拉進的感覺 而不會像一般的閃擊一樣,瞬過去以後跑去打別的小兵XD 本觸發預設值關閉 因此需要有另一個觸發,以讓本技能被施法時開啟此觸發 由於這種觸發的寫法到處都有,所以不累述 Final Hit 事件 Unit - A unit 接到了一個鎖定目標的命令 條件 (Unit-type of (Target unit of issued order)) 等於 洪爺 ((Owner of (Target unit of issued order)) is an ally of (Owner of (Triggering unit))) 等於 真 (Distance between (Position of (Triggering unit)) and (Position of (Target unit of issued order))) 小於或等於(250.00 + (250.00 x (Real((Level of 體術密傳‧無限斬擊 for (Triggering unit)))))) Or - Any (Conditions) are true ↑這部份是用來指定瞬移的最大距離 條件 (Issued order) 等於 (Order(attack)) (Issued order) 等於 (Order(smart)) 動作 Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl Special Effect - Destroy (Last created special effect) Set Temp_Points = ((Position of (Target unit of issued order)) offset by 100.00 towards (Angle from (Position of (Target unit of issued order)) to (Position of (Triggering unit))) degrees) Set Temp_Real[1] = (X of Temp_Points) Set Temp_Real[2] = (Y of Temp_Points) Custom script: call SetUnitX ( GetTriggerUnit() , udg_Real[5] ) Custom script: call SetUnitY ( GetTriggerUnit() , udg_Real[6] ) Custom script: call RemoveLocation(udg_Points[6]) Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl Special Effect - Destroy (Last created special effect) 就這樣 可愛的無限斬擊就完成了~ 只要再加上適量的特效裝飾 就可以完成媲美五星級大廚的技能了唷 吃下去還可以看到娜歐呢(啥啊) 展示影片: http://0rz.tw/723pO -- 真紅 翠星石 蒼星石      人偶們一起和平生活 雪華崎晶 薔薇水晶 才是真紅女王真正的心願 水銀燈 金糸雀 雛苺 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.125.166.80