Jump to content

soulrever

Members
  • Posts

    1
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About soulrever

Profile Information

  • Gender
    Male
  • Country
    Romania

soulrever's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. Anyone have ?. I have for all other kind of pots and elixirs but not this. I`m new in scripting and duno from where i can get WQHP(Warrior's Quick Healing Potion) item id :) Need something like that: HIDE="20"]//Character Status Checker //Version 1.0 Call Status FUNCTION Status //For Debugging DEFINE INT Debug 0 //Sleep Between Item Use Spam DEFINE INT _SLEEP 250 //What Percent Before Using Pots DEFINE INT LOWHP 95 //When To Use A Warrior's Quick Healing Potion DEFINE INT HUNDRED 100 //Dont Change //Dont Change - Used for Item ID DEFINE INT WQHPID 0 //Dont Change - Used for Threshold Before Potting DEFINE INT WQHP 0 //Dont Change - Used for Item Count DEFINE INT _WQHP 0 //Dont Change - Get Stats CP = LOWCP * CHAR_MAX_CP CP = CP / HUNDRED LC = MINCP * CHAR_MAX_CP LC = LC / HUNDRED HP = LOWHP * CHAR_MAX_HP HP = HP / HUNDRED LH = MINHP * CHAR_MAX_HP LH = LH / HUNDRED //Items To Use - Put Names Of Items To use Here ITEM_GET_ID WQHPID "Warrior's Quick Healing Potion" //Used for Debug Mode DEFINE STRING _WQHPID "none" //Used for Debug Mode ITEM_GET_NAME _WQHPID "<&WQHPID&>" //When Debug Mode Is On, Remaining Count Is Incorrect By 1, This Fixes That DEFINE INT __WQHP 0 DEFINE INT ONE 1 //MAIN LOOP// WHILE ZERO == ZERO //Item Count Check ITEM_COUNT _WQHP "<&WQHPID&>" //Proper Item Count Remaining For Debug Mode __WQHP = _WQHP - ONE IF CHAR_CUR_HP <= WQHP //Warrior's Quick Health Potion IF _HP > ZERO IF Debug == ONE PRINT_TEXT "Currently: <&CHAR_CUR_HP&> / <&CHAR_MAX_HP&> HP - Using <&_WQHPID&>" PRINT_TEXT "Used <&_WQHPID&> - Currently <&__WQHP&> Left." ENDIF USE_ITEM "<&WQHPID&>" ELSE PRINT_TEXT "Out of <&_WQHPID&>" ENDIF ENDIF SLEEP "<&_SLEEP&>" SLEEP 1000 WEND RETURN VOID[/HIDE]
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock