AddExps
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>npc</title>
</head>
<body>
<p><font color="#00FF00"> npc</font>.<font color="#FF8C00">AddExps</font>(<font color="#0000FF">int
</font>对方索引, <font color="#0000FF">char </font>* 字符串)</p>
<p><strong>函数功能:</strong></p>
<p><font color="darkgreen">增加经验</font></p>
<p><strong>参数说明:</strong></p>
<table border="1" width="644" id="table1">
<tr>
<td width="152">对方索引</td>
<td width="154">[整型]</td>
<td width="315">触发的玩家索引</td>
</tr>
<tr>
<td width="152">字符串</td>
<td width="154">[字符串]</td>
<td width="315">类似NPC脚本字段的参数</td>
</tr>
</table>
<p><strong>返回值:</strong></p>
<p> </p>
<p><strong>使用例子:</strong></p>
<p><font color="darkgreen">--增加经验10000000,类似NPC脚本中的AddExps:10000000<br>
</font><font color="#00FF00"> npc</font>.<font color="#FF8C00">AddExps</font>(charaindex,
"10000000")<font color="#0000FF"><br>
</font></p>
<p><strong>参数说明:</strong></p>
</body>
</html>