Commit Graph

1629 Commits

Author SHA1 Message Date
QAston
58f63509cd Merge pull request #6314 from Chaplain/spells
Core/Spells: Separation of caster/target part damage/heal bonus calculation.
2012-05-09 15:10:33 -07:00
kaelima
1fec4a5af2 Core/Gameobject: Set artkit once in GameObject::Create 2012-05-09 13:52:31 +02:00
kaelima
d50b23d9f9 Core/Transport: Set GAMEOBJECT_FLAGS from DB for transports, not hardcoded 2012-05-09 03:08:34 +02:00
Kandera
5fc2c8cda3 Core/Items: fix compile error from previous commit. use item instead of bag. 2012-05-08 10:06:38 -04:00
Kandera
d2a33afc37 Core/Items: fix deletion of items when the bag they are in gets deleted on load. also checks for items that have no real bag for possible expoits. 2012-05-08 09:15:52 -04:00
MacWarrior
58b05da8df Fix creature's save 2012-05-04 16:42:23 +03:00
Chaplain
879070bc80 Core/Spells: Separation caster/target part damage/heal bonus calculations.
*Implement HoT/DoT save caster side bonuses and apply target mods on each tick
2012-04-28 23:32:25 +03:00
QAston
b53485e053 Fix build and correct minor codestyle issue. 2012-04-28 15:10:52 +02:00
QAston
06923e21e8 Merge pull request #6239 from The-Game/master
Core/Spell: Fix unit tracking to not being limited to the caster of SPELL_AURA_MOD_STALKED.
2012-04-28 04:56:58 -07:00
The Game
9320131892 Check if unit has UNIT_DYNFLAG_TRACK_UNIT before checking auras to prevent prevent unnecessary operations, thanks you QAston for suggesting. 2012-04-24 13:11:22 -04:00
Shauren
05bb8e4fcd Core/Vehicles: Fixed creature passengers falling off vehicles at client side 2012-04-24 17:19:41 +02:00
Shauren
1851a2e9e3 Scripts: Replaced calls to ForcedDespawn with DespawnOrUnsummon (calls appropriate AI hooks in case of temporary summons) and made ForcedDespawn private 2012-04-24 16:53:37 +02:00
Shauren
3c2dd7c5ed Scripts/Ulduar: Algalon the Observer 2012-04-19 23:19:27 +02:00
Shauren
435a9a566a Core/Creatures: Changed how boss creatures are identified, creature_template.rank was not a good indicator 2012-04-19 14:28:45 +02:00
Shauren
4818c70dcb Core/Spells: Removed unneeded phase check from spell casts, its already done in canSeeOrDetect for spells that need it. Probably more phase checks are not needed either 2012-04-18 22:27:40 +02:00
Subv
5b80e7360b Core/Collision: Disable LoS check for destroyed destructible buildings.
More research has to be done.
Closes #6228
2012-04-18 13:57:12 -05:00
The Game
7dc228ea54 Fix code style, thanks Discover. 2012-04-18 13:39:07 -04:00
Shauren
bec761a3e0 Core/Creatures: Set melee sheath as default only for creatures that do not have creature_addon data 2012-04-18 12:44:56 +02:00
The Game
3bfe59b41d Fix unit tracking to not being limited to the caster of SPELL_AURA_MOD_STALKED, fixes https://github.com/TrinityCore/TrinityCore/issues/6208 2012-04-17 11:40:58 -04:00
Kandera
17d87c0103 Core/Misc: researched the reasons for instance reset failure and added them as comments to the sendresetinstancefailed function. 2012-04-17 09:56:08 -04:00
Shauren
61cb2db1bd Core/Player: Removed _lastLiquid from Player class, no need to have it in both Unit and Player 2012-04-17 10:16:31 +02:00
kaelima
3189b57bf5 Core/Unit: Always initialize a pointer before using it.
(less segfaults, more fun)
2012-04-17 02:14:41 +02:00
Kandera
bb97ff7601 Attempt on converting updatewaterstate for use with units (pets and vehicles) 2012-04-16 12:27:06 -04:00
Subv
3d8aaabaf3 Core/Spells: Do not proc spells with PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_(NEG|POS) if there is no target, reimplemented Storm, Earth and Fire talent in another way
Closes #3367
Closes #2424

