raise limits

master
Dominik Madarász 2024-06-21 20:33:33 +02:00
parent dd8c9481a5
commit 599bedcc2f
2 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,8 @@
Needs.Enable = 1 Needs.Enable = 1
Needs.MaxValue = 255 Needs.MaxValue = 255
Needs.LowValue = 16 Needs.LowValue = 30
Needs.CriticalValue = 5 Needs.CriticalValue = 15
Needs.DropRate = 60 Needs.DropRate = 60
Needs.DropValueHunger = 1 Needs.DropValueHunger = 1
Needs.DropValueThirst = 1 Needs.DropValueThirst = 1

View File

@ -12,8 +12,8 @@ using namespace Acore::ChatCommands;
bool NeedsEnabled = true; bool NeedsEnabled = true;
uint8 NeedsMaxValue = 255; uint8 NeedsMaxValue = 255;
uint8 NeedsLowValue = 16; uint8 NeedsLowValue = 30;
uint8 NeedsCriticalValue = 5; uint8 NeedsCriticalValue = 15;
uint32 NeedsDropRate = 60; uint32 NeedsDropRate = 60;
uint8 NeedsDropValueHunger = 1; uint8 NeedsDropValueHunger = 1;
uint8 NeedsDropValueThirst = 1; uint8 NeedsDropValueThirst = 1;
@ -51,8 +51,8 @@ public:
{ {
NeedsEnabled = sConfigMgr->GetOption<bool>("Needs.Enabled", true); NeedsEnabled = sConfigMgr->GetOption<bool>("Needs.Enabled", true);
NeedsMaxValue = sConfigMgr->GetOption<uint8>("Needs.MaxValue", 255); NeedsMaxValue = sConfigMgr->GetOption<uint8>("Needs.MaxValue", 255);
NeedsLowValue = sConfigMgr->GetOption<uint8>("Needs.LowValue", 16); NeedsLowValue = sConfigMgr->GetOption<uint8>("Needs.LowValue", 30);
NeedsCriticalValue = sConfigMgr->GetOption<uint8>("Needs.CriticalValue", 5); NeedsCriticalValue = sConfigMgr->GetOption<uint8>("Needs.CriticalValue", 15);
NeedsDropRate = sConfigMgr->GetOption<uint32>("Needs.DropRate", 60); NeedsDropRate = sConfigMgr->GetOption<uint32>("Needs.DropRate", 60);
NeedsDropValueHunger = sConfigMgr->GetOption<uint8>("Needs.DropValueHunger", 1); NeedsDropValueHunger = sConfigMgr->GetOption<uint8>("Needs.DropValueHunger", 1);
NeedsDropValueThirst = sConfigMgr->GetOption<uint8>("Needs.DropValueThirst", 1); NeedsDropValueThirst = sConfigMgr->GetOption<uint8>("Needs.DropValueThirst", 1);