Jump to content
  • 0
dungpt8782

Need help with getstatus script!

Question

I want to make the item with this effect:

If Enchant Poison level 10 damage increased 50% when under Enchant Poison status

 

can you help me to make item script like this?

i'm using

if (getskilllv(AS_ENCHANTPOISON) == 10 && getstatus(SC_ENCHANTPOISON) ) {

   bonus2 bAddRace,RC_All,50;

  }

but it will inscrease all element damage after enchant poison.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

try bonus2(bAddRace2, RC_All, 50) or bonus2(bMagicAtkEle, Ele_All, 50)

Share this post


Link to post
Share on other sites
  • 0

I think this script check status when wear this item only :(

I tested with this item weared before enchant poison, it dont have effect when i use enchant poison :(

Share this post


Link to post
Share on other sites
  • 0

you could make it use doevent() to call an external script and in that script do the check for enchant poison, and call itself with addtimer() with a short delay like 500ms, so it will keep checking

Share this post


Link to post
Share on other sites
  • 0

you could make it use doevent() to call an external script and in that script do the check for enchant poison, and call itself with addtimer() with a short delay like 500ms, so it will keep checking

How can i do it pls?

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.