Prestige Help

11/26/2018 21:22 polk99#1
I have a question how to add a buff for the prestige level
11/27/2018 09:23 GGGGame#2
AddBuff(new Buff(ID, Level)); :wat:
11/27/2018 09:30 Saber none#3
Quote:
Originally Posted by GGGGame View Post
AddBuff(new Buff(ID, Level)); :wat:
that wasnt helpful at all i hope you know that.
11/27/2018 13:13 JaDroK#4
Add this on Character.cs inside public void CharacterLife() and put the buffs that you want to add :P

EDIT: Add a variable "DateTime" called PrestigeBuff on Character.cs too :)

Code:
 
if (PrestigeBuff.AddSeconds(2) <= DateTime.Now)
            {
                PrestigeBuff = DateTime.Now;
                switch (PrestigeLevel) {
                    case 1:
                        AddBuff(new Buff(3000, Level), true);
                        break;

                    case 2:
                        AddBuff(new Buff(3001, Level), true);
                        break;

                    case 3:
                        AddBuff(new Buff(400, Level), true); 
                        break;
                }
            }