Commit Graph

1114 Commits

Author SHA1 Message Date
DDuarte
cefcde9ba9 Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code) 2014-09-19 03:30:02 +01:00
Unholychick
6477e96cca Core/Spells: Fix some -Wconversion warnings
Attempt to fix #13152 by properly casting between data types during damage calculations.
2014-09-16 23:56:05 +02:00
Shauren
7d1d55124c Merge branch 'ObjectGuid' of https://github.com/TrinityCore/TrinityCore
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Scripting/MapScripts.cpp
	src/server/scripts/Northrend/Naxxramas/instance_naxxramas.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
	src/server/scripts/Northrend/Nexus/Nexus/boss_anomalus.cpp
	src/server/scripts/Northrend/Nexus/Nexus/boss_magus_telestra.cpp
	src/server/scripts/Northrend/Nexus/Oculus/boss_varos.cpp
	src/server/scripts/Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_auriaya.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_freya.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_ignis.cpp
	src/server/scripts/Northrend/Ulduar/Ulduar/boss_razorscale.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
	src/server/scripts/Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
2014-09-16 21:50:01 +02:00
Shauren
878073d516 Core/Logging: Fixed incorrect usage of guid in logs 2014-09-16 20:47:08 +02:00
jackpoz
9337e257fc Merge branch 'mik1893/fear-vs-stun'
Merge PR #13095 into master
2014-09-14 21:03:17 +02:00
Shauren
a0e50ea35f Core/Entities: Use ObjectGuid class in game project 2014-09-14 16:14:12 +02:00
joschiwald
59baaeec48 Core/Chat: cleanup MonsterText methods 2014-09-13 20:41:31 +02:00
ccrs
05aa0d51b1 Core/Units: Take into account HoverHeight in IsWithinMeleeRange
Fixes #12059
Closes #13104
2014-09-13 14:06:37 +01:00
Shauren
ce67a097bf Core/Entities: Use new PackedGuid class 2014-09-13 01:12:16 +02:00
mik1893
6153aa7b74 Core/Unit: Fix some movement issues when multiple controls are applied 2014-09-11 10:27:33 +02:00
mik1893
fef376c73c Core/Unit: Do not give client control back to player after fear
if player is under player charm (UNIT_STATE_POSSESSED)
2014-09-09 23:27:33 +02:00
jackpoz
10b7480e70 Merge branch 'trickerer/mulreflect' into master
Close pull request #11288
2014-08-25 19:59:19 +02:00
Vincent-Michael
72b9b50bc7 Core/Unit: Fix some phasing change problems with vehicle 2014-08-24 22:09:10 +02:00
jackpoz
7fe7f30521 Core/Misc: Fix some -Wconversion warnings 2014-08-23 19:56:41 +02:00
joschiwald
ccfa82e7d5 Core/Creature: update creature_template and some other small things
http://www.trinitycore.org/f/topic/9572-creature-damage/
2014-08-14 16:09:14 +02:00
Shocker
07158af425 Core/Spells: Implement SPELL_ATTR7_IGNORE_DURATION_MODS attribute 2014-08-13 03:53:56 +03:00
jackpoz
f25a87cda0 Core/Misc: Remove unused variable 2014-08-07 19:23:01 +02:00
Shauren
45e9ef3d93 Core/Loot: Fixed pickpocket refill timer and use send proper loot error packets to master looter 2014-07-31 21:41:41 +02:00
Shauren
6f272ea5b7 Core/Network: Optimized packet sending by removing unneccessary memory copying 2014-07-27 17:46:46 +02:00
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