CORE: * Changes to the way skillchains are handled. - now follow primary, secondary, tertiary chain rules (see wiki for details.) * Also added in the persistence of effect SubPower and Tier for effects that are being read and written to the database. SCRIPT: * Removed skillchain.lua and replaced it with magicburst.lua - This filename describes what it does a bit clearer. - Contains the new method for determining what elements link with which skillchains. SQL: * char_effects.sql added the two new columns to keep SubPower and Tier of an effect saved. * skillchain_damage_modifiers.sql added 4th level of skillchain. (Light + Light, Dark + Dark) - Also added in values for magic burst bonus, these still aren't used yet as the lua script calculates the bonus out. * weapon_skills.sql added three new columns for skillchain progression, primary_sc is the first effect that will try to link, followed by secondary, then tertiary. A side note is the element column was previously used to store these values but lacked a method to store the priority. This column is now free for use to store a weaponskills elemental damage attribute for upcomming elemental damage weaponskills.
32 lines
1 KiB
SQL
32 lines
1 KiB
SQL
|
|
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
|
|
--
|
|
-- Base de données: `dspdb`
|
|
--
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Structure de la table `char_effects`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `char_effects`;
|
|
CREATE TABLE IF NOT EXISTS `char_effects` (
|
|
`charid` int(10) unsigned NOT NULL,
|
|
`effectid` smallint(5) unsigned NOT NULL,
|
|
`icon` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`power` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`tick` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`duration` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`subid` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`subpower` smallint(5) NOT NULL DEFAULT '0',
|
|
`tier` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
KEY `charid` (`charid`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|