cehua_hzl
2018-10-24 deb730836c4d89237a922f0fa81061e4b8fc55ae
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)))
)