[WE] 物品私有化系統 [防止養人] 全GUI

看板WarCraft (魔獸爭霸 - 魔獸爭霸3)作者 (祐子)時間17年前 (2008/04/22 02:02), 編輯推噓10(10011)
留言21則, 12人參與, 最新討論串1/1
目前大蛇使用的系統 不會跟合成系統衝突(合成系統是用好帳單Hobill的合成系統) Item Owned By Readper Events Unit - A unit Acquires an item Conditions And - All (Conditions) are true Conditions (Item-type of (Item being manipulated)) Not equal to 火之符 (Item-type of (Item being manipulated)) Not equal to 林之符 (Item-type of (Item being manipulated)) Not equal to 山之符 (Item-type of (Item being manipulated)) Not equal to 風之符 (Item-type of (Item being manipulated)) Not equal to 補給食物 Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Custom value of (Item being manipulated)) Equal to 0 Then - Actions Item - Set the custom value of (Item being manipulated) to (Player number of (Owner of (Triggering unit))) Trigger - Run Combination Core <gen> (checking conditions) Else - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Custom value of (Item being manipulated)) Not equal to (Player number of (Owner of (Triggering unit))) Then - Actions Hero - Drop (Item being manipulated) from (Triggering unit) Game - Display to (Player group((Owner of (Triggering unit)))) the text: (((Name of (Item being manipulated)) + 已經被 + ((Name of PlayerHero[(Custom value of (Item being manipulated))]) + 綁定,無法撿取。) Else - Actions Trigger - Run Combination Core <gen> (checking conditions) 圖片版本: http://tw.gg-game.com/readper/img/ItemOwned.jpg
簡單說明 利用Item的Custom value記錄所屬玩家 Combination Core <gen> 是Hobill的系統用來進行合成的主要觸發 目前這種用法會導致限定私有的物品就不能合成用 如果希望道具沒私有化但是能合成只要多加一層IF 直接讓他跑合成就好 這應該沒啥問題吧 這系統沒用到啥變數 也沒啥運算 不會增加系統負擔 大概只是會被玩家哭霸而已吧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.192.248.249

04/22 02:03, , 1F
感恩~!!
04/22 02:03, 1F

04/22 02:05, , 2F
感恩~
04/22 02:05, 2F

04/22 02:19, , 3F
因為我不會 所以問一下 是合成過的東西才私有化嗎?
04/22 02:19, 3F

04/22 02:22, , 4F
合成後或者合成前都會
04/22 02:22, 4F

04/22 02:39, , 5F
【血斧】已經被【郭嘉】榜定,無法交易。 郭嘉:幹。
04/22 02:39, 5F
加上你說的那一行敘述了

04/22 02:44, , 6F
那有人跳怎麼辦? 直接gg?
04/22 02:44, 6F

04/22 02:49, , 7F
有人跳要怎處理就看地圖作者了阿 要解除很簡單阿
04/22 02:49, 7F

04/22 02:49, , 8F
跑個for loop把身上六格的東西的custom value都設成0就好
04/22 02:49, 8F

04/22 02:50, , 9F
補充說明 這個系統的綁死是針對玩家的 對所有單位都有效
04/22 02:50, 9F
※ 編輯: readper 來自: 210.192.248.249 (04/22 03:07)

04/22 12:22, , 10F
XDDD 推P大
04/22 12:22, 10F

04/22 12:49, , 11F
要有郭嘉說的話才嗨啊~(誤)
04/22 12:49, 11F

04/22 13:28, , 12F
我不要 我不想看到 "小喬:幹。"
04/22 13:28, 12F

04/22 14:12, , 13F
那如果我不給裝,直接請對方開分享。我就可以幫他買了
04/22 14:12, 13F

04/22 14:13, , 14F
這樣跟養人不就一樣了?(以上只是疑問,無惡意〉
04/22 14:13, 14F

04/22 14:50, , 15F
個人覺得作者能在遊戲一開始的時候顯現文字
04/22 14:50, 15F

04/22 14:51, , 16F
表明本遊戲不歡迎養人 讓玩家自制還不錯
04/22 14:51, 16F

04/22 16:32, , 17F
我記得自己做的圖可以索分享
04/22 16:32, 17F

04/22 17:10, , 18F
鎖分享也是可以的 不過這個系統是看買東西的那隻單位是誰
04/22 17:10, 18F

04/22 18:15, , 19F
類似很多RPG的綁定系統? 我不懂Hobill的合成系統裡寫了
04/22 18:15, 19F

04/22 18:16, , 20F
什麼(雖然我的地圖是用他) 不過是什麼情況下會衝突嗎?
04/22 18:16, 20F

04/22 18:38, , 21F
分開運作的話 會可以拿別人的東西當做合成的最後一樣物品
04/22 18:38, 21F
文章代碼(AID): #183DQu2A (WarCraft)
文章代碼(AID): #183DQu2A (WarCraft)