cehua_LC
2018-12-11 8a5822a3e2b2d1c536f01e0b6e006bf3d9727226
ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/PlayerExp/KillNPCAddExpByLvLag.txt
New file
@@ -0,0 +1,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)))
)