jmaki92 Posted May 9, 2020 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/20/14 Last Seen: April 13 Share Posted May 9, 2020 (edited) Hola, estoy tratando de hacer una custom armor pero creo que lo que busco es mas complejo y no lo he encontrado por ninguna parte. Me gustaria que la custom armor que quiero hacer de unas bonificaciones dependiendo de tus stats en un mismo objeto. Por ejemplo que si tu Str es mayor que la Int la bonificacion sea por ejemplo Atk +10%, + Hit 30 Si tu Int es mayor que la Str la bonificacion sea entonces Matk +10% reducion de la delay -3 si tu str e int son iguales entonces daria Atk + 5%, matk + 5% reducion de delay -5% Se que los stats estan algo desproporcionados porque es solo un ejemplo, Llevo parte de ayer, hoy toda la tarde y por la mañana intentando encontrar algo y al final he decidido preguntar para poder avanzar. Edited May 9, 2020 by jmaki92 Quote Link to comment Share on other sites More sharing options...
nomade Posted May 9, 2020 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 15 Reputation: 3 Joined: 01/22/12 Last Seen: May 28, 2023 Share Posted May 9, 2020 (edited) Acho que isso vai funcionar {if (readparam(bStr) > (readparam(bInt))){bonus bAtkRate,10; bonus bHit,30;} if (readparam(bStr) < (readparam(bInt))){bonus bMatkRate,10; bonus bDelayrate,-3;} if (readparam(bStr) == (readparam(bInt))){bonus bAtkRate,5;bonus bMatkRate,5; bonus bDelayrate,-5;}},{},{} Edited May 10, 2020 by Mael Use codebox Quote Link to comment Share on other sites More sharing options...
jmaki92 Posted May 10, 2020 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/20/14 Last Seen: April 13 Author Share Posted May 10, 2020 Muchas gracias, parece funcionar perfectamente Quote Link to comment Share on other sites More sharing options...
jmaki92 Posted June 27, 2020 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/20/14 Last Seen: April 13 Author Share Posted June 27, 2020 (edited) Solucionado Edited July 7, 2020 by jmaki92 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.