Jump to content
  • 0

item combo


onli0721

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/10/12
  • Last Seen:  

Is it right to put like this?

if(!isequipped(2703=2,4403=2)) { bonus bDelayRate,-70; }

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

You can use /db/re/item_combo_db.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/10/12
  • Last Seen:  

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 ..:(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/10/12
  • Last Seen:  

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..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/10/12
  • Last Seen:  

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 by onli0721
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/10/12
  • Last Seen:  

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 :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

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 by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  06/10/12
  • Last Seen:  

EDIT:

problem solved...after I used this script..

btw...thank you darristan /no1

{ bonus bDelayRate,-5; bonus bUseSPrate,5; if (isequippedcnt(4403) >= 2 && isequippedcnt (2703) >= 2) {bonus bDelayRate,-30;} },{},{}

Edited by onli0721
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...