cehua_hzl
2018-08-18 5a33cce09141ee47e31e0f6a5cd7d60c8ba9796c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# ÅÜ»·¾­Ñ鹫ʽ
# ²ÎÊý
# baseExp       »ù´¡¾­Ñé
# baseMoney     »ù´¡½ðÇ®
# aroundCount   µ±Ç°ÅÜ»·»·Êý
# aroundStar    µ±Ç°ÅÜ»·ÐǼ¶£¬1~N
# isQuick       ÊÇ·ñÒ»¼ü£¬0·ñ1ÊÇ
# reLV          Íæ¼ÒµÈ¼¶
# isSpecial     ÊÇ·ñǰÆÚÌØÊâÂß¼­
# 10ÐÇÎªÌØÊâ×ö£¬Îª¿ìËÙÍê³ÉΪ1.5±¶¶ø×ö
 
(
 
    int(baseExp) if isSpecial else (int(baseExp*(1+(aroundStar-5)*0.1)) if aroundStar==10 else int(baseExp*(1+(aroundStar-5)*0.05)))
 
)