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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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