Lombardo Posted December 29, 2015 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 12/03/12 Last Seen: April 18, 2024 Share Posted December 29, 2015 Gostaria de saber como fazer para quando equipar dois itens iguais, seja dado um bônus. por exemplo: Megingjard(id:2629) Ao equipar duas megingjard's conceder um bônus de 200 de força. Mas apenas se as duas estiverem equipadas. Quote Link to comment Share on other sites More sharing options...
FXFreitas Posted December 30, 2015 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 354 Reputation: 110 Joined: 01/30/13 Last Seen: June 7, 2024 Share Posted December 30, 2015 ... Pre-re https://github.com/rathena/rathena/blob/master/db/pre-re/item_combo_db.txt Re https://github.com/rathena/rathena/blob/master/db/re/item_combo_db.txt 1 Quote Link to comment Share on other sites More sharing options...
Lombardo Posted December 30, 2015 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 12/03/12 Last Seen: April 18, 2024 Author Share Posted December 30, 2015 (edited) ... Pre-re https://github.com/rathena/rathena/blob/master/db/pre-re/item_combo_db.txt Re https://github.com/rathena/rathena/blob/master/db/re/item_combo_db.txt Nesse caso então ficaria 2629:2629,{ bonus bStr,200; } ??? EDIT: Testei dessa forma acima, e funcionou... Mas quando equipo apenas uma, o bonus já é dado... Ou seja, não preciso ter equipado as duas megins... Edited December 30, 2015 by Lombardo Quote Link to comment Share on other sites More sharing options...
FXFreitas Posted December 30, 2015 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 354 Reputation: 110 Joined: 01/30/13 Last Seen: June 7, 2024 Share Posted December 30, 2015 (edited) hmm, que estranho, tem outra forma. Tenta por isso no script do item { if ( isequippedcnt( 2629 ) >= 2 ) { bonus bstr,200; } } Edited December 30, 2015 by FXFreitas 1 Quote Link to comment Share on other sites More sharing options...
Lombardo Posted January 1, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 12/03/12 Last Seen: April 18, 2024 Author Share Posted January 1, 2016 Funcionou também, mas ele dobra o valor do bônus, sendo 200 de str a mais pra cada uma, mas isso é de boas... Obrigado pela ajuda! Quote Link to comment Share on other sites More sharing options...
FXFreitas Posted January 2, 2016 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 354 Reputation: 110 Joined: 01/30/13 Last Seen: June 7, 2024 Share Posted January 2, 2016 Funcionou também, mas ele dobra o valor do bônus, sendo 200 de str a mais pra cada uma, mas isso é de boas... Obrigado pela ajuda! Pois é eu tinha esquecido desse detalhe, mas só por 100 ao invés de 200 que resolve Quote Link to comment Share on other sites More sharing options...
Lombardo Posted January 2, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 12/03/12 Last Seen: April 18, 2024 Author Share Posted January 2, 2016 Sim, resolvido de boas... Aproveitando o gancho, por acaso sabe como posso anular o uso de duas gemas? Exemplo, o card Mistress (Abelha Rainha) anula o uso de apenas uma gema, queria q anulasse duas... como faria? Quote Link to comment Share on other sites More sharing options...
FXFreitas Posted January 3, 2016 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 354 Reputation: 110 Joined: 01/30/13 Last Seen: June 7, 2024 Share Posted January 3, 2016 Antigamente esse bonus anulava mais de uma gema (contanto que fossem iguais) mas isso não era oficial então mudaram o efeito, teria que olhar nos confins do repositório do eAthena pra achar o código do efeito da carta antigo rsrsrsrs Quote Link to comment Share on other sites More sharing options...
Lombardo Posted January 3, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 12/03/12 Last Seen: April 18, 2024 Author Share Posted January 3, 2016 RESOLVIDO! 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.