小编觉得所有魔兽世界私服游戏gm都应该明白一个道理,不管在任何情况下我们开服务器都是为了玩家服务。满足他们对于游戏的合理要求是我们成功最基础的要素,其实针对这个问题很多新手魔兽世界gm都没有搞清楚,很多时候他们就想着如何挖坑给玩家跳,这样的服务器对于玩家来说是没有意义的。一些真正受到玩家喜欢的服务器,很多时候会为了节约用户的时间他们会将一些相同功能整合在一个npc身上。
Index: game/Creature.cpp
===================================================================
--- game/Creature.cpp (revision 2508)
+++ game/Creature.cpp (working copy)
@@ -371,7 +371,10 @@
}
}
- if ( result == DIALOG_STATUS_UNAVAILABLE )
+ if (isCanTrainingOf(pPlayer, false))
+ return DIALOG_STATUS_CHAT;
+
+ if ( result == DIALOG_STATUS_UNAVAILABLE )
return result;
if ( defstatus == DIALOG_STATUS_NONE )
@@ -491,12 +494,11 @@
switch (gso->Action)
{
case GOSSIP_OPTION_QUESTGIVER:
- {
- uint32 quest_status = getDialogStatus(pPlayer,DIALOG_STATUS_NONE);
-
- if(quest_status == DIALOG_STATUS_NONE || quest_status == DIALOG_STATUS_UNAVAILABLE)
- cantalking=false;
- }; break;
+ pPlayer->repareQuestMenu(GetGUID());
+ if (pm->GetQuestMenu()->MenuItemCount() == 0)
+ cantalking=false;
+ pm->GetQuestMenu()->ClearMenu();
+ break;
case GOSSIP_OPTION_ARMORER:
cantalking=false; // added in special mode
break;
@@ -525,6 +527,10 @@
if(!isCanTrainingOf(pPlayer,false))
cantalking=false;
break;
+ case GOSSIP_OPTION_UNLEARNTALENTS:
+ if (!isCanTrainingOf(pPlayer,false) || pPlayer->getLevel() < 10)
+ cantalking=false;
+ break;
case GOSSIP_OPTION_TAXIVENDOR:
case GOSSIP_OPTION_GUARD:
case GOSSIP_OPTION_INNKEEPER:
@@ -637,6 +643,10 @@
case GOSSIP_OPTION_TRAINER:
player->GetSession()->SendTrainerList(guid);
break;
+ case GOSSIP_OPTION_UNLEARNTALENTS:
+ player->layerTalkClass->CloseGossip();
+ player->resetTalents();
+ break;
case GOSSIP_OPTION_TAXIVENDOR:
player->GetSession()->SendTaxiStatus(guid);
break;
Index: game/Creature.h
===================================================================
--- game/Creature.h (revision 2508)
+++ game/Creature.h (working copy)
@@ -57,7 +57,8 @@
GOSSIP_OPTION_BATTLEFIELD = 12, //UNIT_NPC_FLAG_BATTLEFIELDPERSON = 2048,
GOSSIP_OPTION_AUCTIONEER = 13, //UNIT_NPC_FLAG_AUCTIONEER = 4096,
GOSSIP_OPTION_STABLEPET = 14, //UNIT_NPC_FLAG_STABLE = 8192,
- GOSSIP_OPTION_ARMORER = 15 //UNIT_NPC_FLAG_ARMORER = 16384,
+ GOSSIP_OPTION_ARMORER = 15, //UNIT_NPC_FLAG_ARMORER = 16384,
+ GOSSIP_OPTION_UNLEARNTALENTS = 16 //UNIT_NPC_FLAG_TRAINER = 16,
};
enum Gossip_Guard
Index: game/Player.cpp
===================================================================
--- game/Player.cpp (revision 2508)
+++ game/Player.cpp (working copy)
@@ -10363,3 +10363,41 @@
data << pr1 << pr2;
GetSession()->SendPacket (&data);
}
+
其实新手魔兽世界私服gm缺少的正是这样的一种精神,将玩家服务器好之后他们在游戏力玩爽了才会给我们充值更多的人民币,作为gm才能赚取到更多的钱。以上就是小编给大家分享的魔兽私服模拟器技术之职业训练师选项加入洗点攻略全部内容。
|
|