free

<html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>新建网页 1</title> </head> <body> <p><font color="#0000FF">int</font><font color="#00FF00"> npc</font>.<font color="#FF8C00">free</font>(<font color="#0000FF">int</font> 索引, <font color="#0000FF">char</font>* 字符串)</p> <p><strong>函数功能:</strong></p> <p><font color="#006400">判断条件是否满足</font></p> <p><strong>参数说明:</strong></p> <table border="1" width="642" id="table1" height="45"> <tr> <td width="164">索引</td> <td width="142">[整型]</td> <td width="314">被判断的玩家索引</td> </tr> <tr> <td width="164">字符串</td> <td width="142">[字符串]</td> <td width="314">参照NPC脚本中的FREE格式</td> </tr> </table> <p><strong>返回值:</strong></p> <p><strong>使用例子:</strong></p> <p><font color="darkgreen">--战斗后所获得经验倍数,设置几乎和CF一样<br> </font><font color="#0000FF">if </font><font color="#00FF00">npc</font>.<font color="#FF8C00">free</font>(&quot;lv&gt;100&quot;)<font color="#0000FF"> == </font><font color="#FF0000">1</font><font color="#0000FF"> then<br> &nbsp;&nbsp;&nbsp; </font><font color="#FF0000">print</font>(<font color="#C0C0C0">&quot;条件已满足&quot;</font>)<font color="#0000FF"><br> end<br>  </font></p> <p><strong>参数说明:</strong></p> </body> </html>