Commit Graph
291 Commits
Author SHA1 Message Date
Machiavelli a4dafbf8ec * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:29:28 +02:00
QAston 2e6db5421e *Fix aura type 280.
--HG--
branch : trunk
2009-06-16 15:29:07 +02:00
megamage 74e4f3f059 *Merge.
--HG--
branch : trunk
2009-06-15 23:38:57 -05:00
megamage 00f4a31b73 [8016] Work at npc click table data use. Author: VladimirMangos
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity
      or to another quest, or from reward quest.
    * Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading.
    * Apply some speedups for creature checks affected by spel click state

*Also add target position of 51852. By Roland

--HG--
branch : trunk
2009-06-15 23:07:43 -05:00
megamage b9610f27dd *Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.

--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
QAston 9777004606 *Fix build.
--HG--
branch : trunk
2009-06-15 15:49:08 +02:00
QAston 7268e291b4 *Fix improved drain soul.
--HG--
branch : trunk
2009-06-15 13:42:43 +02:00
megamage 1cacf0267e *Some update of vehicle.
--HG--
branch : trunk
2009-06-14 21:04:20 -05:00
QAston e81175ec11 *Fix Hungering Cold.
--HG--
branch : trunk
rename : sql/updates/3997_world_spell_proc_event.sql => sql/updates/4000_world_spell_proc_event.sql
2009-06-15 01:10:09 +02:00
megamage 461a799a52 *Add function EnergizeBySpell. Author: nos4r2zod
--HG--
branch : trunk
2009-06-14 10:16:55 -05:00
megamage 6f7998cbaf *Use overheal as parameter instead of gain. Author: DonTomika
--HG--
branch : trunk
2009-06-14 10:14:01 -05:00
megamage a44a68acbb [8009] Pass const string reference to functions where possible. Author: hunuza
Avoids creating an unnecessary copy of strings.

--HG--
branch : trunk
2009-06-14 10:07:34 -05:00
QAston 2617dc1b2f *Fix Obliterate disease bonus.
--HG--
branch : trunk
2009-06-13 17:28:38 +02:00
megamage 8c4861b40f *Fix build in *nix. Note: *nix does not allow you declare an "enum" in one file while define it in another.
--HG--
branch : trunk
2009-06-13 09:55:02 -05:00
megamage ee9c12b480 *Some fix of vehicles. Thanks to Seizerkiller.
--HG--
branch : trunk
2009-06-13 09:18:54 -05:00
QAston 2963b6b76d *Fix Invigoration
--HG--
branch : trunk
2009-06-13 00:52:51 +02:00
QAston bc7a381b62 *Fix shadow bite bonus per dot on target.
--HG--
branch : trunk
2009-06-12 13:01:42 +02:00
QAston bb01747ad1 *Fix Glyph of Icy Veins.
--HG--
branch : trunk
rename : sql/updates/3914_world_spell_proc_event.sql => sql/updates/3927_world_spell_proc_event.sql
2009-06-11 22:42:36 +02:00
megamage 9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage e0fe0929b7 *Fix build in *nix.
--HG--
branch : trunk
2009-06-10 19:04:44 -05:00
QAston da067afe12 *Fix Improved Spell Reflection
*Fix Glyph of Improved Scorch
*Sword And Board
*Fix Glyph of Devastate - original patch by CRAZyBUg

--HG--
branch : trunk
2009-06-10 23:44:30 +02:00
megamage 2625b4b6c6 *Update relocation notification code. Always store pointers instead of guids.
--HG--
branch : trunk
2009-06-09 16:05:14 -05:00
Machiavelli 1afdfd9106 Merge
--HG--
branch : trunk
2009-06-09 21:56:56 +02:00
Machiavelli 41baf8b0d3 * Fix bug in formula for Unit::GetAttackTime. This will hopefully fix over proccing of PPM based spells. It will also affect other spells that calculate damage / efficiency based on weapon speed.
--HG--
branch : trunk
2009-06-09 21:56:04 +02:00
QAston 507b9fb051 *Fix Heart of the Pheonix
*Fix autoshoot rotation with steady shot.
*Make Incanter's Absorption not interrupt other casts.

--HG--
branch : trunk
2009-06-09 19:33:38 +02:00
megamage a328728cb8 *Implement spell aura 177.
--HG--
branch : trunk
2009-06-07 23:32:35 -05:00
krz c7c092f54b Calculate spell critical hit chance at spell cast instead spell hit. Patch by thenecromancer.
--HG--
branch : trunk
2009-06-07 19:10:01 +02:00
megamage c48c20cb98 *Merge. Note: A better way is needed for Sanctuary effect. (interrupt all spells towards self).
--HG--
branch : trunk
2009-06-07 11:36:41 -05:00
QAston efbf911026 *Fix demonic circle - original patch by Astellar
--HG--
branch : trunk
2009-06-06 22:11:33 +02:00
QAston cd98b1eeca *Fix scourge strike damage- original patch by Roland.
*Remove duplicate code for judgement of wisdom
*Correctly count diseases for death strike
*Fix a crash.

--HG--
branch : trunk
2009-06-06 15:58:50 +02:00
QAston 39548d6822 *Update spellmod system
*Implement SPELL_ATTR_EX6_IGNORE_CASTER_AURAS
*Fix some bugs with traps proc flags

--HG--
branch : trunk
2009-06-06 08:27:36 +02:00
megamage c70e6a003e *Use setcharmedby and removecharmedby in enter/exit vehicle functions.
*Fix build.

--HG--
branch : trunk
2009-06-03 13:51:05 -05:00
krz a29847bf84 Fix for some combat log errors.
Only Vanish and Invisibility auras will now prevent from taking damage if target is not visible for caster.

--HG--
branch : trunk
2009-06-02 20:59:13 +02:00
megamage 4e31ec051d [7932] Store in DB only spell part of pet action bar, set other to default state (reaction saved). Author: VladimirMangos
--HG--
branch : trunk
2009-06-01 21:49:42 -05:00
megamage 6e4a8e1ea9 *Merge.
--HG--
branch : trunk
2009-06-01 15:35:21 -05:00
megamage 067cbec40d [7922] Implement param2 for ACTION_T_COMBAT_MOVEMENT for allow control start/stop melee combat state for creature at start/stop movement in combat. Author: VladimirMangos
--HG--
branch : trunk
2009-05-31 16:24:19 -05:00
megamage 5ed5513ca8 Mangos [7911]. Author: tomrus88
Very big patch. May cause bugs.

--HG--
branch : trunk
2009-05-31 15:56:51 -05:00
krz ae5f9ac227 Missing part from thenecromancer's weapon proc patch.
Some changes in ProcDamageAndSpellFor to allow triggered spells to trigger other for victim.

--HG--
branch : trunk
2009-05-31 01:43:36 +02:00
krz 78228818b7 Calculate mechanic resist chance for melee abilities.
--HG--
branch : trunk
2009-05-30 20:40:05 +02:00
megamage 1288761fb7 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state. Author: VladimirMangos
Also related cleanup code in field cases and player Player::SetSheath.

--HG--
branch : trunk
2009-05-28 18:43:57 -05:00
megamage 514fc49c3c [7901] Refactoting pet action bar related code. Fixed some related bugs. Author: VladimirMangos
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
    * Avoid send data by PetSpellInitialize() many times while pet loading

--HG--
branch : trunk
2009-05-27 17:02:39 -05:00
megamage 38f4a60beb *Correct some aura interrupt flags
--HG--
branch : trunk
2009-05-26 16:00:19 -05:00
megamage 8140543de4 *Rewrite some OPvP functions.
*Apply tenacity buff for outnumbered players in wintergrasp.

--HG--
branch : trunk
2009-05-24 17:26:44 -05:00
megamage af1f0fd419 *Rename formalCaster as "source"
--HG--
branch : trunk
2009-05-23 20:50:21 -05:00
QAston 1403419164 *Fix reckonging
*fix Sword and Board
*Fix Vigilance
*Rollback sw:death fix.

--HG--
branch : trunk
2009-05-21 20:02:22 +02:00
megamage 6473e94358 *Update Naxx scripts. Now only Kelthuzad is incompleted
--HG--
branch : trunk
2009-05-20 11:44:38 -05:00
QAston 2b47f0c0f7 *Fix Demonic Empowerment.
*Some code optimisations.
*Set formalCasterGuid for area auras correctly.

--HG--
branch : trunk
2009-05-19 18:33:49 +02:00
QAston 7c6757d7ee *Update proc system.
--HG--
branch : trunk
2009-05-17 18:00:33 +02:00
megamage 047cc95388 *Add some distance check functions. By VladimirMangos.
--HG--
branch : trunk
2009-05-14 16:50:47 -05:00
megamage 40a8e6d3ab *Rename some script functions (no real change).
--HG--
branch : trunk
2009-05-10 14:29:28 -05:00