From 65d21adcb8f585c123fca5946270d36ff10280e4 Mon Sep 17 00:00:00 2001
From: cehua-HWJ35 <hwj35@163.com>
Date: 星期四, 07 三月 2019 19:59:57 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxx_server

---
 ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/PlayerFlower/PlayerFlowerDesignationAttr.txt |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/PlayerFlower/PlayerFlowerDesignationAttr.txt b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/PlayerFlower/PlayerFlowerDesignationAttr.txt
new file mode 100644
index 0000000..fce847b
--- /dev/null
+++ b/ZoneServerGroup/map1_8G/MapServer/MapServerData/MapServerConfig/PlayerFlower/PlayerFlowerDesignationAttr.txt
@@ -0,0 +1,19 @@
+# 鲜花称号属性特殊计算公式
+# {属性名:特殊计算公式,...}
+# 属性名:
+#	BothATK		双攻
+#	Def		防御
+#	MaxHP		最大生命值
+#
+# 参数:
+#	flowerCnt	收到鲜花数
+#	color		鲜花称号等级,与\PySysDB\tagDienstgrad.txt表中的color一致
+#	baseValue	称号表基础值,\PySysDB\tagDienstgrad.txt表中对应属性的值
+
+( 
+{
+	'BothATK'	:'int((min(pow(flowerCnt,0.7),400)*color+baseValue)*0.5)',
+	'Def'		:'int((min(pow(flowerCnt,0.7),400)*color+baseValue)*0.3)',
+	'MaxHP'		:'int((min(pow(flowerCnt,0.7),400)*color+baseValue)*1.5)',
+}
+)
\ No newline at end of file

--
Gitblit v1.8.0