Cacau Luh Posted December 23, 2016 Report Share Posted December 23, 2016 Uso o scipt abaixo para estourar pots vazias no chão: class ModuleDesintegrator: def getName(self): return "Money Rune" def getVersion(self): return "1.1" def getFunDef(self,nr): if (nr==0): return (0,1000,self.fun1); return (); def getConfigParam(self,nr): return (); def fun1(self,params): selfCh=tareader.readSelfCharacter(); moneyRuneId = 3193 useOnItemIDs = [285, 284, 283, 3038, 3039, 3037, 3036] for offsetX in range(-1,2): for offsetY in range(-1,2): items = tareader.mapGetPointItemsCount(offsetX, offsetY, 0) topPos = tareader.mapGetPointTopPos(offsetX, offsetY, 0) itemId = tareader.mapGetPointItemId(offsetX, offsetY, 0, topPos) if itemId in useOnItemIDs: tasender.useWithObjectOnFloor(moneyRuneId, itemId, selfCh['x']+offsetX, selfCh['y']+offsetY, selfCh['z'], 2) return() tibiaauto.registerPlugin(ModuleDesintegrator) André, existe a possibilidade de alteração ou adição de uma linha, pra que estoure os posts dentro de uma bp q esteja aberta? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.