Commit Graph

90 Commits

Author SHA1 Message Date
Shauren
458c7c642f Core/Spells: Fixed Glyph of Pain Suppression
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-14 20:24:39 +01:00
Shauren
8d59953f93 Scripts/Icecrown Citadel
* Call EnterEvadeMode before teleporting players to entrance - prevents players being stuck in combat
* Fixed Gaseous Blight stacking damage
* Properly initialize phase for Professor Putricide when entering combat
* Fixed Blood Nova and Boiling Blood abilities of Deathbringer Saurfang
2011-01-12 22:50:51 +01:00
Manuel
014714fb17 Core: Killing magic numbers. 2011-01-09 20:44:33 -03:00
Manuel
5cf76896eb Core/Battleground: Implemented blizzlike script for Isle of Conquest, written by gyullo and me, based on Socolin's and Josh's patch -BIG THANKS TO THEM-
Anyway the map is not yet playable, there are issues not related with the script.

I also want to thanks to QAston, linencloth, Shauren and Machiavelli to be so patient with my questions.
2011-01-09 00:00:08 -03:00
McBitter
63333dc6ff Core/Spells: Fixed targeting for spell 49305 (missing unit target)
Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-08 17:40:10 +01:00
Machiavelli
957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
52620db629 Core/Auras: Fixed enchant proc stack rules
Closes issue #5222.

--HG--
branch : trunk
2010-12-27 22:27:11 +01:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
0948fc5bbe Core: Converted (hopefully) all remaining singletons to use ACE_Singleton class
--HG--
branch : trunk
2010-12-22 20:52:47 +01:00
leak
6115b0bd5f Removing ProgressBars as they are performing badly on startup.
[**************************************************] 100%
R.I.P

--HG--
branch : trunk
2010-12-22 00:12:03 +01:00
Shauren
5809c1fa3b Core/Auras: Fixed auras incorrectly stacking with different item casters introduced in r19f21916a940
Closes issue #5218.

--HG--
branch : trunk
2010-12-21 11:40:20 +01:00
leak
fd694cd232 Streamlining loading functions for server startup
- Added a couple of timer outputs
- Improved code consistency between loading functions
- Progess bars should look and behave similar on all OS now (sLog.outString() is not needed anymore to replace the progress bar in log files)

--HG--
branch : trunk
2010-12-19 17:06:33 +01:00
linencloth
59da698189 Core: Rename spell attributes, use more general names
--HG--
branch : trunk
2010-12-19 05:15:47 +01:00
Shauren
21f6248726 Core/Spells: Fixed diminishing returns for positive/event spells, patch by DrTenma
--HG--
branch : trunk
2010-12-17 18:21:37 +01:00
azazel
d2d62eab50 Cleanup: implemented helper methods for manipulating percentage calculation and used it where appropriate (plus fixed some other warnings).
NOTE: Initially I just wanted to fix some warnings, but noticed that there is no common method for percentage calculation and various formulas are used many time in the code making it difficult to read and understand what the code actually does. So, I introduced several template methods for calculating percent values and adding those values to the original base. I replaced all the raw calculations throughout the code where found, but I could have missed something or could have made a mistake. So, please report any strange behaviour after this commit.
If you ask me why I did it: for the sake of consistency and exact understanding what code means. If you see CalculatePct method, you clearly understand, that it find the value of x percent of y. And you can easily express, for example, spell behviour "reduces smth by x%" by the means of a method instead of recalling school maths.

--HG--
branch : trunk
2010-12-11 20:37:38 +06:00
Shauren
703835ee94 Core/Quests: Fixed Unholy Infusion (24749), Blood Infusion (24756) and added partial support for Frost Infusion (24757)
--HG--
branch : trunk
2010-12-06 22:54:19 +01:00
QAston
7db1b39224 Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem.
--HG--
branch : trunk
2010-12-05 20:43:09 +01:00
silinoron
71c2698faf Core/Auras: Really add forgotten changes (as in do it properly).
--HG--
branch : trunk
2010-12-05 08:34:01 -08:00
silinoron
141a9017d4 Core/Auras: Add forgotten changes from r91eb5c3bd59e63d3025fd7ec9ca4f1f05924a517.
Thanks tassader1000 for telling me it was important.

--HG--
branch : trunk
2010-12-04 14:02:55 -08:00
silinoron
3201338eac Core/Auras: Allow spell 64381 to stack four times.
Patch by Lopin.

