📄 questpricepenalty.cpp
字号:
//--------------------------------------------------------------------------------// QuestPricePenalty.h//--------------------------------------------------------------------------------#include "QuestPricePenalty.h"#include "Creature.h"//--------------------------------------------------------------------------------// affect ( Creature* )//--------------------------------------------------------------------------------void QuestPricePenalty::affect(Creature* pCreature) throw (Error){ __BEGIN_TRY if (pCreature==NULL) return; // pCreature狼 gold皑家 // pCreature狼 rankExp皑家 // pCreature狼 fame皑家 cout << "[Penalty to " << pCreature->getName().c_str() << "] " << "Gold=" << (int)getGold() << ", RankExp=" << (int)getRankExp() << ", Fame=" << (int)getFame() << endl; // 函拳等 蔼甸阑 DB俊 历厘 __END_CATCH}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -