公告板
版本库
filestore
活动
搜索
登录
admin
/
snxx_server
派生自
snxx_server
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix:离线挂时间没有正常运作或者维护期间程序未运行,则在上线时不是在离线死亡的情况下,弥补以当前经验倍率错过的离线收益,扣除对应离线时间,不扣除经验...
hch
2018-08-21
88c9b465b47f54ea85c13933d97be277edef7cc2
[~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)))
)