Commit Graph

4217 Commits

Author SHA1 Message Date
ariel-
e6580ad922 Core/Player: don't randomly change temporary spell status
- They shouldn't be saved in db
- Prevented temporary spell removal after a save

Closes #14373
2017-04-25 13:27:28 +02:00
Aokromes
83623e0f7e Core/Spells: Add duration argument to Unit::SendPlaySpellVisualKit 2017-04-23 15:36:46 +02:00
roc13x
d113ad883c Fixed gameobjects not always despawning after use/delete 2017-04-19 20:05:32 +01:00
roc13x
e4bfd0aa05 Corrected doors and buttons without autoclose time after recent changes 2017-04-19 18:30:32 +01:00
Aokromes
9bd0fbb718 typo fix 2017-04-18 14:24:55 +02:00
Aokromes
6d25d89e2b Core/Misc: Sync database schema with master 2017-04-18 14:11:21 +02:00
Aokromes
0d61a6b512 missing part 2017-04-16 17:19:23 +02:00
Aokromes
f1aeff5390 Core/Creature: Fixed ForcedDespawn
By Malcrom
2017-04-14 17:50:14 +02:00
Aokromes
adae2fec26 Ensure that all actions are compared to fixed point in time (ie. world update start) 2017-04-14 15:02:49 +02:00
ariel-
c17fa0bcc5 Core/Instance: stop updating the instance resettimes based on creature respawns 2017-04-14 13:50:13 +02:00
ariel-
0d6c2978ae Core/Creature: fix integer overflow in Creature::Update leading to endless thrashing of characters database
Closes #19182
2017-04-14 13:45:57 +02:00
Aokromes
92d9bac16d Core/Misc: Remove incorrect check 2017-04-09 18:37:35 +02:00
ariel-
ca900fe2b4 Core/Player: fix weapon dependent aura talents not applied on talent learn 2017-04-09 18:15:49 +02:00
Aokromes
1f8d2cd24d Core/GameObject/Creature: fix unitialized member on GameObjectData/CreatureData 2017-04-09 18:13:57 +02:00
Aokromes
4e4f82a3e7 more fix 2017-04-05 02:55:44 +02:00
Aokromes
92816c0f17 Core/Gameobject: destroy test 2017-04-03 12:20:06 +02:00
Aokromes
0decba0ad7 compile fix 2017-04-02 08:15:30 +02:00
Aokromes
9b378447f8 Core/Entities: GameObjectDespawn packet is only sent for GameObjects 2017-04-02 07:57:21 +02:00
Aokromes
2f1d6d5597 Core/Scripts: Fix a logic fail that overriden the script of an entity…
… that changed entry
2017-04-01 07:11:25 +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
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
ccrs
5d79ac9275 Core/Unit: cleanup UnitState enum 2017-03-26 06:15:09 +02: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
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
xinef1
c7a2fbed3f Core/Items: Fixed durability problems for wrapped item (#19003) 2017-03-23 02:11:26 +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
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
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
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-
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
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
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-
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
Gustavo
d21bb8f5ca Core/Unit: Correct speed calculus when affected by SPELL_AURA_MOD_MINIMUM_SPEED (#18136) 2017-03-03 01:26:03 +01:00
ariel-
1106eadac6 Core/Conditions: CONDITION_SOURCE_TYPE_QUEST_ACCEPT should not prevent completed question mark from showing (#18151 follow up)
Closes #19188
2017-03-03 01:24:23 +01:00
ariel-
823f96953f Core/Players: fix 2 Seal of Righteousness spells on paladins
Closes #14239
2017-03-03 01:24:09 +01:00
treeston
8d06064897 Core/Creature: Fix SetSpawnHealth so it cooperates with the colossal hack that is Battleground::AddCreature. *puke* 2017-03-03 01:21:26 +01:00