Jump to content

[Scripts]Improved mana potion script.


aasi888

Recommended Posts

Nothing special...

This script is almost same as previous versions but mana pot is not being spammed when ur dead. I got just fken bored to hear that "thong thong - mana potion can not be used due to unsuitable terms".

 

Label(mana)
CharStatus(HP,>,1)  //eat mana only if health is over 1%
{
CharStatus(MP,<,99) //use mp pot if mana is lower that 99%
{
Label(MANA)
USEITEM(Mana Potion[iD=728])
}
}
DELAY(1000)
Call(mana)

Link to comment
Share on other sites

that script shouldn't work, it has conditions inside conditions...

 

 

but this will.

Label(mana)
CharStatus(HP,>,1)  //eat mana only if health is over 1%
{
CALL(DEADCHECK)
}
DELAY(1000)
Call(mana)



LABEL(DEADCHECK)
CharStatus(MP,<,99) //use mp pot if mana is lower that 99%
{
USEITEM(Mana Potion[iD=728])
}
RETURN()

Link to comment
Share on other sites

that script shouldn't work, it has conditions inside conditions...

Works with IG 1.78. Atleast I dont get the spam when I'm dead and mp ~80%.

 

PS Can it be modded so that I only use it outside of combat?

Link to comment
Share on other sites

why would you want it to be outside of combat?

 

and now that I think about it, unless you are at 100% hp 24/7 its impossible.

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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