-Reworked Raid Points system (ranking system deleted in Valiance update).

-Raidpoints moved to characters.sql
-Fixed calls to unexistent skill levels.

Contributed by NviX.
This commit is contained in:
MobiusDev
2015-07-01 18:50:01 +00:00
parent 167efe6abf
commit 190a0e1c95
22 changed files with 171 additions and 502 deletions

View File

@@ -251,20 +251,6 @@ BloodOathPoints = 200
# Reputation score gained for 100 Knight's Epaulettes.
KnightsEpaulettePoints = 20
# Reputation score gained per clan member listed as top raid killers.
1stRaidRankingPoints = 1250
2ndRaidRankingPoints = 900
3rdRaidRankingPoints = 700
4thRaidRankingPoints = 600
5thRaidRankingPoints = 450
6thRaidRankingPoints = 350
7thRaidRankingPoints = 300
8thRaidRankingPoints = 200
9thRaidRankingPoints = 150
10thRaidRankingPoints = 100
UpTo50thRaidRankingPoints = 25
UpTo100thRaidRankingPoints = 12
# Reputation score gained/reduced per kill during a clan war or siege war.
ReputationScorePerKill = 1

View File

@@ -1434,7 +1434,7 @@
<skill id="4412" level="11" /> <!-- Average P. Def. -->
<skill id="4413" level="11" /> <!-- Average M. Def. -->
<skill id="4414" level="2" /> <!-- Standard Type -->
<skill id="4296" level="4" /> <!-- Spirits -->
<skill id="4296" level="1" /> <!-- Spirits -->
</skill_list>
<ex_crt_effect>false</ex_crt_effect>
<ai aggroRange="500" clanHelpRange="300" isAggressive="false" />
@@ -1485,7 +1485,7 @@
<status undying="false" canBeSown="true" />
<skill_list>
<skill id="4410" level="11" /> <!-- Average P. Atk. -->
<skill id="4293" level="4" /> <!-- Animals -->
<skill id="4293" level="1" /> <!-- Animals -->
</skill_list>
<ex_crt_effect>false</ex_crt_effect>
<ai aggroRange="500" clanHelpRange="300" isAggressive="false" />
@@ -1536,7 +1536,7 @@
<status undying="false" canBeSown="true" />
<skill_list>
<skill id="4410" level="11" /> <!-- Average P. Atk. -->
<skill id="4296" level="4" /> <!-- Spirits -->
<skill id="4296" level="1" /> <!-- Spirits -->
</skill_list>
<ex_crt_effect>false</ex_crt_effect>
<ai aggroRange="500" clanHelpRange="300" isAggressive="false" />

View File

@@ -599,8 +599,9 @@
<set name="coolTime" val="1000" />
<set name="reuseDelay" val="900000" />
</skill>
<skill id="23453" levels="1" name="(Superior Aggression)">
<skill id="23453" levels="3" name="(Superior Aggression)">
<!-- AUTO GENERATED SKILL -->
<!-- Only lvl 3 in client -->
<!-- Provokes the target and forcefully changes their target to make them attack you. -->
<set name="icon" val="icon.skill10026" />
<set name="operateType" val="ACTIVE_CONTINUOUS" />

View File

@@ -1,6 +0,0 @@
CREATE TABLE IF NOT EXISTS `character_raid_points` (
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
`boss_id` INT UNSIGNED NOT NULL DEFAULT 0,
`points` INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`,`boss_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -23,6 +23,7 @@ CREATE TABLE IF NOT EXISTS `characters` (
`karma` INT UNSIGNED DEFAULT NULL,
`reputation` INT UNSIGNED DEFAULT 0,
`fame` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
`raidpoints` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
`pvpkills` SMALLINT UNSIGNED DEFAULT NULL,
`pkkills` SMALLINT UNSIGNED DEFAULT NULL,
`clanid` INT UNSIGNED DEFAULT NULL,