[WE] 物品私有化系統 [防止養人] 全GUI
目前大蛇使用的系統 不會跟合成系統衝突(合成系統是用好帳單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
04/22 02:44, 6F
→
04/22 02:49, , 7F
04/22 02:49, 7F
→
04/22 02:49, , 8F
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
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
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
WarCraft 近期熱門文章
PTT遊戲區 即時熱門文章
15
19
16
22