-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
183 additions
and
574 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,4 +50,5 @@ | |
86,指南針,從古代流傳下來指引方向的物品 | ||
87,砲管碎片,砲管的碎片 | ||
88,甲板碎片,甲板的碎片 | ||
89,船錨殘骸,船錨的殘骸 | ||
89,船錨殘骸,船錨的殘骸 | ||
8001,公會點數,公會點數 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cn,218,218 | ||
tw,200,168 | ||
kr,225,167 | ||
tw,202,171 | ||
kr,227,168 | ||
jp,0,0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# coding:utf-8 | ||
from _prototype import plugin_prototype | ||
from cross_platform import * | ||
import time | ||
# start meta | ||
__plugin_name__ = '狼娘无限舔公会妖' | ||
__author = 'fffonion' | ||
__version__ = 0.2 | ||
__tip__ = '插件已开启,如需关闭请移除plugins下的infinite_guild_fairy' | ||
hooks = {'EXIT__fairy_battle':10} | ||
# extra cmd hook | ||
extra_cmd = {} | ||
# end meta | ||
class plugin(plugin_prototype): | ||
def __init__(self): | ||
self.__name__ = __plugin_name__ | ||
self.mac_instance = None | ||
|
||
def fairy_floor(self,fairy): | ||
paramfl = 'check=1&race_type=%s&serial_id=%s&user_id=%s' % ( | ||
fairy.race_type, fairy.serial_id, fairy.discoverer_id) | ||
resp, ct = self.mac_instance._dopost('exploration/fairy_floor', postdata = paramfl) | ||
if resp['error']: | ||
return None | ||
else: | ||
return ct.body.fairy_floor.explore.fairy | ||
|
||
def EXIT__fairy_battle(self, *args, **kwargs): | ||
self.logger = args[0].logger | ||
fairy=args[1] | ||
if fairy.race_type == '12' and fairy.time_limit != '0': | ||
print(du8("工会妖精!")) | ||
self.mac_instance = args[0] | ||
self.mac_instance.lastfairytime=0 | ||
if self.mac_instance.player.bc['current']>=2: | ||
time.sleep(5) | ||
fairy=self.fairy_floor(fairy) | ||
if fairy.hp == '0': | ||
return | ||
self.mac_instance._fairy_battle(fairy, kwargs) | ||
else: | ||
print(du8("BC<2,两分钟后再战ww")) | ||
time.sleep(120) | ||
|
Oops, something went wrong.