Hello.
I have custom client and i make new skull (graphic) for Black Skull for my project and i have a question about make an NPC who giving an "skull cover" after teleport us to an place
Example:
Player have Red Skull and he wants to teleport to an island -> he talking to NPC and he teleported + gain an Black Skull (this is part of NPC)
Player are moving out from island and he losing the Black Skull (this is part of NPC too but another one) and he gain previous skull - Red Skull
And I have a question about the "red skull refresh":
If I put the storage values to the NPC - Black Skull one and i put it to Login.lua and NPC file player can reset this redskull timer, example:
I want fix it:
Player have 2h left to remove red skull and talking with the NPC, he gain a black skull and he tp to island. <- this is OK
Player left the island and his redskull are refresh (Player got 5h left (before gain BlackSkull he has 2h to dissapear) to dissapear the RedSkull) and he drop the RedSkull (dissapear until relog) [i want to appear {he got before entering to island}]) <- this is WRONG part
How to fix the wrong part to not refreshing the timer of skulls and loseing the skulls (i want previous skull what has before enter) after leaving the island ?
PS. I know is crazy and sick but i need an idea how to fix the timer and how i can make the previous skull...
I have custom client and i make new skull (graphic) for Black Skull for my project and i have a question about make an NPC who giving an "skull cover" after teleport us to an place
Example:
Player have Red Skull and he wants to teleport to an island -> he talking to NPC and he teleported + gain an Black Skull (this is part of NPC)
Player are moving out from island and he losing the Black Skull (this is part of NPC too but another one) and he gain previous skull - Red Skull
And I have a question about the "red skull refresh":
If I put the storage values to the NPC - Black Skull one and i put it to Login.lua and NPC file player can reset this redskull timer, example:
I want fix it:
Player have 2h left to remove red skull and talking with the NPC, he gain a black skull and he tp to island. <- this is OK
Player left the island and his redskull are refresh (Player got 5h left (before gain BlackSkull he has 2h to dissapear) to dissapear the RedSkull) and he drop the RedSkull (dissapear until relog) [i want to appear {he got before entering to island}]) <- this is WRONG part
How to fix the wrong part to not refreshing the timer of skulls and loseing the skulls (i want previous skull what has before enter) after leaving the island ?
PS. I know is crazy and sick but i need an idea how to fix the timer and how i can make the previous skull...