Commit Graph

1094 Commits

Author SHA1 Message Date
Trisjdc
e2d6b9bf8c Core/Units: Properly remove auras that don't pass IsHighestExclusiveAura 2014-07-24 04:06:49 +01:00
Trisjdc
3f9f2e3ee5 Core/Units: IsNonMeleeSpellCast will no longer return false if there's an instant cast spell still arriving at the target with the caster doing a channel 2014-07-24 03:47:04 +01:00
Shauren
7532864264 Buildsystem/MSVC: Warning fixes
C4800 'type' : forcing value to bool 'true' or 'false' (performance warning)
C4127 conditional expression is constant
2014-07-17 15:42:57 +02:00
joschiwald
14bbe3e2e9 Core/Battleground: fixed typo
* and fixed some warnings
2014-07-14 20:12:39 +02:00
Vincent-Michael
f03617cd0f Core/Creature: Fix problems with neutral innkeepers 2014-07-14 14:13:45 +02:00
Vincent-Michael
6797d78c1b Scripts/Misc: Added missing break in 495ca8c2dc (thx to @ccrs) 2014-07-11 17:36:52 +02:00
Sebastian Valle Herrera
b84abc74a7 Core/Build: Fixed a typo when commiting 2014-07-08 10:18:30 -05:00
Sebastian Valle Herrera
ffdb561b0a Core/Spells: Fixed SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY not being checked in some places where IsImmunedToSpell is not called
Closes #9362
Code by @joschiwald
2014-07-08 10:15:18 -05:00
Vincent-Michael
ba2563da5a Core/Spells: Convert "Shaman T10 Elemental 2P Bonus" in spell script 2014-07-07 21:50:18 +02:00
joschiwald
22113d1626 Core/Spells: restore some special aura proc handling
Note: can cause some unexpected behavior

Closes: #12413
2014-07-02 03:11:47 +02:00
Shauren
2a3546ca36 Core/Skills: Use SkillLineAbility.dbc to determine player initial spells - skill assignment done in a new table playercreateinfo_skills
* Removed DK start skill hacks
* Resolved missing skills in character skill tab

Closes #12311
2014-07-01 17:20:48 +02:00
Shauren
fd910567ec Core/Loot: Fixed looting creatures that have only quest items in their loot
Closes #12400
2014-06-30 00:24:40 +02:00
joschiwald
c28345e279 Core/Battleground: refactored BattlegroundScore
(original code by Machiavelli)
2014-06-27 23:14:15 +02:00
Shauren
74850abcfc Core/Loot: Skinning improvements
* Set skinnable flag only after all loot was taken
* Creatures are skinnable only once - after skinning, the player only has to loot the creature again if he did not take all skinning loot
2014-06-26 22:01:55 +02:00
Subv
8c944f1456 Core/Loot: Make the pickpocket loot refill every 10 minutes by default on the NPCs after they have been pickpocketed.
Configurable by Creature.PickPocketRefillDelay
Closes #935
2014-06-24 22:13:59 -05:00
Rochet2
c22d51f468 Core: Fix pet dismiss on phase with update 2014-06-21 23:57:23 +03:00
Vincent-Michael
dc96fb1cee Core: Fix typo in 316d9a5ce8 2014-06-19 18:51:47 +02:00
Vincent-Michael
316d9a5ce8 Core/Misc: Fix coverity analysis issues 2014-06-19 15:58:33 +02:00
joschiwald
a986e328b0 Merge pull request #12291 from Unholychick/patch-lotp
Core/Spells: Fix Leader of the Pack
2014-06-17 01:05:22 +02:00
Unholychick
bd0dd6443f Core/Spells: Fix Leader of the Pack
Broken with 6b430db910 because we used the wrong spell...
2014-06-16 23:07:38 +02:00
Trisjdc
e8df8ff4df Core/Auras: Implement stacking interaction between SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE and SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT. Allows BoK/BoS to stack while maintaining the strongest buff 2014-06-16 02:48:48 +01:00
Trisjdc
6098a5e43a Core/Auras: Add a new stack rule to handle cases where the aura that is 'stronger' prevails (SPELL_GROUP_STACK_RULE_EXCLUSIVE_HIGHEST) 2014-06-15 17:27:57 +01:00
Shauren
2d5b54a69d Replaced calls to ceilf (msvc extension) with ceil - fixes build 2014-06-14 17:27:28 +02:00
Shauren
08edc7d630 Core/Vehicles: Fixed power issues
* Regenerate powers only if vehicle has UNIT_FLAG2_REGENERATE_POWER
* Removed old pyrite power hack
* Apply creature_template.ManaMod to all power types

