公告板
版本库
filestore
活动
搜索
登录
admin
/
snxx_server
派生自
snxx_server
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
5635 1.4版本和后续版本都开启首充双倍
cehua_ZWJ
2019-01-05
d241a47011ae0c14d182ff565e273abfeb37ec85
[~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)))
)