mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Fix NPC chance on fishing (100 = 100% chance now)
This commit is contained in:
+1
-1
@@ -278,7 +278,7 @@ void Client::GoFish()
|
||||
|
||||
//check for add NPC
|
||||
if (npc_chance > 0 && npc_id) {
|
||||
if (npc_chance < zone->random.Int(0, 99)) {
|
||||
if (zone->random.Roll(npc_chance)) {
|
||||
const NPCType *tmp = database.LoadNPCTypesData(npc_id);
|
||||
if (tmp != nullptr) {
|
||||
auto positionNPC = GetPosition();
|
||||
|
||||
Reference in New Issue
Block a user