Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

how can i disable that buff?

Newbie Spellweaver
Joined
Sep 21, 2017
Messages
35
Reaction score
9
3sqS5m6 - how can i disable that buff? - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Aug 30, 2018
Messages
9
Reaction score
2
comment it out in player.h...

if (IPlayer.IsOnline() && IPlayer.GetLevel() < 50 && (GetTickCount() / 1000) % 5 == 0 && !IPlayer.IsBuff(366))
{
IPlayer.Buff(366,648000,0);
IPlayer.SetBuffIcon(648000000,0, 3756, 433);
IPlayer.AddDef(50);
IPlayer.AddMaxAttack(50);
IPlayer.AddMinAttack(50);
}

if (IPlayer.IsOnline() && IPlayer.GetLevel() >= 50 && IPlayer.IsBuff(366))
{
IPlayer.CancelBuff(366);
IPlayer.RemoveBuffIcon(0, 0, 3756, 433);
IPlayer.RemoveDef(50);
IPlayer.RemoveMaxAttack(50);
IPlayer.RemoveMinAttack(50);
}
 
Upvote 0
Newbie Spellweaver
Joined
Sep 21, 2017
Messages
35
Reaction score
9
comment it out in player.h...

if (IPlayer.IsOnline() && IPlayer.GetLevel() < 50 && (GetTickCount() / 1000) % 5 == 0 && !IPlayer.IsBuff(366))
{
IPlayer.Buff(366,648000,0);
IPlayer.SetBuffIcon(648000000,0, 3756, 433);
IPlayer.AddDef(50);
IPlayer.AddMaxAttack(50);
IPlayer.AddMinAttack(50);
}

if (IPlayer.IsOnline() && IPlayer.GetLevel() >= 50 && IPlayer.IsBuff(366))
{
IPlayer.CancelBuff(366);
IPlayer.RemoveBuffIcon(0, 0, 3756, 433);
IPlayer.RemoveDef(50);
IPlayer.RemoveMaxAttack(50);
IPlayer.RemoveMinAttack(50);
}
thank you but where player.h is? :?:
 
Upvote 0
Back
Top