cehua_hzl
2019-01-18 21d2fbe634a1f59df779ba4e6232014d50473115
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#»÷É±Íæ¼ÒµÃµ½µÄÍþÍû¹«Ê½
#attackLV ¹¥»÷Õߵȼ¶
#attackPrestige ¹¥»÷ÕßÍþÍû
#attackNotoriety ¹¥»÷Õß¶ñÃûÖµ(»ù´¡ÖµÎª1,³ÌÐòдËÀ)
#attackPkValue ¹¥»÷ÕßpkÖµ
#attackFightPower ¹¥»÷ÕßÕ½¶·Á¦
 
#defendLV ·ÀÊØÕߵȼ¶
#defendPrestige ·ÀÊØÕßÍþÍû
#defendNotoriety ·ÀÊØÕß¶ñÃûÖµ(»ù´¡ÖµÎª2,³ÌÐòдËÀ)
#defendPkValue ·ÀÊØÕßpkÖµ
#defendFightPower ·ÀÊØÕßÕ½¶·Á¦
 
(
    int(40*max(0,1-max((attackLV-defendLV)/80.0,0))*min(1,pow((attackPrestige+1.0)/(defendPrestige+1.0),-2)))+max(defendPkValue-attackPkValue,1)*10
)