浏览代码

BETA: Changed title color to retail.

Reported by: helldagger
Reviewed by: !UnAfraid, Zoey76
Nos 11 年之前
父节点
当前提交
3dc02f5832

+ 4 - 4
L2J_DataPack_BETA/dist/game/config/accessLevels.xml

@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../data/xsd/accessLevels.xsd">
 	<!-- Access levels -->
-	<access level="-1" name="Banned" nameColor="FFFFFF" titleColor="FFFFFF" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="false" allowAltg="false" giveDamage="false" takeAggro="false" gainExp="false" />
-	<access level="0" name="User" nameColor="FFFFFF" titleColor="FFFFFF" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" />
-	<access level="1" name="Chat Moderator" nameColor="FFFFFF" titleColor="FFFFFF" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" />
-	<access level="2" name="Test GM" nameColor="FFFFFF" titleColor="FFFFFF" childAccess="1" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" />
+	<access level="-1" name="Banned" nameColor="FFFFFF" titleColor="ECF9A2" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="false" allowAltg="false" giveDamage="false" takeAggro="false" gainExp="false" />
+	<access level="0" name="User" nameColor="FFFFFF" titleColor="ECF9A2" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" />
+	<access level="1" name="Chat Moderator" nameColor="FFFFFF" titleColor="ECF9A2" childAccess="0" isGM="false" allowPeaceAttack="false" allowFixedRes="false" allowTransaction="true" allowAltg="false" giveDamage="true" takeAggro="true" gainExp="true" />
+	<access level="2" name="Test GM" nameColor="FFFFFF" titleColor="ECF9A2" childAccess="1" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" />
 	<access level="3" name="General GM" nameColor="0000C0" titleColor="0000C0" childAccess="2" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" />
 	<access level="4" name="Support GM" nameColor="000C00" titleColor="000C00" childAccess="3" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" />
 	<access level="5" name="Event GM" nameColor="00C000" titleColor="00C000" childAccess="4" isGM="false" allowPeaceAttack="false" allowFixedRes="true" allowTransaction="false" allowAltg="true" giveDamage="false" takeAggro="false" gainExp="false" />

+ 1 - 1
L2J_DataPack_BETA/dist/sql/game/characters.sql

@@ -32,7 +32,7 @@ CREATE TABLE IF NOT EXISTS `characters` (
   `deletetime` bigint(13) unsigned NOT NULL DEFAULT '0',
   `cancraft` TINYINT UNSIGNED DEFAULT NULL,
   `title` VARCHAR(21) DEFAULT NULL,
-  `title_color` MEDIUMINT UNSIGNED NOT NULL DEFAULT '16777079',
+  `title_color` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0xECF9A2,
   `accesslevel` MEDIUMINT DEFAULT 0,
   `online` TINYINT UNSIGNED DEFAULT NULL,
   `onlinetime` INT DEFAULT NULL,

+ 2 - 0
L2J_DataPack_BETA/dist/sql/game/updates/20131215update.sql

@@ -0,0 +1,2 @@
+ALTER TABLE `characters` ALTER `title_color` SET DEFAULT 0xECF9A2;
+UPDATE `characters` SET `title_color` = 0xECF9A2 WHERE `title_color` = 0xFFFFFF;