Closes #12141
2014-06-14 17:09:35 +02:00
Shauren
5804372042 Core/Transports: Fixed crash happening during teleporting transports
Closes #11793
2014-06-13 11:16:17 +02:00
Trisjdc
c75b7942a8 Core/Spells: Partially revert 4992c0290b, and further implement SPELL_ATTR3_NO_DONE_BONUS (which is the correct way of doing this) 2014-06-12 21:23:37 +01:00
Trisjdc
12b8bf037f Quick fixup for previous commit 2014-06-12 20:13:07 +01:00
Trisjdc
4992c0290b Core/Spells: Change haste benefit to cast time formulas, may need further correction
- With these changes, Paladin/Death Knight mount summons will no longer benefit from haste
2014-06-12 20:03:52 +01:00
Warpten
c9613e0005 Merge pull request #12233 from Trisjdc/aura_stacking
Core/Auras: Expanding functionality of SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to be able to take care of aura effects inside their handlers
2014-06-10 12:23:57 +02:00
Shauren
f81635ebe5 Core/Vehicles: Fixed channeled spells being interrupted for passengers when vehicle moves 2014-06-09 21:08:19 +02:00
Trisjdc
38e12321a5 Merge pull request #12069 from Trisjdc/cheat_death
Core/Spells: Fix Cheat Death formula
2014-06-09 00:45:12 +01:00
Lucas
5d40838207 Fix Warnings 2014-06-08 21:21:49 +02:00
Sebastian Valle Herrera
d0c9ac1d69 Merge pull request #12228 from Unholychick/patch_periodics
Core/Spells: Implement Periodic mechanics
2014-06-08 13:13:14 -05:00
Trisjdc
91052574ac Core/Auras: Expanding functionality of SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to be able to take care of aura effects inside their handlers
Currently handled:
- SPELL_AURA_MOD_RESISTANCE_PCT
- SPELL_AURA_MOD_STAT
- SPELL_AURA_MELEE_SLOW
- SPELL_AURA_MOD_MELEE_HASTE
- SPELL_AURA_MOD_DAMAGE_PERCENT_DONE

Necessary to allow stack rules such as BoK/BoS/Bok-Drums and others to be all in a target with all of the aura effects, yet with only the 'highest' effect active
2014-06-07 23:43:11 +01:00
Vincent-Michael
1d39db16b9 Core/Misc: Kill Whitespace ... 2014-06-07 23:58:08 +02:00
Unholychick
d4bbc26261 Core/Spells: Implement Periodic mechanics
Change behaviour of single target periodic aura ticks to be more blizzlike
Also add some missing handling of SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE
Fixes Deep wounds and Chimera Shot Serpent
Remove an ancient hack with Drain Soul, spell id 100001 can now be deleted from spell_dbc table
Allows Rolling dot mechanics and allows DK's to roll diseases with pestilence,
see link for info:

http://forums.elitistjerks.com/topic/82503-frost-dps-in-333this-will-be-a-day-long-remembered/page-88
2014-06-07 19:13:57 +02:00
Trisjdc
97046283b5 Core/Spells: Anti-Magic shell should give immunity to all spells that belong to SPELL_SCHOOL_MASK_MAGIC regardless of dispel type 2014-06-07 18:06:22 +01:00
Lucas
82cefb661d Core/Spells: Implement SPELL_ATTR4_FIXED_DAMAGE
Spells with this attribute will ignore damage taken auras except for mechanic damage taken (trauma, etc) and will ignore resilience because the damage caused by those spells is based off another spell' damage
2014-06-02 15:41:02 +02:00
jackpoz
8d539ee6c0 Merge pull request #12162 from Trisjdc/aura_split_damage_breaking
Core/Spells: Break 'Fear' and similar auras on damage sharing of SPELL_AURA_SPLIT_DAMAGE_PCT
2014-05-29 21:21:39 +02:00
jackpoz
b92e1046be Merge pull request #12007 from Trisjdc/spell_pushback
Core/Spells: Define and implement SPELL_ATTR7_NO_PUSHBACK_ON_DAMAGE
2014-05-29 19:54:39 +02:00
Trisjdc
1301ad800b Core/Spells: Break 'Fear' and similar auras on damage sharing of SPELL_AURA_SPLIT_DAMAGE_PCT 2014-05-28 22:22:54 +01:00
Warpten
fa31b161cc Merge pull request #12102 from Trisjdc/achievements
Core/Achievements: Fixed ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS in case killed creature has a loot recipient (Credit would be granted to loot recipient rather than killing blow lander)
2014-05-22 20:04:27 +02:00
Trisjdc
4d3156e0b8 Core/Achievements: Fix ACHIEVEMENT_CRITERIA_TYPE_GET_KILLING_BLOWS 2014-05-21 15:10:15 +01:00
jackpoz
1083dbb993 Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get* 2014-05-20 21:21:33 +02:00
Trisjdc
c85710e148 Core/Spells: Fix Cheat Death formula 2014-05-15 17:02:14 +01:00
Trisjdc
719a00e926 Core/Spells: Define and implement SPELL_ATTR7_NO_PUSHBACK_ON_DAMAGE 2014-05-05 16:33:30 +01:00
Aokromes
d7b1405725 Merge pull request #11968 from Dehravor/cpp11
Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros
2014-05-03 19:25:36 +02:00
Lucas
065207b1b8 Core/Spells: Correct a mistake in HOT aura procs
A crash fix was added in 3e0d2e4944
but the usage of spellProcEvent itself was incorrect, we should instead use spellProto of aura to be procced
2014-05-03 02:28:49 +02:00
Dehravor
cbd36d5a4e Core/Misc: Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros 2014-05-01 11:19:32 +02:00
Vincent-Michael
5caf6aad98 Core/Texts:
* Fix creautre text with gender female
* Small cleanUp
* ObjectMgr.cpp/ObjectMgr.h part from joschi
2014-04-30 22:15:28 +02:00