--HG--
branch : trunk
2010-12-04 10:59:45 -08:00
Shauren
e0c992a8ba Scripts/Icecrown Citadel: Added script for Blood Queen Lana'Thel
Scripts/Icecrown Citadel: Fixed Invocation of Blood announcement emote for Blood Prince Council
Scripts/Icecrown Citadel: Fixed intro for Lady Deathwhisper
Scripts/Icecrown Citadel: Fixed Bone Spike for Lord Marrowgar

--HG--
branch : trunk
2010-12-03 17:47:33 +01:00
click
0e5bb0d172 Core/Spells: Fix druids "Natural Shapeshifter" DurationIndex (fix by PrinceCreed)
Closes issue 2142.

--HG--
branch : trunk
2010-11-14 18:51:14 +01:00
Shauren
9ba52c474b Scripts/Icecrown Citadel: Fixed Festergut's Pungent Blight getting interrupted
Scripts/Icecrown Citadel: Changed handling of Deathbringer Saurfang's Blood Power aura (its now always active, starts with 0 value)
Scripts/Icecrown Citadel: Fixed Deathbringer Saurfang's achievement (I've Made a Mess)
Scripts/Icecrown Citadel: Fixed Mark of the Fallen Champion aura removal (Deathbringer Saurfang)

--HG--
branch : trunk
2010-11-14 00:21:57 +01:00
click
5d42e2293c Core/Spells: Fix Culling the Herd (and a personal thanks to Xanadu for being patient on explaining the procsystem properly)
Closes issue 4533

--HG--
branch : trunk
2010-11-13 04:10:48 +01:00
click
aad6964dd0 Core/Spells: Show some SPELL_AURA_MOD_DODGE_PERCENT auras as debufs as expected (patch by zergtmn)
--HG--
branch : trunk
2010-11-08 17:36:25 +01:00
Shauren
d03aeab9ad Scripts/Icecrown Citadel: Added Blood Prince Council script
Scripts/Icecrown Citadel: Festergut will not cast Vile Gas on melee targets if there are at least 3 (25 man: 8) ranged targets
Scripts/Icecrown Citadel: Festergut and Rotface gates will close with delay (when Putricide reaches the balcony)
Scripts/Icecrown Citadel: Replaced ASSERT(instance) with code disabling the AI if not inside instance
Core/Spells: Fixed TARGET_DEST_TARGET_RANDOM usage
Core/Scripts: Extended DamageDealt in AI to accept damage type as 3rd parameter
Scripts/Quests: Fixed quest "Unholy Infusion" (24749)

--HG--
branch : trunk
2010-10-24 21:27:02 +02:00
click
cfa052d429 Core/Spells: Explicitly set target-effects to hot ONLY owner/caster and his/her pet for Hunter T10 Set bonuses and the Warlock T10 4P bonuses
Thanks to tenma for the mini-discussion on the subject.

--HG--
branch : trunk
2010-10-22 01:33:47 +02:00
click
03c6c34a4b Core/Spells: Fix a small proc-issue with Warlpcl T10 4P bonuses (Devious Minds)
Same functionality as for 70728 (Exploit Weakness) - thanks to Svetilo for the heads up

--HG--
branch : trunk
2010-10-21 21:18:19 +02:00
click
e2dbc2e53a Core/Spells: Fix a small proc-issue with hunter T10 set bonuses (Exploit Weakness)
(original fix by Dr.Tenma)
Comment issue #4362
From DBCs TargetA[0] is already set as TARGET_UNIT_PARTY_CASTER, which maps to TARGET_UNIT_CASTER,
so it should be enough to explicitly target the casters pet in this case, ie. just doing
spellInfo->EffectImplicitTargetB[0] = TARGET_UNIT_PET; - feedback on this required.

--HG--
branch : trunk
2010-10-21 21:05:29 +02:00
Shauren
8a17d95647 Scripts/Icecrown Citadel: Added Professor Putricide script
Scripts/Icecrown Citadel: Fixed Professor Putricide gate opening when both Rotface and Festergut are dead
Scripts/Icecrown Citadel: Added script updating entries of NPCs at Light's Hammer depending on faction
Scripts/Icecrown Citadel: Rotface should not pick main tank as target for Slime Spray (removed debugging code)
Core/Spells/Conditions : Spell script target condition now accepts ConditionValue3 as affecting effect mask (only search targets with matching mask)

