[WE] 技能分享-神栩霜箭

看板WarCraft (魔獸爭霸 - 魔獸爭霸3)作者 (澄響幸輝絕品泉水)時間15年前 (2011/02/18 18:51), 編輯推噓17(1706)
留言23則, 16人參與, 最新討論串1/1
這次的技能非常簡單 技能所需的特效以及部隊模組完全取自war3內建 簡單好看又不失華麗 說明一下技能: 向天空射出一枚冰氣 隨後依序降下三個霜彈 降落在目標點附近 每一個霜彈可以造成範圍300以內的敵人 (40/80/120/220)點混沌寒冰傷害 並且產生阻擋敵人的冰晶 持續3.5秒 -----------------------------開始------------------------------------- <材料> 萬用隱藏施法部隊 x 1 射向天空的霜氣部隊 x 1 掉落的霜彈 x 1 基底技能: 食腐群 子技能: 暴風烏鴉術 變數: 部隊變數 x 5 實數變數 x 3 點變數 x 6 ////其實可以不必用這多 縮減成變數陣列會更方便 先前的技能-聖光彈 也是可以這樣縮減 會方便很多//// <觸發1> 事件 - A unit 開始讓一種能力生效 狀況 - (Ability being cast) 等於 神栩霜箭 行動 - Set R_Ivot_Frost1 = 0.00 Set R_Ivot_Frost2 = 0.00 Set R_Ivot_Frost3 = 0.00 Set U_Ivot_Frost1 = (Casting unit) Set P_Ivot_Frost1 = (Position of (Casting unit)) Set P_Ivot_Frost2 = (Target point of ability being cast) 部隊 - Create 1 神栩霜箭特效1 for (Owner of (Casting unit)) at P_Ivot_Frost1 facing 預設 degrees Set U_Ivot_Frost2 = (Last created unit) Custom script: call RemoveLocation(udg_P_Ivot_Frost1) 觸發 - Turn on 觸發2 <情報> <觸發2> 事件 - 時間 - Every 0.03 seconds of game time 行動 - Set R_Ivot_Frost1 = (R_Ivot_Frost1 + 1.00) If (All Conditions are True) then do (Then Actions) else do (Else Action 如果一條件 (U_Ivot_Frost2 is alive) 等於真 就一行動 - Change U_Ivot_Frost2 flying height to (75.00 x R_Ivot_Fro st1) at 0.00 否則一行動 觸發 - Turn off (This trigger) Wait 0.00 seconds Set R_Ivot_Frost1 = 0.00 ////這個實數稍後還會用到 所以先歸0//// 部隊 - Create 1 神栩霜箭特效2 for (Owner of U_Ivot_Frost1) at (P_Ivot_Frost2 offset by (Random real number between 120.00 and 150.00) towards (Random real number between 55.00 and 35.00) degrees) facing 預設 degrees Set U_Ivot_Frost3 = (Last created unit) 部隊 - 神栩霜箭特效2 for (Owner of U_Ivot_Frost1) at (P_Ivot_Frost2 offset by (Random real number between 120.00 and 150.00) towards (Random real number between 155.00 and 125.00) degrees ) facing 預設 degrees Set U_Ivot_Frost4 = (Last created unit) 部隊 - Create 1 神栩霜箭特效2 for (Owner of U_Ivot_Frost1) at (P_Ivot_Frost2 offset by (Random real number between 120.00 and 150.00) towards (Random real number between 305.00 and 325.00) degrees) facing 預設 degrees Set U_Ivot_Frost5 = (Last created unit) Custom script: call RemoveLocation(udg_P_Ivot_Frost2) 觸發 - Turn on 觸發3 <情報> Wait 0.08 seconds 觸發 - Turn on 觸發4 <情報> Wait 0.08 seconds 觸發 - Turn on 觸發5 <情報> ////讓落下時距有差別 不作這個設定的話會少很多美感//// <觸發3> 事件 - 時間 狀況 - 行動 - Set R_Ivot_Frost1 = (R_Ivot_Frost1 + 1.00) 動畫 - Change U_Ivot_Frost3 flying height to (700.00 + (80.00 x (-1.00 x R_Ivot_Frost1))) at 0.00 ////讓第一個冰彈垂直降落 //// If (All Conditions are True) then do (Then Actions) else do (Else Actions) 如果一條件 (700.00 - (90.00 x R_Ivot_Frost1)) 小於或等於 15.00 就一行動 觸發 - Turn off (This trigger) 部隊 - Kill U_Ivot_Frost3 聲音 - Play FrostBoltHit1 <聲音> at 100.00% volume, attached to U_Ivot_Frost3 Set P_Ivot_Frost3 = (Position of U_Ivot_Frost3) 部隊 - Create 1 冰晶 for (Owner of U_Ivot_Frost1) at P_Ivot_Frost3 facing 預設 degrees 部隊 - Add a 3.50 second 一般 expiration timer to (Last created unit) 特殊效果 - Create a special effect at P_Ivot_Frost3 using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl 特殊效果 - Destroy (Last created special effect) 部隊群組 - Pick every unit in (Units within 300.00 of P_Ivot_Frost3 matching ((((Matching unit) is 建築物) 等於 假 and ((((Matching unit) is alive) 等於 真 and ((((Matching unit) belongs to an enemy of (Owner of U_Ivot_Frost1)) 等於 真 and (((Matching unit) has buff 無敵 等於 假 and do (Actions) 回一行動 Set P_Ivot_Frost6[1] = (Position of (Picked unit)) 部隊 - Create 1 萬用隱藏施法部隊 for (Owner of U_Ivot_Frost1) at P_Ivot_Frost6[1] facing 預設 degrees 部隊 - Cause (Last created unit) to damage (Picked unit), dealing (40.00 x (Real((Level of 神栩霜箭 for U_Ivot_Frost1)))) damage of attack type 混沌 and damage type 寒冰 特殊效果 - Create a special effect at P_Ivot_Frost6[1] using Abilities\Spells\Undead\FrostNova\FrostNova Target.mdl 特殊效果 - Destroy (Last created special effect) Custom script: call RemoveLocation(udg_P_Ivot_Frost6[1]) 玩者群組- Pick every player in (All players) and do (Actions) 回一行動 攝影機- Shake the camera for (Picked player) with magnitude 6.00 Wait 1.00 game-time seconds 玩者群組- Pick every player in (All players) and do (Actions) 回一行動 攝影機- Stop swaying/shaking the camera for (Picked player) 否則一行動 ////讓全玩者的畫面震動//// ////往後的兩個觸發跟第3個是一樣的 所以我就不作說明了//// -------------------- 來看影片吧~ 1) http://www.youtube.com/watch?v=-wzBRfjhzwo
2) http://www.youtube.com/watch?v=YqfsjcFWtSM
順便附上先前的作的小遊戲之後的改版與調整~ 3) 山丘之王-2.0A 更新版=> http://www.badongo.com/file/25114104 新增了一些英雄 物品 和指令模式 還有一些奇奇怪怪的bug~ 感謝sky版友的回報 -------------------- 以上 (_ _) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.10.40

