公告板
版本库
filestore
活动
搜索
登录
main
/
Project_SG_Server
三国卡牌服务端仓库
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
80 【常规】背包-服务端(优化背包格子初始化,屏蔽无用背包;支持绑定货币数量展示的背包物品;背包物品优化叠加上限20亿支持;)
hxp
2025-07-11
1c13e005f016439f38f06c2574e4d30b259172c1
[Project_SG_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)))
)