Jump to content
  • 0

how can I script this?


onli0721

Question


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

dear rA..

how can I can enable the use of just 1 kiel card on my server?...

but if wearing 2kiel cards and 2expert rings..delay will be -70%..please help me T_T

Link to comment
Share on other sites

12 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 mean limiting effect to 1 Kiel eventho player's wearing 2 Kiel? I'd recommend you to decrease the effect into half instead of nullifying one's effect because it will confuse your player.

Here is the code to check if Kiel is equipped, no effect given will be given.

if(!isequipped(4403)) { bonus bDelayRate,-30; }

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/05/12
  • Last Seen:  

You mean limiting effect to 1 Kiel eventho player's wearing 2 Kiel? I'd recommend you to decrease the effect into half instead of nullifying one's effect because it will confuse your player.

Here is the code to check if Kiel is equipped, no effect given will be given.

if(!isequipped(4403)) { bonus bDelayRate,-30; }

yes sir...1 kiel card for a player..if they use 2 or 3 kiel card...they'll just get only the same effect..

but sir if I decrease the effect..they will not get the normal effect of the kiel if they are using just 1 kiel card..and that is -30%..

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:  

If change the script effect like how you say:

1 or 2 Kiel equipped will remain same at { -30% Delay } this will confuse player who didn't know the fact and worn 2 Kiel if you didn't properly notice your player and result they will have to seek for Card Removal service.

So I think is better solution to make Kiel's script to { -15% Delay } and so this won't confuse them.

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/05/12
  • Last Seen:  

If change the script effect like how you say:

1 or 2 Kiel equipped will remain same at { -30% Delay } this will confuse player who didn't know the fact and worn 2 Kiel if you didn't properly notice your player and result they will have to seek for Card Removal service.

So I think is better solution to make Kiel's script to { -15% Delay } and so this won't confuse them.

I already told them that I will just enable 1 kiel card in my server....and will be notify for all incoming players..so please sir..can I ask for it?..Im begging for help..T_T

Edited by primeRO
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:  

I already post the script in 2nd post hours ago. Replace the script in item_db or item_db_re (depends on server you running)

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/05/12
  • Last Seen:  

I already post the script in 2nd post hours ago. Replace the script in item_db or item_db_re (depends on server you running)

ok sir...i'll try

Edited by primeRO
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:  

This will check if player is not wearing Kiel, then give bonus bDelay - 30%

if(!isequipped(4403)) { bonus bDelayRate,-30; }

for Expert Ring use the format:

if(!isequipped(2703)) { bonus bDelayRate,-5; bonus bUseSPrate,5; }

Edited by darristan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/05/12
  • Last Seen:  

This will check if player is not wearing Kiel, then give bonus bDelay - 30%

if(!isequipped(4403)) { bonus bDelayRate,-30; }

for Expert Ring use the format:

if(!isequipped(2703)) { bonus bDelayRate,-5; bonus bUseSPrate,5; }

I already figured out the script here is the script I put

{ bonus bDelayRate,-30 / isequippedcnt(4403); }

this will make any character wearing any amount of kiel card..delay reduction will be just -30%..problem fixed ^^

Edited by primeRO
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:  

dear rA,

can you help me script this one?..

if wearing 2kiels+2Experting rings = bDelayRate,-70%

thanks in advance..

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:  

Each Kiel is default is already -30% delay, and each Expert is also 5%. Which mean if you wearing 2 Kiel + 2 Expert is total of -70% delay. Correct me if I'm wrong.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  10/05/12
  • Last Seen:  

Each Kiel is default is already -30% delay, and each Expert is also 5%. Which mean if you wearing 2 Kiel + 2 Expert is total of -70% delay. Correct me if I'm wrong.

yeah your right sir...because I only enabled 1 kiel on my server and its already fixed..but if they are wearing 2kiels+2expert rings that's the time they will get the effect of 2 kiels plus the effect of expert rings so total of -70%...I think I should put the script on the expert ring...but the problem is..I dont know the script :(

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:  

@primeRO, I was replying to onli0721. But for your issue, my script above will check if the user has Kiel equipped or not. So if you use my script it will result maximum of 35% (30% Kiel + 5% Expert) even when player is wearing 2 Kiel + 2 Expert.

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