Trisjdc
2a6d3fa67c
Warning fix
2014-06-04 19:12:02 +01:00
Sebastian Valle Herrera
409a19e623
Merge pull request #12201 from Unholychick/patch-2
...
Core/Spells: Implement SPELL_ATTR4_FIXED_DAMAGE
2014-06-02 18:23:17 -05:00
Sebastian Valle Herrera
f5e6292b48
Merge pull request #12032 from Trisjdc/haste_formula
...
Core/Players: Fix haste rating formulas
2014-06-02 17:23:16 -05: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
Warpten
7b49038454
Merge pull request #12171 from Ankso/player_update_zone
...
Core/Players: Update the player's zone and area only after the player's position is updated server-side.
2014-05-30 19:53:47 +02:00
Ankso
ab62fe30bc
Core/Players: Update the player's zone and area after update the player's
...
position server side.
2014-05-30 17:18:52 +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
Sebastian Valle Herrera
1a48967cdf
Merge pull request #12130 from Trisjdc/go_collision_2
...
Core/Collision: Solve collision issues with GAMEOBJECT_TYPE_DOOR GOs
Closes #6303
Closes #7628
2014-05-25 11:12:06 -05:00
Trisjdc
fd753a6105
Core/Players: Implement resting for areas with AREA_FLAG_REST_ZONE_ALLIANCE or AREA_FLAG_REST_ZONE_HORDE
2014-05-25 15:05:15 +01:00
Trisjdc
0ce6824a86
Core/Collision: Solve collision issues with GAMEOBJECT_TYPE_DOOR GOs
2014-05-25 11:35:51 +01:00
jackpoz
1f78ff541a
Merge pull request #12120 from Trisjdc/aura_exploit
...
Core/Auras: Solve exploit involving SPELL_AURA_MOD_DAMAGE_DONE and weapon swapping
2014-05-25 00:32:37 +02:00
jackpoz
a4ba54fbdb
Core/NetworkIO: Improve packet spam solution
...
Implement an improved packet Anti-DoS by counting how many times the same opcode has been sent in the last second and applying the policy specified in the configs if the amount of packets exceeds a reasonable amount.
Credits to the original author who decided to share this with TrinityCore team.
2014-05-24 22:34:06 +02:00
Trisjdc
51b782a91e
Core/Auras: Solve exploit involving SPELL_AURA_MOD_DAMAGE_DONE and weapon swapping
2014-05-24 19:01:05 +01:00
jackpoz
f091713086
Core/Misc: Fix typo
...
Fix typos about the word "Resurrect"
2014-05-24 18:25:53 +02: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
Shauren
b83cff2a85
Core/Vehicles: Set proper power type using PowerDisplay.dbc
...
Original commit by Xfurry - cmangos/mangos-wotlk/bef8c99cc07c96d4e2f45e0ff6bc107068555ffb
2014-05-19 15:42:51 +02:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Sebastian Valle Herrera
b70edf7bca
Merge pull request #12071 from Praetonus/warnings
...
Fix various warnings.
2014-05-17 18:40:23 -05:00
joschiwald
1dbc943297
Core/GameObjects: fixed instant reset of gameobjects after activation
2014-05-17 20:05:43 +02:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Gacko
39410b35a4
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2014-05-11 12:37:29 +02:00
Gacko
dabbe38022
Core/GameObject: Set trap type 0 back to GO_READY after activation.
...
Otherwise it would be activated again on every update. My fault, moving the activation code to GO_ACTIVATED skips the cooldown check.
Closes #12047
2014-05-11 12:35:40 +02:00
MitchesD
8e7cf15dd1
Scripts/HallsOfReflection: Major changes
...
* corrections to Intro Event (Falric, Marwyn etc.)
* fixed issues with Frostsworn General
* improved the whole Wrath of the Lich King event
* implemented outro gunship
* optimalization code and cleanup and fixed some typos
* Big thanks to @joschiwald, he is author too ;-)
2014-05-10 21:37:33 +02:00
Discover-
71795bf977
Core/Trade: It's no longer possible to fake the amount of gold put into the trade window. It's only visual but still an exploit, allowing scamming.
2014-05-09 17:58:04 +02:00
Trisjdc
0c0dc2fdb9
Core/Players: Fix haste rating formulas. They're supposed to be the addition, not the multiplication of all available bonuses
...
- This change matches client formulas
2014-05-08 13:42:55 +01:00
Gacko
111bbb3620
Remove unnecessary check in previous fix
2014-05-06 19:06:59 +02:00
Gacko
41d9364b16
Core/GameObject: Fix crash added in c6bf7e0b1d
...
Thanks @jackpoz
2014-05-06 18:46:08 +02:00
Gacko
b48879ab79
Core/GameObject: Finish moving activation code of traps to GO_ACTIVATED
...
Fixing #6388 should be easier now...
2014-05-05 22:28:45 +02:00
Gacko
3ac4e3033c
Core/GameObject: Add missing initialization of m_lootStateUnit
2014-05-05 18:59:56 +02:00
Gacko
c6bf7e0b1d
Core/GameObject: Store unit in GameObject::SetLootState - required for trap activation.
2014-05-05 18:39:53 +02:00
Trisjdc
719a00e926
Core/Spells: Define and implement SPELL_ATTR7_NO_PUSHBACK_ON_DAMAGE
2014-05-05 16:33:30 +01:00
Gacko
d0e6693266
Core/GameObject: Format comments and apply rename of previous commit.
2014-05-05 12:35:41 +02:00
Vincent-Michael
b6bf83589c
Core/Gameobject: Added missing break in 24ef7dbdf4
2014-05-05 10:06:44 +02:00
Gacko
99e04ddaf6
Fix indention from changes in previous commit.
2014-05-04 22:32:24 +02:00
Gacko
24ef7dbdf4
Core/GameObject: Solve some TODOs related to traps in GameObject::Update and improve logic.
...
Some more changes, TODO solutions and a fix for traps like those in #1359 or #6388 will follow.
2014-05-04 22:18:12 +02: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
Vincent-Michael
0faf4b1b24
Core/Text: Fix typo in 5caf6aad98
2014-05-01 21:59:19 +02:00
joschiwald
3ff9589c9a
Core/Battleground: fixed possible crash in BattlegroundSA
...
Closes #11969
2014-05-01 15:14:42 +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
Dehravor
24ae6a6802
Core/Misc: Remove obsolete C++11 backward compatibility macros
...
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
Vincent-Michael
ba8959b733
Core/MSVC: Remove double warning disables
2014-04-28 22:44:56 +02:00
Vincent-Michael
4dfe3246fa
Core: Fix warning
2014-04-28 22:32:01 +02:00
joschiwald
84bff76ba0
Core/Misc: remove some obsolete parameters
2014-04-28 20:05:36 +02:00
Vincent-Michael
57cf043aec
Core/Creature: Missed changes in c536305e3a
2014-04-28 09:19:37 +02:00