Phantom Of Rogue-Gon Posted September 3, 2013 Posted September 3, 2013 hello, the max use for kiel card 2 pcs in headgear or mid or low . if 3 kiel in alt Q cant use Quote
Patskie Posted September 3, 2013 Posted September 3, 2013 hello, the max use for kiel card 2 pcs in headgear or mid or low . if 3 kiel in alt Q cant use Try this one : if( isequippedcnt( 4403 ) > 2 ) { // do some script if kiel is more than 2 } Quote
Kenpachi Posted September 3, 2013 Posted September 3, 2013 You have to do some dirty math to achieve this. Change the bonus script from bonus bDelayRate,-30; to set .@cnt, isequippedcnt(4403); bonus bDelayRate, (.@cnt > 2) ? -1 * (30 / .@cnt * 2) : -30; Now the first to cards will have the full effect and every additional card will be ignored. There are some cases where more than two cards will nerf the bonus: Amount of cards | Bonus value 1 | -30 2 | -60 3 | -60 4 | -60 5 | -60 6 | -60 7 | -56 8 | -56 9 | -54 10 | -60 11 | -55 12 | -60 Quote
Phantom Of Rogue-Gon Posted September 3, 2013 Author Posted September 3, 2013 copy then paste to itemdb? Quote
Phantom Of Rogue-Gon Posted September 3, 2013 Author Posted September 3, 2013 i try 1 kiels = 2 kiels master Quote
Patskie Posted September 3, 2013 Posted September 3, 2013 Try this one : set .@cnt, isequippedcnt(4403); bonus bDelayRate, (.@cnt >= 2) ? -60 : -30; Quote
Phantom Of Rogue-Gon Posted September 3, 2013 Author Posted September 3, 2013 you have another script master like card limit Quote
Patskie Posted September 3, 2013 Posted September 3, 2013 you have another script master like card limit Like this? http://rathena.org/board/topic/56757-requesting-for-item-script/?p=67720 Quote
Phantom Of Rogue-Gon Posted September 3, 2013 Author Posted September 3, 2013 (edited) yup function script Sample { if( isequippedcnt( 4403,4403 ) > 2 ){ message strcharinfo(0),"Cant Wear More than 2 LHZ Card."; nude; } return; } like this? item db callfunc "Sample"; Edited September 3, 2013 by Phantom Of Rogue-Gon Quote
Patskie Posted September 3, 2013 Posted September 3, 2013 function script Sample { if( isequippedcnt( 4403 ) > 2 ){ message strcharinfo(0),"Cant Wear More than 2 Kiel Cards."; nude; } return; } Quote
Phantom Of Rogue-Gon Posted September 3, 2013 Author Posted September 3, 2013 tnx master is work Quote
Question
Phantom Of Rogue-Gon
hello,
the max use for kiel card 2 pcs in headgear or mid or low . if 3 kiel in alt Q cant use
11 answers to this question
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.