Jump to content

Recommended Posts

Posted

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]

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.



  • Posts

    • SocNet is looking for new suppliers! — Snapchat accounts  — Reddit accounts with karma  — LinkedIn accounts with real connections Message us or contact support — let’s discuss terms! We’re also open to other partnership opportunities. Our Online Store Offers: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, Emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, Proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, etc.), VDS/RDP Servers SMM Panel Services: ➡ Use our SMM Panel to boost Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, TrustPilot, Apple Music, Tripadvisor, Snapchat, and more. Promo code for store discount: PARTNER8 (8% off) Get $1 trial balance for the SMM Panel: Submit a ticket titled “Get Trial Bonus” via our website (Support) ➡ Go to the SMM Panel (clickable) or contact us through the bot Our Key Products: ➡ Online Store: Click ➡ Telegram Shop Bot: Click ( ENGLISH Version: Click ) ➡ SMM Panel: Click Payments accepted: Bank cards · Crypto · Other popular methods Returning buyers receive extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — Discuss bulk orders — Form partnerships (Current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — your digital goods & subscription store
    • SocNet is looking for new suppliers! — Snapchat accounts  — Reddit accounts with karma  — LinkedIn accounts with real connections Message us or contact support — let’s discuss terms! We’re also open to other partnership opportunities. Our Online Store Offers: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, Emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional Services: Telegram Stars, Proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, etc.), VDS/RDP Servers SMM Panel Services: ➡ Use our SMM Panel to boost Facebook, Instagram, Telegram, Spotify, Soundcloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, TrustPilot, Apple Music, Tripadvisor, Snapchat, and more. Promo code for store discount: PARTNER8 (8% off) Get $1 trial balance for the SMM Panel: Submit a ticket titled “Get Trial Bonus” via our website (Support) ➡ Go to the SMM Panel (clickable) or contact us through the bot Our Key Products: ➡ Online Store: Click ➡ Telegram Shop Bot: Click ( ENGLISH Version: Click ) ➡ SMM Panel: Click Payments accepted: Bank cards · Crypto · Other popular methods Returning buyers receive extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — Discuss bulk orders — Form partnerships (Current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — your digital goods & subscription store
    • The links are down, why do you publish something that you're just going to delete later?
    • HELLO EVERYONE. WE ARE SELLING A LOT OF ADENA ON L2 REBORN DISCORD - GODDARDSHOP   HURRY TO BUY OR YOU MAY NOT MAKE IT!!!
  • Topics

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