黃易群俠傳M脫機外掛應用程式黃易神行
112751
765

[分享] 搶怪修改教學

〝小鬼 發表於 2010-12-3 23:45:41 | 只看該作者 回帖獎勵 |倒序瀏覽 |
打開 src\Misc.pm 尋找(Ctrl + F)
  1.     if ($config{aggressiveAntiKS}) {
複製代碼


    if ($config{aggressiveAntiKS}) {
        # Aggressive anti-KS mode, for people who are paranoid about not kill stealing.

        # If we attacked the monster first, do not drop it, we are being KSed
        return 1 if ($monster->{dmgFromYou} || $monster->{missedFromYou});
        
        # If others attacked the monster then always drop it, wether it attacked us or not!
        return 0 if (($monster->{dmgFromPlayer} && %{$monster->{dmgFromPlayer}})
              || ($monster->{missedFromPlayer} && %{$monster->{missedFromPlayer}})
              || (($monster->{castOnByPlayer}) && %{$monster->{castOnByPlayer}})
              || (($monster->{castOnToPlayer}) && %{$monster->{castOnToPlayer}}));
    }
改成
  1.         if ($config{aggressiveAntiKS}) {
  2.                 # Aggressive anti-KS mode, for people who are paranoid about not kill stealing.

  3.                 # If we attacked the monster first, do not drop it, we are being KSed
  4.                 return 1 if ($monster->{dmgFromYou} || $monster->{missedFromYou});
  5.                
  6.                 # If others attacked the monster then always drop it, wether it attacked us or not!
  7.                 return 1 if ($monster->{dmgFromYou} || $monster->{missedFromYou});
  8.         }
複製代碼


尋找
  1.         if (scalar(keys %{$monster->{missedFromPlayer}}) == 0
複製代碼

    if (scalar(keys %{$monster->{missedFromPlayer}}) == 0
     && scalar(keys %{$monster->{dmgFromPlayer}})    == 0
     #&& scalar(keys %{$monster->{castOnByPlayer}})   == 0    #change to $allowed
    && $allowed

     # and it hasn't attacked any other player
     && scalar(keys %{$monster->{missedToPlayer}}) == 0
     && scalar(keys %{$monster->{dmgToPlayer}})    == 0
     && scalar(keys %{$monster->{castOnToPlayer}}) == 0
    ) {
        # The monster might be getting lured by another player.
        # So we check whether it's walking towards any other player, but only
        # if we haven't already attacked the monster.
        if ($monster->{dmgFromYou} || $monster->{missedFromYou}) {
            return 1;
        } else {
            return !objectIsMovingTowardsPlayer($monster);
        }
    }

    # The monster didn't attack you.
    # Other players attacked it, or it attacked other players.
    if ($monster->{dmgFromYou} || $monster->{missedFromYou}) {
        # If you have already attacked the monster before, then consider it clean
        return 1;
    }
    # If you haven't attacked the monster yet, it's unclean.

    return 0;
}
改成
  1.         if (scalar(keys %{$monster->{missedFromPlayer}}) == 1
  2.          && scalar(keys %{$monster->{dmgFromPlayer}})    == 1
  3.          #&& scalar(keys %{$monster->{castOnByPlayer}})   == 0        #change to $allowed
  4.         && $allowed

  5.          # and it hasn't attacked any other player
  6.          && scalar(keys %{$monster->{missedToPlayer}}) == 1
  7.          && scalar(keys %{$monster->{dmgToPlayer}})    == 1
  8.          && scalar(keys %{$monster->{castOnToPlayer}}) == 1
  9.         ) {
  10.                 # The monster might be getting lured by another player.
  11.                 # So we check whether it's walking towards any other player, but only
  12.                 # if we haven't already attacked the monster.
  13.                 if ($monster->{dmgFromYou} || $monster->{missedFromYou}) {
  14.                         return 1;
  15.                 } else {
  16.                         return !objectIsMovingTowardsPlayer($monster);
  17.                 }
  18.         }

  19.         # The monster didn't attack you.
  20.         # Other players attacked it, or it attacked other players.
  21.         if ($monster->{dmgFromYou} || $monster->{missedFromYou}) {
  22.                 # If you have already attacked the monster before, then consider it clean
  23.                 return 1;
  24.         }
  25.         # If you haven't attacked the monster yet, it's unclean.

  26.         return 1;
  27. }
複製代碼
收藏收藏 分享分享 讚 幹 分享分享 FB分享
回覆

使用道具 舉報


yl351212 當前離線
UID
641605
熱心
122 值
嘉獎
0 次
違規
0 次
在線時間
83 小時
經驗
85 點
積分
425
精華
0
最後登錄
2022-2-27
閱讀權限
25
註冊時間
2007-11-14
論壇幣
102 幣
聯合幣
31 枚
幸運鑽
8 顆
招待卷
0 點
Yahoo! 查看詳細資料
Rank: 3
yl351212 2010-12-5 13:56:05
我是修改attact 不知道這個能不能用
回覆

使用道具 舉報

rock0511 當前離線
UID
158136
熱心
73 值
嘉獎
0 次
違規
0 次
在線時間
33 小時
經驗
72 點
積分
178
精華
0
最後登錄
2015-9-29
閱讀權限
20
註冊時間
2007-1-21
論壇幣
20 幣
聯合幣
4 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 2Rank: 2
rock0511 2010-12-5 15:17:29
都用外掛了~還要搶怪~野心太大小心被檢舉喔
回覆

使用道具 舉報

薩瓦多 當前離線
UID
780669
熱心
68 值
嘉獎
0 次
違規
0 次
在線時間
58 小時
經驗
68 點
積分
68
精華
0
最後登錄
2012-7-24
閱讀權限
20
註冊時間
2008-3-7
論壇幣
3 幣
聯合幣
0 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 2Rank: 2
薩瓦多 2010-12-5 15:19:02
都用外掛了~還要搶怪~野心太大小心被檢舉喔
回覆

使用道具 舉報

問天敵 當前離線
UID
529157
熱心
120 值
嘉獎
0 次
違規
0 次
在線時間
23 小時
經驗
110 點
積分
354
精華
0
最後登錄
2018-12-16
閱讀權限
25
註冊時間
2007-9-2
論壇幣
77 幣
聯合幣
21 枚
幸運鑽
2 顆
招待卷
0 點
查看詳細資料
Rank: 3
5
問天敵 2010-12-5 17:15:17
真是太棒了!!非常感謝您的分享~小弟我虛心的收下了~~
回覆

使用道具 舉報

sam83174 當前離線
UID
167727
熱心
30 值
嘉獎
0 次
違規
0 次
在線時間
28 小時
經驗
30 點
積分
30
精華
0
最後登錄
2011-6-23
閱讀權限
20
註冊時間
2007-1-28
論壇幣
2 幣
聯合幣
0 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 2Rank: 2
6
sam83174 2010-12-5 17:24:12
看看大大的帖,回回大大的帖,還是只有說讚
回覆

使用道具 舉報

kings519 當前離線
UID
1578684
熱心
27 值
嘉獎
0 次
違規
0 次
在線時間
13 小時
經驗
26 點
積分
75
精華
0
最後登錄
2016-12-15
閱讀權限
20
註冊時間
2010-11-5
論壇幣
6 幣
聯合幣
3 枚
幸運鑽
2 顆
招待卷
0 點
查看詳細資料
Rank: 2Rank: 2
7
kings519 2010-12-5 18:48:11
感謝大大分享喔~~快抓來改看看~~3q3q3q
回覆

使用道具 舉報

mo81109 當前離線
UID
1235461
熱心
79 值
嘉獎
0 次
違規
0 次
在線時間
39 小時
經驗
56 點
積分
315
精華
0
最後登錄
2017-4-22
閱讀權限
25
註冊時間
2009-6-11
論壇幣
98 幣
聯合幣
48 枚
幸運鑽
2 顆
招待卷
0 點
查看詳細資料
Rank: 3
8
mo81109 2010-12-5 18:48:30
用外掛還搶怪不知道會不會太囂張...
回覆

使用道具 舉報

mm5566t 當前離線
UID
812331
熱心
35 值
嘉獎
0 次
違規
0 次
在線時間
10 小時
經驗
37 點
積分
37
精華
0
最後登錄
2014-12-25
閱讀權限
20
註冊時間
2010-4-3
論壇幣
9 幣
聯合幣
1 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 2Rank: 2
9
mm5566t 2010-12-5 19:20:15
我也不知道也大大能教一閜嗎~~~~
回覆

使用道具 舉報

mm5566t 當前離線
UID
812331
熱心
35 值
嘉獎
0 次
違規
0 次
在線時間
10 小時
經驗
37 點
積分
37
精華
0
最後登錄
2014-12-25
閱讀權限
20
註冊時間
2010-4-3
論壇幣
9 幣
聯合幣
1 枚
幸運鑽
0 顆
招待卷
0 點
查看詳細資料
Rank: 2Rank: 2
10
mm5566t 2010-12-5 19:20:39
還是不會條明明我就條對他還是沒搶
回覆

使用道具 舉報

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


手機版 | Archiver | 外掛聯合國

GMT+8, 2024-4-28 02:24 , Processed in 0.068094 second(s), 18 queries , Memcache On.

版權說明:
  本站不會製作、經銷、代理外掛程式。僅免費提供外掛程式下載前之掃毒及掃木馬等安全檢測驗證,協助會員遠離盜號危險程式。本站所有資料均來自網際網路收集整理,說明文字暨下載連結轉載自原程 式開發站。站上出現之公司名稱、遊戲名稱、程式等,商標及著作權,均歸各公司及程式原創所有,本站程式所有權歸外掛聯合國所有。本程式所有權歸外掛聯合國所有.......

回頂部
第二步?
第三步?