Phantom Of Rogue-Gon Posted September 3, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Share 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 Link to comment Share on other sites More sharing options...
Patskie Posted September 3, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 17 hours ago Share Posted September 3, 2013 function script Sample { if( isequippedcnt( 4403 ) > 2 ){ message strcharinfo(0),"Cant Wear More than 2 Kiel Cards."; nude; } return; } Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 3, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 17 hours ago Share 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 Link to comment Share on other sites More sharing options...
Kenpachi Posted September 3, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 764 Reputation: 220 Joined: 11/14/11 Last Seen: November 19, 2020 Share 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 Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted September 3, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Author Share Posted September 3, 2013 copy then paste to itemdb? Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 3, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 17 hours ago Share Posted September 3, 2013 copy then paste to itemdb? Yes Quote Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted September 3, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Author Share Posted September 3, 2013 i try 1 kiels = 2 kiels master Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 3, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 17 hours ago Share Posted September 3, 2013 Try this one : set .@cnt, isequippedcnt(4403); bonus bDelayRate, (.@cnt >= 2) ? -60 : -30; Quote Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted September 3, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Author Share Posted September 3, 2013 you have another script master like card limit Quote Link to comment Share on other sites More sharing options...
Patskie Posted September 3, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 17 hours ago Share 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 Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted September 3, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Author Share 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 Link to comment Share on other sites More sharing options...
Phantom Of Rogue-Gon Posted September 3, 2013 Group: Members Topic Count: 65 Topics Per Day: 0.02 Content Count: 181 Reputation: 0 Joined: 08/07/13 Last Seen: September 15, 2014 Author Share Posted September 3, 2013 tnx master is work Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.