From f1594defff6e8458b77867e8cc4b4ffa42cb8a0d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 13 十一月 2018 12:00:44 +0800
Subject: [PATCH] 2683 子 天赋技能和新增双职业各两个技能 / 【后端】天赋技能  --- 优化4508代码

---
 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