antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
RazrDx

[Duvida] Como Alterar Os Bonus

Question

Olá comunidade!Alguém por algum acaso sabe como faço para adicionar bonus contra classes nas armas?Redução à classes nas botas, colar, armadura?Na minha data base, já olhei lá no "item_attr" não tem os bonus classe nem redução...Como eu coloco estes??Obg.!

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0
INSERT INTO `item_attr` VALUES ('ATT_BONUS_TO_WARRIOR', '1', '10', '10', '15', '10', '15', '5', '0', '0', '5', '0', '5', '0', '0');
INSERT INTO `item_attr` VALUES ('ATT_BONUS_TO_ASSASSIN', '1', '10', '10', '15', '10', '15', '5', '0', '0', '5', '0', '5', '0', '0');
INSERT INTO `item_attr` VALUES ('ATT_BONUS_TO_SURA', '1', '10', '15', '20', '15', '20', '5', '0', '0', '5', '0', '5', '0', '0');
INSERT INTO `item_attr` VALUES ('ATT_BONUS_TO_SHAMAN', '1', '10', '10', '15', '10', '15', '5', '0', '0', '5', '0', '5', '0', '0');
INSERT INTO `item_attr` VALUES ('RESIST_WARRIOR', '1', '10', '10', '10', '10', '10', '0', '5', '0', '0', '5', '0', '0', '0');
INSERT INTO `item_attr` VALUES ('RESIST_ASSASSIN', '1', '10', '10', '10', '10', '10', '0', '5', '0', '0', '5', '0', '0', '0');
INSERT INTO `item_attr` VALUES ('RESIST_SURA', '1', '10', '10', '10', '10', '10', '0', '5', '0', '0', '5', '0', '0', '0');
INSERT INTO `item_attr` VALUES ('RESIST_SHAMAN', '1', '10', '10', '10', '10', '10', '0', '5', '0', '0', '5', '0', '0', '0');
 

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

sim e como adiciono a arma que qero etc? ...

Share this post


Link to post
Share on other sites
  • 0

Imagem colocada

 

weapon, body...

 

Na linha do add você coloca o nº 5 onde você quer que caia o bônus...

Share this post


Link to post
Share on other sites
  • 0

Obrigado cara, valeu mesmo :D +1!

Share this post


Link to post
Share on other sites
  • 0

Muito bem cara, só mais uma...no meu caso, funcionou perfeitamente, porém apenas para o 6/7.Como faço pra add nos 1/5??Obg.!

Share this post


Link to post
Share on other sites
  • 0

Muito bem cara, só mais uma...no meu caso, funcionou perfeitamente, porém apenas para o 6/7.Como faço pra add nos 1/5??Obg.!

Tem o item_attr e o item_attr_rare .

Um é para os bonus 1/5 e outro é para o bonus 6/7 é só você da uma olhada ai ^^ .

 

Se te ajudei não custa nada dar +1

Share this post


Link to post
Share on other sites
  • 0

item_attr é 1/5
item_attr_rare é 6/7

Pois então, o que quero dizer:

Apenas na aba item_attr_rare funcionou as suas queries.
Tentei selecionar pelo filtro na aba item_attr, e não apareceu nenhum dos bonus e redução (classes).

Ou seja, esta queries (pra mim) funcionou apenas para os 6/7.


 

Share this post


Link to post
Share on other sites
  • 0

Se no seu servidor já tiver os add não precisa usar query não , mas se ainda nao tiver nenhum preenchido você vai ter que usar ^^

Share this post


Link to post
Share on other sites
  • 0

irei testar com sua tabela Raizen, da mesma forma +1 :DAh lembrando eu utilizo um cliente que tem os ficheiroslocale_de.eix/epk utilizado como raizen_br.epk/eixSerias você que trabalhou no cliente? **curiosidade**

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this