Fix rpg game objects quest accept and reward (#1080)

This commit is contained in:
Yunfan Li
2025-03-16 00:50:00 +08:00
committed by GitHub
parent 38912d4a8a
commit 0fabf174c0
5 changed files with 33 additions and 33 deletions

View File

@@ -90,9 +90,9 @@ std::string NewRpgInfo::ToString()
break;
case RPG_NEAR_NPC:
out << "NEAR_NPC";
out << "\nnpcEntry: " << near_npc.npc.GetCounter();
out << "\nnpcOrGoEntry: " << near_npc.npcOrGo.GetCounter();
out << "\nlastNearNpc: " << startT;
out << "\nlastReachNpc: " << near_npc.lastReach;
out << "\nlastReachNpcOrGo: " << near_npc.lastReach;
break;
case RPG_NEAR_RANDOM:
out << "NEAR_RANDOM";