Commit Graph

901 Commits

Author SHA1 Message Date
megamage
c26d5560ea [8253] Some spell proc fixes. Author: Den
--HG--
branch : trunk
2009-07-31 10:36:29 +08:00
megamage
2bddcc4303 [8251] Store in some DB tables only data for first rank. Author: VladimirMangos
* Allow add to DB data only for first rank in table `mangos_spell_bonus_data` and `mangos_spell_proc_event`.
    * Copy data for other ranks for speedup use at loading for this data and data from `spell_proc_item_enchant`.

--HG--
branch : trunk
2009-07-31 10:21:57 +08:00
Nevan
659a555bdc *Fix Death Knight Bloodworms (Heal every hit)
--HG--
branch : trunk
2009-07-30 20:42:40 +02:00
QAston
2a402ff6c7 *Merge required after backout.
--HG--
branch : trunk
2009-07-30 11:52:40 +02:00
QAston
a07a3417e3 *Merge required after backout.
--HG--
branch : trunk
2009-07-30 11:51:48 +02:00
QAston
9c52a12e08 Backed out changeset 6ba74f274cb9 - mangos [8249]
--HG--
branch : trunk
2009-07-30 11:44:23 +02:00
QAston
7fa41e654d Backed out changeset 774aad302c74 - mangos [8247]
--HG--
branch : trunk
2009-07-30 11:42:43 +02:00
megamage
af2d5e3fd4 [8250] Cleanup code and data for spell_threat Author: nos4r2zod
* Load table data to std::map instead SQLStorage and add check loaded spell existance.
    * Drop from table not existed spells.

