From 8a5822a3e2b2d1c536f01e0b6e006bf3d9727226 Mon Sep 17 00:00:00 2001
From: cehua_LC <tingame100@163.com>
Date: 星期二, 11 十二月 2018 19:45:06 +0800
Subject: [PATCH] Merge branch '1.3' of http://192.168.0.87:10010/r/snxx_server into 1.3
---
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