公告板
版本库
filestore
活动
搜索
登录
admin
/
snxx_server
派生自
snxx_server
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
5645 开服活动配置
cehua-TT
2019-01-02
a36021600832cb61eb1cfa29e83b2330c3abd129
[~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)))
)