公告板
版本库
filestore
活动
搜索
登录
admin
/
snxx_server
派生自
snxx_server
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
2290 【1.2】【1.1】某些副本关闭没有释放副本线路(仙盟boss、守卫人皇副本改为自伸缩)
hxp
2018-11-06
a5e22522e7241d9c1cfa87dfcc4f2d8c2ac57318
[~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)))
)