Commit Graph

14556 Commits

Author SHA1 Message Date
ariel-
35e9c27c4a Core/Entities: don't finalize movesplines before deleting.
- The whole MotionMaster will be destroyed along with the unit, freeing the allocated memory.

Closes #19324
2017-03-20 16:53:54 +01:00
robinsch
73ce0bdade Core/Social: Implement FRIEND_STATUS_RAF (#19317) 2017-03-20 16:53:42 +01:00
Golrag
e4b11f277b Core/Object: Fix Line of Sight issue with object edges
Fixes: https://github.com/TrinityCore/TrinityCore/pull/15807#issuecomment-268077802
2017-03-20 16:53:30 +01:00
ariel-
5f7ac85dca Core/Spell: add assert checks on SpellMgr::CheckSpellGroupStackRules
Ref #19319
2017-03-20 16:53:13 +01:00
ForesterDev
761c0faf72 Core/SocialMgr: fix case when contacts appears in friend list many times
Closes #19306
2017-03-20 16:52:53 +01:00
Chazy Chaz
3f14e4e56e Core/Players: Rename "heroic character" to "death knight" 2017-03-20 16:52:23 +01:00
ariel-
cb8f052a65 Core/Pet: load template immunities when creating (except for hunters)
Fixes #19275
2017-03-20 16:45:17 +01:00
ariel-
f2c7c5cf0c Core/Unit: properly reset displayIds when having a shapeshift aura active
Closes #19309
2017-03-20 16:45:09 +01:00
Aokromes
0016baf3bd DB/Misc: Sync some database fields no with 4.3.4 2017-03-20 14:01:02 +01:00
sevi
a444460f84 Core/Spells: fix next.
i need really a big part of sleep xD
2017-03-19 02:16:16 +01:00
sevi
d497077216 Core/Handler: fix compile 2017-03-19 02:13:33 +01:00
sevi
a608658056 Core/Misc: code style 2017-03-19 02:00:52 +01:00
sevi
d4c703a2e2 Core/Instance: implement the combat resurrection limit.
Cherry Pick from 948146f3ee

I change this a bit, so that this is works right for 4.3.3 Patch. (Here isn't add charges after a specific time. Groups have from begin 1 or 3 Charges for Resurrection.)
2017-03-19 01:55:40 +01:00
Aokromes
26ad72bdb5 compile fix 2017-03-16 02:23:26 +01:00
Aokromes
d66cd16ddb Core/Auras: make AuraEffect::GetTargetList and AuraEffect::GetApplica…
…tionList accept any container
2017-03-16 02:14:05 +01:00
Shauren
3f048ca5fa Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This resolves another authentication bypass issue
(cherry picked from commit cmangos/mangos-wotlk@ea3e08a812)
2017-03-15 23:37:24 +01:00
ariel-
045307cd6e Core/Auras: unregister AuraEffect from target list before changing amount, forces recalculation at stack change
Closes #19301
2017-03-15 23:37:08 +01:00
ariel-
7802e88ace Core/Auras: use vectors and remove HasEffect check
- Already checked in GetApplicationList
2017-03-15 23:36:56 +01:00
ariel-
fc91921241 Core/Scripts: add condition check for npc_wyrmrest_defender
minor code refactors

Closes #19299
2017-03-15 23:36:36 +01:00
Gustavo
4ec7b63de1 Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event boss) (#19076)
Closes #5114
2017-03-15 23:36:24 +01:00
Aokromes
e998899874 Core/AHBot: Disable few broken items
Closes #19283
P.S: you will need to update your conf.
2017-03-13 10:10:40 +01:00
xinef1
cddcf9f11e Core/Spells: Fixed some enchantments checks and fixed serious logic flaw in create item effect check (#19123) 2017-03-13 10:10:26 +01:00
ariel-
553ae42111 Core/Creature: restore previous behavior of random gender on respawn
Little regression added with 253c0f3d07
2017-03-13 10:10:08 +01:00
ariel-
7871583016 Core/Auras: tidy up one little hack 2017-03-13 10:09:59 +01:00
ariel-
d99739cd8c Core/Creature: remove some redundant code
- Display Ids are already initialized in InitEntry, no need to duplicate logic
- ModelInfo is already checked too
2017-03-13 10:09:33 +01:00
Keader
458d91d3ec Core/Scripts: Fixed Ingvar evade issue 2017-03-13 10:09:25 +01:00
ariel-
eb2526c8e2 Core/Auras: implement correct model for Bear Form (used by npcs)
Closes #7337
2017-03-13 10:09:16 +01:00
ariel-
c3aaf501ab Core/Creature: don't override display id if addon tables load a morph aura
Ref #7337
2017-03-13 10:09:07 +01:00
ariel-
68c4606725 Core/Scripts: converted Argent Tournament pennants to AI
Closes #14616
2017-03-13 10:08:59 +01:00
ariel-
d9c5065acc Core/Auras: Implement Roc form shapeshift
Closes #16164
2017-03-13 10:08:50 +01:00
ariel-
4a54bf7ab9 Core/Auras: make transform auras honor creature_template trigger flag and choose always invisible models
Closes #19211
2017-03-13 10:08:41 +01:00
ariel-
6d39a1db40 Core/Creatures: disabled "automatic" monster sparring
- Faction template flags weren't correct.

Closes #19245
2017-03-13 10:08:03 +01:00
ariel-
4602724be6 Core/SmartAI: Allow scripting GameObjects by spawn id too 2017-03-13 10:06:40 +01:00
ariel-
96816e1e76 Core/Creature: redo some logical checks in _IsTargetAcceptable
- Check against current creature victim, don't check potential victim attacking list.
- Neutral creatures with aggressive reactstate were triggered to attack from MoveInLineOfSight because of this check
- Prevents attack from a distance after right clicking an npc

Closes #19235
2017-03-13 10:04:00 +01:00
Aokromes
41c30413c9 Core/Misc: Minimize branch differences 2017-03-13 09:52:07 +01:00
Aokromes
58a585a3f1 Core/Misc: Build fix 2017-03-12 13:51:20 +01:00
Aokromes
546d71a7b4 Core/SAI: added new action SMART_ACTION_PLAY_ANIMKIT 2017-03-11 15:45:16 +01:00
Aokromes
08a118c87e Compile fix 2017-03-03 12:48:37 +01:00
Aokromes
18d755e1e6 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-03-03 01:38:20 +01:00
ariel-
936ddbff9b Core/Spell: disable proc for magnet auras, they're handled differently
Closes #19208
2017-03-03 01:33:07 +01:00
ariel-
22c4d86dfe Core/Database: Prepared statement parameter preallocation (#18999)
- Pass prepared statement size to the helper class to prevent runtime resizing.
- Rename CheckValidIndex -> AssertValidIndex
- Cached prepared size on the worker pool as it's shared among all connections
- Cached query data only for each connection, done lookup in map instead of possibly creating a new element
- Kill the prepared statement map, and store raw sql string on the MySQLPreparedStatement class
(This info is only used for logging, and there is no need of keeping a second container just for it)
2017-03-03 01:32:12 +01:00
xinef1
206fddf129 Core/GameObject: regenerate GO loot if respawn time passed since last loot generation time and not all items were taken (#19101) 2017-03-03 01:31:44 +01:00
xinef1
9d021fce21 Corrected calculation for SPELL_AURA_PERIODIC_DAMAGE_PERCENT (#19060) 2017-03-03 01:31:32 +01:00
xinef1
f8b090fd8a Core/Misc: Always reward all necessary reputations on creature kill (#19106) 2017-03-03 01:31:22 +01:00
xinef1
0642e5bd82 Remove auras interrupted by falling when we fall to the ground or water (#19115) 2017-03-03 01:31:13 +01:00
ariel-
04d3783664 Core/Scripts: Change null-check to assert
- ToPlayer() should never be null in this context
2017-03-03 01:31:04 +01:00
Keader
e90a90d760 Core/Scripts: Fixed crash in Sindragosa
Closes #19227
2017-03-03 01:30:54 +01:00
ariel-
d93be13e6e Core/Misc: always output client cache version on loading 2017-03-03 01:30:46 +01:00
ariel-
7544544cf1 Core/Entities: spawned movementtype should override template movementtype
Core/SmartAI: pass the CreatureData pointer (if any) on updating template

Closes #19223
2017-03-03 01:30:25 +01:00
ariel-
3ceeffde86 Core/Movement: Corrected all speed checks after 23b6991273
Ref issue #19210
2017-03-03 01:30:15 +01:00