If you find more spells that are broken because of this, please notify us
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 20:08:16 -05:00
Subv
ab8e69873c Core/Spells: Fixed Bloodworm's heal effect and damage
Closes #1808
Thanks @A-Metaphysical-Drama for the damage part
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 10:17:21 -05:00
Subv
0d90f7c257 Fixed build from my previous commit 2012-04-14 08:47:44 -05:00
Subv
0ec7016cca Core/Spells: Corrected logic check for SPELL_ATTR4_IGNORE_RESISTANCES
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 08:23:23 -05:00
Shauren
63ec9f2299 Core/Player: Send calendar raid lockout remove before removing player from instance save (may invalidate instance save) 2012-04-14 11:09:40 +02:00
Subv
98e1847999 Player/Items: Fix the item durations when the item is stored in a bag different than the default backpack
Closes #1026
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-13 18:58:27 -05:00
Subv
b9c50a8b6e Core/Spells: Prevent Siphon Life from proccing on Corruption apply.
Closes #6150

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-13 13:37:32 -05:00
Shauren
c055a8617d Scripts/Icecrown Citadel
* Fixed Professor Putricide Tear Gas stunning himself
* Fixed visual of Unstable Experiment
* Fixed oozes not picking new targets after hitting old
* Fixed Gas Cloud not using melee attack
* Removed ooze summon position hack

Closes #4301
Closes #2726
Closes #5119
Closes #4464
Closes #2874
Closes #4407
Closes #2421
Closes #4899
2012-04-13 19:56:00 +02:00
Subv
5466092d23 Core/Spells: Fixed Recklessness charges being dropped twice.
Closes #932
2012-04-13 11:54:36 -05:00
Subv
20a09c5857 Core/Spells: Fixed Lifebloom's final bloom benefit from Empowered Rejuvenation
closes #244
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 05:54:33 -05:00
Shauren
da8c7d2344 Core: Fixed warning C4263: 'bool Creature::SetDisableGravity(bool,bool)' : member function does not override any base class virtual member function 2012-04-11 21:30:56 +02:00
faramir118
ccf50f4c3d dead code 2012-04-11 20:01:27 +02:00
Shauren
0506877e2a Core/Vehicles: Use DespawnOrUnsummon in Vehicle::Dismiss to call AI despawn hooks. 2012-04-11 17:52:44 +02:00
Kandera
7cc2c6109a Core/Spells: Fix vigilance taunt cooldown spell targeting. cleanup some whitespace 2012-04-11 10:24:51 -04:00
Subv
a998e9e58a Collision/GameObjects: Corrected a possible logic fail
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-10 20:12:13 -05:00
Subv
6c5cabcf8b Battlegrounds/WSG: Fixed door LoS in Warsong Gulch
Closes #6147
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-10 20:06:40 -05:00
Shocker
b4341413e5 Merge pull request #5648 from Elron103/pull-requests
Core/Misc: Add a validity check for coordinates, prevents possible crashes with invalid coordinates
2012-04-10 17:15:24 -07:00
click
a470a5ad93 Fix a typo in previous commit 2012-04-10 02:11:27 +02:00
click
5d7d635b9e Core: Add proper log output in Player::Create functions, warning admins about possible hackers during character creation 2012-04-10 02:06:10 +02:00
kaelima
5f52cb0d8c Core/Spell: fix crash from 268401029e 2012-04-09 13:39:52 +02:00
kaelima
3bbabb1400 Core/Spell: Fix crash when blinking on transports in instancable maps
Closes #789
2012-04-09 03:02:45 +02:00
kaelima
49e24e2dfb Core/Cleanup:
Mostly if(.. -> if (.. and for(.. -> for (..
but also some miscellaneous cleanup
2012-04-08 23:59:52 +02:00
Subv
268401029e Core/Spells: Implemented SPELL_ATTR4_IGNORE_RESISTANCES.
Closes #919

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-08 15:15:06 -05:00
Machiavelli
bc96df1aae Core/Shared: Move container functions to shared project under Trinity::Container namespace. Also implement RandomResizeList which takes a predicate function as parameter.
Core/ScriptedAI: Extend SummonList::DoAction to take a predicate function as parameter and allow specifying a maximum number of units to be selected.
2012-04-08 17:40:05 +02:00
Machiavelli
e636531da3 Core/Movement: Fix pushback issues and client freeze. 2012-04-08 17:03:44 +02:00
Shocker
cce6424337 Merge pull request #6001 from Tasssadar/master
Code style: Give field pointers in Player::DeleteFromDB() more appropriate name
2012-04-07 19:14:48 -07:00
kaelima
a5a123197b Core/Item: Fix possible exploit stacking critical strike when switching weapons during disarm. Closes #3532 2012-04-08 03:12:40 +02:00