• 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

  • 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now