onli0721 Posted October 13, 2012 Posted October 13, 2012 Is it right to put like this? if(!isequipped(2703=2,4403=2)) { bonus bDelayRate,-70; } Quote
onli0721 Posted October 13, 2012 Author Posted October 13, 2012 You can use /db/re/item_combo_db.txt sir I'm just using eathena svn version and no /db/re/item_combo_db.txt on it .. Quote
Bin4ry Posted October 13, 2012 Posted October 13, 2012 Alright lets do this in item_db then. But I'm not sure what do you want from this script. You used ! argument. if(!isequipped(2703=2,4403=2)) { bonus bDelayRate,-70; } If you are trying to make If 2 Expert Ring and 2 Kiel is worn, decrease 70% delay. Then it would result total of 140% delay decrease which doesn't make any sense. Quote
GmOcean Posted October 13, 2012 Posted October 13, 2012 i think the OP is under the impression that Kiel cards & expert rings don't stack. Which they do. So, unless you want them to have -140% cast delay, you need to change that, or remove it all together. Quote
onli0721 Posted October 13, 2012 Author Posted October 13, 2012 Alright lets do this in item_db then. But I'm not sure what do you want from this script. You used ! argument. if(!isequipped(2703=2,4403=2)) { bonus bDelayRate,-70; } If you are trying to make If 2 Expert Ring and 2 Kiel is worn, decrease 70% delay. Then it would result total of 140% delay decrease which doesn't make any sense. hmm..how will it be 140% sir?..coz I know a kiel has only -30% delay, expert ring is -5%..if you combine it, it will result total of 35% then if you wear 2kiels+2expert total of 70% correct me if im wrong.. Quote
Bin4ry Posted October 13, 2012 Posted October 13, 2012 It will be total of 70% if you wearing 2 Kiel, 2 Expert Ring and now you are doing item combo effect, which will bring another 70% (According your script). Quote
onli0721 Posted October 13, 2012 Author Posted October 13, 2012 (edited) It will be total of 70% if you wearing 2 Kiel, 2 Expert Ring and now you are doing item combo effect, which will bring another 70% (According your script). EDIT: ahh..now I understand..but is it possible to just have -70%?.. Edited October 13, 2012 by onli0721 Quote
Bin4ry Posted October 13, 2012 Posted October 13, 2012 You don't have to do anything, by default when they wear 2 Expert and 2 Kiel it will already be -70%. (30% * 2 + 5% * 2) Quote
onli0721 Posted October 13, 2012 Author Posted October 13, 2012 You don't have to do anything, by default when they wear 2 Expert and 2 Kiel it will already be -70%. (30% * 2 + 5% * 2) but sir I just edit my kiel card script to this bonus bDelayRate,-30 / isequippedcnt(4403) so that any player wearing 2 or 3 kiel cards will just get an effect of bDelayRate -30%.. now Im trying to edit expert ring and giving an item combo...if wearing 2kiels+2expert will get -70% I hope you understand my point Quote
Bin4ry Posted October 13, 2012 Posted October 13, 2012 (edited) Replace this into Expert Ring's script: bonus bDelayRate,-5; bonus bUseSPrate,5; if(isequipped(2703,4403)) { bonus bDelayRate,-15; } It work like this: Kiel 1 - 30% Kiel 2 - 30% (Effect nil) Expert Ring 1 - 5% Expert Ring 2 - 5% 1 Pair Bonus - 15% 2 Pair Bonus = 30% (Covered up Kiel 2 nil effect) This will give bonus -15% delay when 1 Expert Ring and 1 Kiel is worn. So when you have 2 Kiel and 2 Expert Ring it will return a bonus of -30% delay (Which covered up your previous script that blocks 2nd Kiel effect). Edited October 13, 2012 by darristan Quote
onli0721 Posted October 13, 2012 Author Posted October 13, 2012 (edited) EDIT: problem solved...after I used this script.. btw...thank you darristan { bonus bDelayRate,-5; bonus bUseSPrate,5; if (isequippedcnt(4403) >= 2 && isequippedcnt (2703) >= 2) {bonus bDelayRate,-30;} },{},{} Edited October 14, 2012 by onli0721 Quote
Question
onli0721
Is it right to put like this?
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.