Generalspectro

Membros novatos
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Generalspectro

  1. Estou com dificuldades em fazer funcionar a parte de auto Seller, vou no auto attack olho por lá as coordenadas, abro arquuvo, adiciono tudo certo. Por fim não funfa.

    Se alguém puder me ajudar, grato. 

  2. Tentei editar conforme dito em topicos que para mudar a script de sd para qualquer outra ( no caso quero de avalanche) bastava apenas mudar ID, so que nao obtive sucesso.

    peguei a original e mudei a "id" pra avalanche "3161" 

     

    class ModuleAutoCastRune:
          def getName(self):
              return "Auto Cast Rune on Target By Faramir"
     
          def getVersion(self):
              return "1.1"
     
          def getFunDef(self,nr):
              if (nr==0): return (0,1000,self.fun1);
              return ();
             
          def getConfigParam(self,nr):
              if (nr==0): return ('RuneId', 'ID da runa para usar no alvo'); # rune ID to cast on target
              return ();
     
          def fun1(self,params):
             runeId = 3161
             if params['3161']:
               runeId = int(params['3161']);
               
             target = tareader.getAttackedCreature()
             if target:
              tasender.useItemOnCreature(runeId, target)
                                            
    tibiaauto.registerPlugin(ModuleAutoCastRune)