Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Bufficon for potion cooldown?
Author Message
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #1
Custom Bufficon for potion cooldown?
Hello all,

I'm trying to find way to add bufficon to show cooldown when someone uses potions. I know how to add custom bufficon and remove it, however couldn't figure out how to do that when someone drinks a potion.

I tried adding a memory under [typedef t_potion] however player still gets hardcoded memory item (i_handr_1) too.

Is there a way to do this?

Thanks
07-31-2020 07:39 AM
Find all posts by this user Like Post Quote this message in a reply
Jhobean
Journeyman
*

Posts: 98
Likes Given: 11
Likes Received: 8 in 3 posts
Joined: Jun 2019
Reputation: 2



Post: #2
RE: Custom Bufficon for potion cooldown?
Try this:
IF <SRC.ISPLAYER>
src.ADDBUFF 1039,1028825,1062028,15,Saignement
endif

https://www.uocryptonite.com/
08-02-2020 06:46 AM
Find all posts by this user Like Post Quote this message in a reply
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #3
RE: Custom Bufficon for potion cooldown?
Sphere doesn't understand Saignement argument.

I took that out, and buff icon stays there when the timer runs out :/
08-02-2020 07:57 AM
Find all posts by this user Like Post Quote this message in a reply
Jhobean
Journeyman
*

Posts: 98
Likes Given: 11
Likes Received: 8 in 3 posts
Joined: Jun 2019
Reputation: 2



Post: #4
RE: Custom Bufficon for potion cooldown?
"Saignement" is the text suppose to be write in the tooltip.

What version of core you using? I use this syntax on X

https://www.uocryptonite.com/
08-02-2020 10:53 AM
Find all posts by this user Like Post Quote this message in a reply
falsemirage
Apprentice
*

Posts: 13
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2013
Reputation: 0



Post: #5
RE: Custom Bufficon for potion cooldown?
I run 56b-pre release, tried to go on X but i get lots of map error, and i can't put stuff in my backpack, gives me wrong packet send error for some reason.

I mean buff icon shows up there no issues there. But it stays there until i enter removebuff etc.etc.

What i'm trying to do is, get the buff icon there when i drink a potion, and remove it when timer disappears.
08-02-2020 01:31 PM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #6
RE: Custom Bufficon for potion cooldown?
Oh, the 56b is a very old version and buggy. If you can't use the X version, I recommend the 56d version. Don't test something ancient when you can have new ones. You can then modify the 56b scripts you need for the new versions. But both things (56d and X) are good.
08-02-2020 04:06 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)