公告板
版本库
filestore
活动
搜索
登录
admin
/
snxx_server
派生自
snxx_server
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
6329 【测试】【1.6】老服活动
cehua_lyf
2019-03-06
3c8ee0a8a524a6251d7d5aae2372e76fd8a99b9c
[~admin/snxx_server.git]
/
ZoneServerGroup
/
map1_8G
/
MapServer
/
MapServerData
/
MapServerConfig
/
PlayerExp
/
KillNPCAddExpByLvLag.txt
1
2
3
4
5
6
# ɱ¹Ö¾Ñé
# basic_Exp NPC»ù´¡¾Ñé
# lvLag Íæ¼Ò¼õNPCµÄµÈ¼¶²î£¬¿ÉΪ¸ºÊý
(
int((0.5 if lvLag>150 else 1)*(0.01 if lvLag>200 else 1)*basic_Exp*(1-max(0,min((lvLag-20),30)/80.0)))
)