- A+
所属分类:源码教程
打开npc_poolitemshop.c
搜索 static BOOL NPC_PoolItemShop_PoolItem( int meindex, int talkerindex, int num)
然后向下看,找到CHAR_DelGold( talkerindex, cost );
在上面加入以下代码:
1 2 3 4 5 6 7 | if( ITEM_getInt( itemindex, ITEM_VANISHATDROP ) == 1 ) { char buf[256]; sprintf( buf, "道具( %s )无法寄存!ITEM_getChar( itemindex, ITEM_NAME )); CHAR_talkToCli( talkerindex, -1, buf, CHAR_COLORRED ); return; } |
- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-