--HG--
branch : trunk
2009-07-30 11:37:08 +08:00
megamage
7121d98480 [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit.
* Added a new SQL table, spell_proc_item_enchant, for "custom" ppmRates on Item Enchants that do not use auras.
      With table data this must fix ppm for effect from 8033 and ranks enchanting, and item 6947/10918 and ranks enchanting.

    * Implemented SPELLMOD_FREQUENCY_OF_SUCCESS (26).
      That must fix work talent 14113, spell 32645 with ranks, glyph 41094 and item set effect 64917 in frequency part.

    Thanks to MaS0n as author alternative patch that partly used in this patch.
    Thanks to Thenecromancer as author alternative patch that ideas inspire MaS0n's patch writing and then this patch also.

Author: nos4r2zod

*Note: has been implemented before. Only use part of the patch.

--HG--
branch : trunk
2009-07-30 11:33:28 +08:00
megamage
6116231223 [8247] Some data for spell_bonus_data for DK spells. Author: nos4r2zod
I found TC seems to have these data. In the future *.tbd is used for review. Please do not apply them.

--HG--
branch : trunk
2009-07-30 11:15:04 +08:00
megamage
a94cccbf4d [8237] Apply attack power multiplier to creature bonus attackpower. Author: Lynx3d
Note: mindmg/maxdmg in creature_template expected including attackpower part in its.
    attackpower field only show part of attackpower not affected by AP multiplier.

    Thanks also to Seizer for take part in reseach and patch review.

--HG--
branch : trunk
2009-07-30 11:02:07 +08:00
Chaz Brown
ba31fc3714 Fix errors in some sqls, including 4610_world_scripts.sql
--HG--
branch : trunk
2009-07-27 12:06:59 -04:00
QAston
e8f8b66636 *Implement immunity removal part for Shattering Throw ability - by thenecromancer.
--HG--
branch : trunk
2009-07-27 17:32:56 +02:00
QAston
e3e0fd522e *Fix a crash with MAP_BASED_RAND_GEN - thanks to Azuritus for research.
--HG--
branch : trunk
rename : sql/updates/4602_world_spell_bonus_data.txt => sql/updates/4602_world_spell_bonus_data.sql
rename : sql/updates/4603_world_tmp.txt => sql/updates/4603_world_tmp.sql
rename : sql/updates/4604_world.sql => sql/updates/4610_world.sql
2009-07-27 16:06:39 +02:00
Kudlaty
0aa4879ecc Script for quest 12570. Author: manuel
--HG--
branch : trunk
2009-07-27 13:21:35 +02:00
Chaz Brown
d418e351c1 Rename two files from .txt to .sql
--HG--
branch : trunk
rename : sql/updates/4602_world_spell_bonus_data.txt => sql/updates/4602_world_spell_bonus_data.sql
rename : sql/updates/4603_world_tmp.txt => sql/updates/4603_world_tmp.sql
2009-07-27 06:50:58 -04:00
Chaz Brown
234e1e5668 Fix CRLF in two files
--HG--
branch : trunk
2009-07-27 06:49:25 -04:00
QAston
1630842f03 *Spell_bonus_data for Shattering throw and Hand of Reckogning
*Do not check SPELL_ATTR_EX_CANT_TARGET_SELF for triggered spells

--HG--
branch : trunk
2009-07-27 11:07:15 +02:00
Drahy
3a9db7babb * Fixed elevators in game
* Fixed ugly typo in previous commit

--HG--
branch : trunk
2009-07-27 08:29:46 +02:00
Drahy
45a1439f40 * Added ap bonus for Druid - Swipe (Bear)
* Correct comment for Pet Skill - Bear (Swipe)

--HG--
branch : trunk
2009-07-27 08:19:08 +02:00
Drahy
67250953ba * Continuing cleaning sql
* Used trinity sql coding style
* Now complete

--HG--
branch : trunk
2009-07-27 08:06:13 +02:00
Drahy
afd5658de5 * Merge
--HG--
branch : trunk
2009-07-27 07:40:52 +02:00
Drahy
6a8484ce25 * Cleanup sql, delete not needed and renamed some
--HG--
branch : trunk
2009-07-27 07:39:28 +02:00
QAston
190863e5a5 *Update procflags for Imp.Shadowform.
*Use item speed value instead of attack speed value for enchant PPM - by MaS0n.
*Correctly apply cooldown to Improved leader of the pack mana regen.
*Do not refresh duration when stack from aura is dropped - by Apoc

--HG--
branch : trunk
2009-07-26 19:58:01 +02:00
Anubisss
3409ddf1a8 *Correct damage for Shield of Righteousness.
--HG--
branch : trunk
2009-07-26 03:25:18 +02:00
Kudlaty
3c04635694 Fix build on windows.
Fix command ticket viewname - thx Deadlyskunk for point this
fix setlink command group, add missing commands to db - patch by XTElite1

--HG--
branch : trunk
2009-07-26 02:00:35 +02:00
Kudlaty
93e7fe61ca Add missing file from rev 4594
--HG--
branch : trunk
2009-07-25 22:18:34 +02:00
Anubisss
370b38312a *Drop command reload spell_affect from DB. Its already dropped from core.
--HG--
branch : trunk
2009-07-25 02:02:02 +02:00
Kudlaty
261e75c9cf Merge [SD2]
r1100 Added basic AI definitions for boss sartharion (with adds, using a common AI for certain events) and intro calling drakes
r1101 Correcting a few details and simplify call drakes for boss sartharion
      Add boss and mini-boss' abilities and add more common events to common drakes AI
r1102 Drop support for Windows VC71 (2003) (ref Mangos rev 7865)
r1103 Added support for quest 6481 (summon npc 11920)
r1104 Restore compile after change in OnCreatureCreate(). Require Mangos 7871+ - skip (we don't merge 7871?)
r1105 Remove code related to taunt immune. creature_template.flags_extra(CREATURE_FLAG_EXTRA_NOT_TAUNTABLE) must be used instead where creature should always be immune.

--HG--
branch : trunk
2009-07-24 22:42:17 +02:00
Kudlaty
779a0c1b0d Fix typo. Thx to X-Savior for poiting
--HG--
branch : trunk
2009-07-24 11:50:28 +02:00
Kudlaty
224e38e136 Add missing sql updates
--HG--
branch : trunk
2009-07-24 06:17:12 +02:00
Anubisss
8b25691541 *Fix a typo.
--HG--
branch : trunk
2009-07-23 21:16:37 +02:00
Kudlaty
a7832a632b Script for quest 11878. Author: Drethek
Missing update of *full.sql

--HG--
branch : trunk
2009-07-23 20:04:58 +02:00
Kudlaty
81e6f06680 Add script for quest 12861. Author: Drethek.
--HG--
branch : trunk
2009-07-23 19:30:25 +02:00
QAston
1eef9f86f6 *Script for Plug the Sinkholes - by Drethek.
--HG--
branch : trunk
2009-07-23 15:13:17 +02:00
megamage
f481e7b14d [8191] Drop code related to use long time empty spell_affect table. Author: XTZGZoReX
After switch to 3.x.x all data get explcitly from ClassMask fields in spell.dbc
    and no need in custom values.

--HG--
branch : trunk
2009-07-23 09:30:05 +08:00
QAston
a522e3bff4 *Add spell_linked_spell entry for Lichborne.
*Add defines for SHADOW_DANCE and UNDEAD shapeshifts to prevent error display - cherrypicked from Astellar's shape patches.

--HG--
branch : trunk
2009-07-23 01:01:12 +02:00
QAston
9d501da1b8 *Fix Piercing Shots - by freeganja.
*Clear movement generators for unit when removing from world.

--HG--
branch : trunk
2009-07-22 22:52:05 +02:00
QAston
2ff21d4cef *Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 (SPELL_AURA_INITIALIZE_IMAGES)
*Handle CMSG_GET_MIRRORIMAGE_DATA opcode.
*Save Minions follow angle to allow themmoving in a formation
*Improvements in SpellAI: correctly evade and select attack target for creatures without threat list
*Use SpellAI instead of PetAI for not controllable guardians
*Only guardians with SUMMON_TYPE_PET are controllable now
*Add script and template data for Mirror Image.
*Thanks to Drahy for help.

--HG--
branch : trunk
2009-07-22 17:10:30 +02:00
Anubisss
f39e55c1a3 *Add some entries for spell_elixir.
*This fix issues with stacking between Battle and Guarding elixirs.

--HG--
branch : trunk
2009-07-21 20:48:45 +02:00
megamage
ffcbd11b2c [8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

    Signed-off-by: VladimirMangos <vladimir@getmangos.com>

    Also implement KillCreditN field check at loading.

--HG--
branch : trunk
2009-07-20 12:30:37 +08:00
Anubisss
e95dd86616 *Fix a typo.
--HG--
branch : trunk
2009-07-20 02:42:39 +02:00
Rat
ac91127d78 Backed out changeset: ad3793582d28
--HG--
branch : trunk
2009-07-19 23:19:52 +02:00
Rat
e1c44483f5 *added script for Underbog Colossus (SSC)
--HG--
branch : trunk
2009-07-19 23:08:38 +02:00
QAston
b16ffa91b1 *Correct diminishing returns for charge and linked spell for Stoneform.
--HG--
branch : trunk
2009-07-19 14:56:18 +02:00
QAston
94992adb64 *Fix DK presences and their improved versions - original patch by thenecromancer
*Port player to homebind if instance cannot be created in WorldSession::HandleMoveWorldportAckOpcode.

--HG--
branch : trunk
2009-07-19 14:02:52 +02:00
QAston
53c62acead *Merge.
--HG--
branch : trunk
2009-07-18 23:41:42 +02:00
QAston
5f3f622226 *Move coefficients from Spell::SpellDamageSchoolDmg to spell_bonus_data.
--HG--
branch : trunk
2009-07-18 23:41:23 +02:00
QAston
bc4d862263 *Add new column to spell_bonus_data table to store ap bonus for periodic auras.
*Use -1 to mark entries, for which default spell bonus calculation should be used.
*Move periodic auras ap bonuses from core to db.
*Add coefficient for Black Arrow.

--HG--
branch : trunk
2009-07-18 22:18:47 +02:00
Rat
7166e8d26f *implemented basic Chat Channel saving
*includes owner, banlist,announce,password, saving
*todo:
 -make it cacheble
 -add a filter to not save some addon spec channels
 -find someone who does these for me :)

--HG--
branch : trunk
2009-07-18 22:15:56 +02:00