chuyiwen_gmsv/npc/npc_msg.c

47 lines
998 B
C
Raw Normal View History

2016-12-24 08:45:52 +08:00
#include "version.h"
#define _NPC_MSG_C_
#include "char.h"
#include "char_base.h"
#include "npcutil.h"
/*
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ئ<EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD>ַ<EFBFBD><EFBFBD>ʣ<EFBFBD>
<EFBFBD><EFBFBD>Իؤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD>έ<EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>£<EFBFBD>
init , looked <EFBFBD><EFBFBD><EFBFBD>ı<EFBFBD> ɱ
*/
BOOL NPC_MsgInit( int meindex )
{
//CHAR_setInt( meindex , CHAR_HP , 0 );
//CHAR_setInt( meindex , CHAR_MP , 0 );
//CHAR_setInt( meindex , CHAR_MAXMP , 0 );
//CHAR_setInt( meindex , CHAR_STR , 0 );
//CHAR_setInt( meindex , CHAR_TOUGH, 0 );
//CHAR_setInt( meindex , CHAR_LV , 0 );
CHAR_setInt( meindex , CHAR_WHICHTYPE , CHAR_TYPETOWNPEOPLE );
//CHAR_setFlg( meindex , CHAR_ISOVERED , 0 );
//CHAR_setFlg( meindex , CHAR_ISATTACKED , 0 ); /* <20><><EFBFBD><EFBFBD>ľئ<C4BE>з<EFBFBD><D0B7><EFBFBD> */
return TRUE;
}
/*
* έ<EFBFBD><EFBFBD>ľ<EFBFBD>ף۷<EFBFBD>ئ<EFBFBD>ʷ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/
void NPC_MsgLooked( int meindex , int lookedindex )
{
char arg[NPC_UTIL_GETARGSTR_BUFSIZE];
NPC_Util_GetArgStr( meindex, arg, sizeof( arg));
CHAR_talkToCli( lookedindex , -1 , arg , CHAR_COLORWHITE );
}