Page 1 of 1

SVN Revision 2838 - StyleHandler changes

PostPosted: Sun Mar 20, 2011 5:37 am
by DOLBot
Commit from tolakram

Log Messages
- Added: Unique StyleHandler for CL spell styles.
- Changed: MasterLevel styles should now use the MLStyleHandler instead of StyleHandler. Removed support for Stylehandler2 through StyleHandler6. Yell if they are used and present a good reason for having them in the core.
- Bugfix: CL styles will now delve style information

Files Changed:
MODIFY - DOLSharp/trunk/GameServer/GameServer.csproj
MODIFY - DOLSharp/trunk/GameServer/gameobjects/GamePlayer.cs
MODIFY - DOLSharp/trunk/GameServer/gameutils/SkillBase.cs
MODIFY - DOLSharp/trunk/GameServer/packets/Client/168/DetailDisplayHandler.cs
MODIFY - DOLSharp/trunk/GameServer/spells/Masterlevel/Battlemaster.cs
MODIFY - DOLSharp/trunk/GameServer/spells/Masterlevel/MasterLevelBase.cs
ADD - DOLSharp/trunk/GameServer/spells/StyleHandler.cs

View Changes:
http://dolserver.svn.sourceforge.net/do ... v&rev=2838

These ML abilities need a change to the new MLStyleHandler. Your DB might be more complete than Storm's, but here are the modified entries for the Battlemaster styles.
Code: Select all
INSERT INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES ('ML_Battlemaster_Style_ML3', 7231, 7231, 7231, 'Power Leak', '', 'Enemy', 350, 0, 0, 0, 0, 'MLStyleHandler', 0, 0, 0, 0, 0, 0, 0, 0, 404, 0, 0, 0, '', '', '', '', NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES ('ML_Battlemaster_Style_ML1', 7232, 7232, 7232, 'Sapping Strike', '', 'Enemy', 350, 0, 0, 0, 0, 'MLStyleHandler', 0, 0, 0, 0, 0, 0, 0, 0, 403, 0, 0, 0, '', '', '', '', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES ('ML_Battlemaster_Style_ML5', 7285, 7285, 7285, 'Essence Flames', '', 'Enemy', 350, 0, 0, 0, 0, 'MLStyleHandler', 0, 0, 0, 0, 0, 0, 0, 0, 401, 0, 0, 0, '', '', '', '', NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES ('ML_Battlemaster_Style_ML7', 7290, 7290, 7290, 'Essence Sear', '', 'Enemy', 350, 0, 0, 0, 0, 'MLStyleHandler', 0, 0, 0, 0, 0, 0, 0, 0, 405, 0, 0, 0, '', '', '', '', NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES ('ML_Battlemaster_Style_ML9', 7291, 7291, 7291, 'Essence Dampen', '', 'Enemy', 350, 0, 0, 0, 0, 'MLStyleHandler', 0, 0, 0, 0, 0, 0, 0, 0, 406, 0, 0, 0, '', '', '', '', NULL, 9, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);
INSERT INTO `spell` (`Spell_ID`, `SpellID`, `ClientEffect`, `Icon`, `Name`, `Description`, `Target`, `Range`, `Power`, `CastTime`, `Damage`, `DamageType`, `Type`, `Duration`, `Frequency`, `Pulse`, `PulsePower`, `Radius`, `RecastDelay`, `ResurrectHealth`, `ResurrectMana`, `Value`, `Concentration`, `LifeDrainReturn`, `AmnesiaChance`, `Message1`, `Message2`, `Message3`, `Message4`, `InstrumentRequirement`, `SpellGroup`, `EffectGroup`, `SubSpellID`, `MoveCast`, `Uninterruptible`, `IsPrimary`, `IsSecondary`, `AllowBolt`, `SharedTimerGroup`, `PackageID`, `IsFocus`) VALUES ('ML_Battlemaster_Style_ML10', 7292, 7292, 7292, 'Essence Shatter', '', 'Enemy', 350, 0, 0, 0, 0, 'MLStyleHandler', 0, 0, 0, 0, 0, 0, 0, 0, 407, 0, 0, 0, '', '', '', '', NULL, 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL);


Re: SVN Revision 2838

PostPosted: Sun Mar 20, 2011 1:39 pm
by geshi
/cheer for tola :mrgreen:

Re: SVN Revision 2838 - StyleHandler changes

PostPosted: Mon Mar 21, 2011 9:19 pm
by Tolakram
bump,

modified entries for the Battlemaster styles. These are from Storm and may not be complete or correct.