ExclamationHelpHow do i make loot drop+tier potion timers stack?[FSOD]

Posts 1–7 of 7 · Page 1 of 1
How do i make loot drop+tier potion timers stack?[FSOD]
im sick of putting like 5 lucky clovers in my inventory or like 4 loot tier and drop potions. How do i make the timers stack? i think it might be something to do with Player.UseItem.cs
that thread is about stackable items, but i realised that i could make the potions and clovers stack, but the thread is not about the loot drop+tier timers stacking so u can have like an hour of just loot drop+tier boost, like in prod
Quote Originally Posted by GreenChan View Post
that thread is about stackable items, but i realised that i could make the potions and clovers stack, but the thread is not about the loot drop+tier timers stacking so u can have like an hour of just loot drop+tier boost, like in prod
oh sry i misread the thread.
Not sure if the method would be similar on the source you're using. But I designed the system so I can simply add to the timer to stack it, which you can probably do too. It goes something like this;
Code:
            if (Item.LootTierBooster) {
                TierBoostTimer += (int)Item.Timer;
                if (TierBoostTimer != 0) InfoMessage("Your loot tier boost has been stacked up!");
                else InfoMessage("Your loot tier boost has been activated!");
                UpdateSlots(msg.SlotObject.SlotId, msg.SlotObject.SlotId);
                UpdateBoosters();
            }
Quote Originally Posted by Demon View Post
oh sry i misread the thread.
nah its fine bro! at least it gives me a new plan to add tokens into stuff
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?