02/18 18:53, , 1F
推海綿寶寶
02/18 18:53, 1F

02/18 19:09, , 2F
好像桔梗
02/18 19:09, 2F

02/18 19:28, , 3F
桔梗是不規則方塊狀吧? 原PO的是冰山型的
02/18 19:28, 3F

02/18 19:30, , 4F
再做多一點 就很像以前rpg 的魔法了
02/18 19:30, 4F

02/18 19:32, , 5F
可以用MU嗎?? 便當狗很爛 常常砍檔
02/18 19:32, 5F

02/18 20:05, , 6F
其實這樣簡單一點的技能也不錯 精闢:-D
02/18 20:05, 6F

02/18 21:37, , 7F
GJ
02/18 21:37, 7F

02/18 22:08, , 8F
推推
02/18 22:08, 8F

02/18 22:26, , 9F
你要把我寫進感謝名單 是我讓你玩GOW2的喔~
02/18 22:26, 9F
^ = = 我哥 ※ 編輯: sapphireBOB 來自: 140.113.10.40 (02/18 23:00)

02/19 02:00, , 10F
讓我想到LF2的冰火人XD
02/19 02:00, 10F

02/19 02:09, , 11F
BOB我wear 問你喔 那落下的冰晶設定隨機地點要怎麼設
02/19 02:09, 11F

02/19 02:09, , 12F
還是像你之前那個火焰亂炸一樣阿QQ
02/19 02:09, 12F
利用落下冰彈的隨機點去取冰晶的產生點 因為當初create冰彈的時候就是以random distance 還有random angle 所以這時候直接取冰彈的位置去創造冰晶就是亂數點 有projection的味道 (附帶homeomorphism唷~) ※ 編輯: sapphireBOB 來自: 140.113.10.40 (02/19 02:56)

02/19 05:49, , 13F
血巫師E對自身沒效用(單機測無法測同隊) R自身補400/600/
02/19 05:49, 13F

02/19 05:49, , 14F
800/1000
02/19 05:49, 14F

02/19 06:00, , 15F
熊貓人W好像沒緩 E補血30/50/70/90
02/19 06:00, 15F

02/19 06:07, , 16F
進入遊戲第一個訊息版本還是1.0C
02/19 06:07, 16F

02/19 06:10, , 17F
熊貓人T點出來文字敘述為連環屍爆(W) (不過還是用T)
02/19 06:10, 17F

02/19 06:21, , 18F
流浪R沒敘述粉碎波發動機率(應該是粉碎吧?)
02/19 06:21, 18F

02/19 08:50, , 19F
凌統可不可以改這招 XD
02/19 08:50, 19F

02/19 09:56, , 20F
蠻炫的
02/19 09:56, 20F

02/19 14:08, , 21F
看二樓我還以為他是說人物像犬夜叉的桔梗
02/19 14:08, 21F
感謝sky版友 目前復活由於很多人還是一復活就被殺 所以創立各自的復活點 ※ 編輯: sapphireBOB 來自: 140.113.10.40 (02/19 14:37)

02/19 17:39, , 22F
復活點我也有建議!! XDD
02/19 17:39, 22F

02/19 18:31, , 23F
那我會進感謝名單嘛? 這樣遊戲才不會斷線
02/19 18:31, 23F
文章代碼(AID): #1DNayxwY (WarCraft)
文章代碼(AID): #1DNayxwY (WarCraft)