--HG--
branch : trunk
extra : rebase_source : 943e3bac5d9063974d7f7132f144e91946f825d4
2010-10-16 16:34:21 +02:00
Shauren
e0b876d78b Fixed CRLF in SpellMgr.cpp
--HG--
branch : trunk
2010-10-10 11:09:16 +02:00
click
f358de5437 Core/Spells: Fix Hunters Mark and allow additional damage talents to provide benefits - patch by Dr.Tenma
Fixes issue 2674.
Fixes issue 2792.

--HG--
branch : trunk
2010-10-10 01:22:47 +02:00
Shauren
9a47bc96a1 Scripts/Icecrown Citadel: Added Rotface script
Scripts/Icecrown Citadel: Corrected death speech for Stinky and Festergut
Scripts/Icecrown Citadel: Fixed Boned! achievement conditions

--HG--
branch : trunk
2010-10-09 16:50:03 +02:00
QAston
e5e53498ce Core/Spells:
- Add more descriptive enumerator of procflags - now clearly pointing out that proc flags are dependant to the spell dmg class of the spells causing procs.
 - Define and implement PROC_FLAG_DONE_MAINHAND_ATTACK.

--HG--
branch : trunk
2010-10-08 19:17:49 +02:00
click
f0c4241ea4 Remove the accidental additions of CRLF-crap from the header updates
--HG--
branch : trunk
2010-10-07 15:35:36 +02:00
click
8ea4b32fab Update copyright headers (following the same standard in all files = good)
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
Shauren
d2117fd4ee Core/Spells: Fixed Shadowmourne proc
Scripts/Quests: Fixed quest 24547 (A Feast of Souls)

Closes issue #2331.

--HG--
branch : trunk
2010-09-28 17:35:59 +02:00
Shocker
78803c9f09 Magic numbers cleanup:
- Replace many magic numbers with constants
- Use enum for vehicle flags/seat flags
- Correct structure for ItemRandomSuffixEntry

--HG--
branch : trunk
2010-09-28 08:21:51 +03:00
Shocker
192e972a59 Core/Spells: Remove outdated code for Vampiric Embrace
--HG--
branch : trunk
2010-09-28 04:13:48 +03:00
Xanadu
781592d63a Core/Spells: * Removed special handling of SPELL_AURA_ABILITY_IGNORE_AURASTATE, now handled by the proc system (again).
* Fixed Fingers of Frost buff display. Closes issue #3324.

--HG--
branch : trunk
2010-09-27 20:30:47 +02:00
Shocker
40cbb494fa Core/Spells: Ebon Plaguebringer can now stack for different casters as of patch 3.1
--HG--
branch : trunk
2010-09-19 04:10:35 +03:00
Liberate
5fa7722b94 Core/Spells: Fixes certain spells that could pierce immunity auras while they shouldn't.
Fixes issue #3264
Fixes issue #3471
Fixes issue #3992

--HG--
branch : trunk
2010-09-18 12:42:17 +02:00
Shocker
df9d62d2b1 Core/Spells: Set maximum affected targets value for Unholy Frenzy (50312), will be used in DB AI scripting
--HG--
branch : trunk
2010-09-14 01:27:05 +03:00
Machiavelli
a41e99223e Core/DBLayer:
* Rename QueryResult class to ResultSet
* Rename QueryResult_AutoPtr to QueryResult
* Declare ACE refcounted auto pointer for PreparedResultSet class

--HG--
branch : trunk
2010-09-11 21:10:54 +02:00
silinoron
320c354440 Fix spell damage bonus for improved devouring plague.
Patch by dr.tenma.
Fixes issue #2785

--HG--
branch : trunk
2010-09-06 10:53:02 -07:00
silinoron
4f112d6a9d Fix Totem of Wrath debuff effect.
Fixes issue #3297
Fixes issue #2276
Patch by Ramus.

--HG--
branch : trunk
2010-09-05 14:34:48 -07:00
Shauren
b39a21b795 Core/Spells: Check correct Attributes field in CanSpellPierceImmuneAura, patch by Maxdestroyer
Closes issue #3785.

--HG--
branch : trunk
2010-09-05 11:33:35 +02:00
Shocker
d81864e7f3 Cleansing Totem should no longer pulse at spawn as of patch 3.2.2, thanks SimonDMII/olegoriy for noticing, closes issue #3702.
--HG--
branch : trunk
2010-08-30 10:53:29 +03:00
QAston
91233b9ba8 *Fix size of SMSG_SPELLHEALLOG and build (rage!!!)
--HG--
branch : trunk
2010-08-27 21:07:33 +02:00