Commit Graph
22301 Commits
Author SHA1 Message Date
ariel- 66c0c634ad Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope
2017-04-01 07:06:53 +02:00
ariel- d3151fed8c Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-04-01 07:06:35 +02:00
ariel- 661e150038 Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db flags_extra mask
- Cleaned up the mask to be a much nicer enum definition
2017-04-01 07:06:12 +02:00
ariel- a3e41a3df6 Core/Global: reserve storage for script names vector 2017-04-01 07:06:02 +02:00
xinef1 8221acd90e Added new creature extra flag which makes npc visible only to dead units
closes #19333

* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql

- file affects creature removed in patch 4.0.3a

* Update Creature.cpp
2017-04-01 07:05:39 +02:00
tkrokli d40b252c01 Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location (#19029)
SmartAI NPCs using SMART_ACTION_JUMP_TO_POS
should resume their path when they have reached the jump location.

The changes in this PR makes the action work as intended.

Closes #18760
2017-04-01 07:05:03 +02:00
Aokromes 1bc94173ea Compile fix 2017-03-31 16:03:08 +02:00
sevi 30c23e48be Core/Misc: the battle rezz limit didn't should has a effect in normal/heroic dungeons. They is only for Raids. 2017-03-30 20:24:44 +02:00
ariel- 402ad3dad7 Core/Auras: fix a deleted memory access crash
Closes #19319
2017-03-26 06:15:52 +02:00
ccrs 6f1a3c4b43 Fix warning
field '_top' will be initialized after field '_owner'
2017-03-26 06:15:36 +02:00
ccrs 7ea5c422cb Core/Movement: 96f4c7c followup 2017-03-26 06:15:26 +02:00
ccrs 2683f6cf6b Core/MotionMaster: cleanup use of _expireList
And restore broken _cleanFlag check/use on update (eca3645d8bb655b88e39f05e36b435171f738f70)
2017-03-26 06:15:18 +02:00
ccrs 5d79ac9275 Core/Unit: cleanup UnitState enum 2017-03-26 06:15:09 +02:00
ccrs a29bae966d Core/Movement: cleanup MovementGeneratorType 2017-03-26 06:14:57 +02:00
Aokromes 9c5e580c17 Core/Scripts: minor fixes in boss_the_lich_king 2017-03-26 06:13:21 +02:00
ariel- 828101aa2b Core/Scripts: Updated Ulduar instance model
- Codestyle/indent fixes
- Added ObjectData for some GOs
- Added GetUlduarAI to creatures
- Fixed possible out-of-bounds access in boss_razorscale_controllerAI (boss AI number beyond allocated boss size)
2017-03-26 05:46:04 +02:00
Aokromes d8febab3ad Core/SmartAI: Missing parts on previous commit
By Malcrom
2017-03-26 01:03:41 +01:00
Aokromes 47961b7888 typo fix 2017-03-25 10:33:20 +01:00
Aokromes 55914733a0 Core/Scripts: Add support for spawn specific C++ scripts
By Krudor.
2017-03-25 10:27:51 +01:00
Aokromes dca200d6b6 Core/SmartAI: Implement SMART_TARGET_VEHICLE_ACCESSORY
By Malcrom
2017-03-23 04:05:15 +01:00
S.V cdff8ab387 Core/Creatures: Fixed GMs being considered in party/raid with nearby creatures without CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT
Ref #19340
2017-03-23 02:15:05 +01:00
Keader 9fb129a1ee Core/Scripts: Fixed wrong calculation of Aura of Desire
Closes #19322
2017-03-23 02:11:58 +01:00
xinef1 c7a2fbed3f Core/Items: Fixed durability problems for wrapped item (#19003) 2017-03-23 02:11:26 +01:00
Aokromes 386e6e5b58 Core/Bnet: SRP6a fix
By Shauren, idk what appened with previous commit
2017-03-23 00:09:29 +01:00
Aokromes a50db6df81 Core/SmartAI: Add check to SMART_ACTION_PLAY_ANIMKIT to allow zero va…
…lue to remove animKit.
By Malcrom
2017-03-21 23:29:55 +01:00
Aokromes fd349a493c Core/Creature: Load template immunities into m_spellImmune container.
- Fixes sending SMSG_SPELL_START data
2017-03-20 17:33:51 +01:00
ariel- d1382c5f23 Core/Spell: fix an issue with vehicle spells changing orientation of base vehicle
Closes #17234
2017-03-20 16:55:01 +01:00
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
jackpoz d64db19d82 Core/Crash: Refactor and fixes
Code cleanup.
Fix buffer overflow crash.
Fix type being truncated to 199 characters.
2017-03-20 16:53:22 +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 https://github.com/TrinityCore/TrinityCore/commit/948146f3ee890b85af50944176877c7d44c0c120

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