mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-11 11:12:25 +00:00
Migrate fishing [skip ci]
This commit is contained in:
parent
ec5be4985e
commit
ed06129f9d
@ -274,7 +274,7 @@ void Client::GoFish()
|
|||||||
if (zone->random.Int(0, 399) <= fishing_skill ) {
|
if (zone->random.Int(0, 399) <= fishing_skill ) {
|
||||||
uint32 npc_id = 0;
|
uint32 npc_id = 0;
|
||||||
uint8 npc_chance = 0;
|
uint8 npc_chance = 0;
|
||||||
food_id = database.GetZoneFishing(m_pp.zone_id, fishing_skill, npc_id, npc_chance);
|
food_id = content_db.GetZoneFishing(m_pp.zone_id, fishing_skill, npc_id, npc_chance);
|
||||||
|
|
||||||
//check for add NPC
|
//check for add NPC
|
||||||
if (npc_chance > 0 && npc_id) {
|
if (npc_chance > 0 && npc_id) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user