cehua_hzl
2018-08-29 52a36e8c5b0b1fab2020997790cdc35fbd49ff05
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)))
)