Commit Graph

12866 Commits

Author SHA1 Message Date
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
ba957e6a0e Core/Spells: Reapply glyph bonuses that depend on stance when you shapeshift into that instance
Closes #1076 and possibly others

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-13 18:32:56 -05:00
Nay
a28742bffe Core/BG: When starting a battleground teleport the player to start location if it goes outside of the allowed "waiting" area (for example, getting out of the "bubble" in EotS)
Allowed waiting area is calculated as the distance specified in database (battleground_template.StartMaxDist) and the battleground start point for each team
A distance of 0 is ignored (not used in SotA nor arenas)

The values in DB might need some tweaks, open a pull request if you calculate better ones

Closes #180

Initial patch and idea by Rat

Also added validation (DBError log) to some fields in battleground_template table
2012-04-13 20:51:07 +01: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
Shauren
4b81de9d3a Core/Movement: Changed casting check in TargetedMovementGenerator to be able to freely manipulate cast+move interaction in scripts 2012-04-13 18:32:47 +02:00
Subv
6400c13fcb Core/Loading: Make GameObject loot loading faster by removing an unneeded call to an expensive method.
Thanks Manuel for pointing it out
2012-04-12 20:19:23 -05:00
Subv
491999280e Core/Spells: You should not be able to cast Create Healthstone if you already have one in your inventory
Closes #1498
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 20:18:07 -05:00
Subv
c04e92564b Core/Spells: Apply Lifebloom's final bloom bonus from Empowered Rejuvenation also on expire. thanks @3kids for noticing 2012-04-12 18:39:40 -05:00
Kandera
e88e0f08d1 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-04-12 13:29:51 -04:00
Kandera
305cd14e86 Core/Spells: Fix Unrelenting assault proc only on players. 2012-04-12 13:29:28 -04:00
kaelima
71bf2684be Core/Script: Use DoMeleeAttackIfReady in default ScriptedAI::UpdateAI method (fixes offhand attacks if not UpdateAI is overridden) 2012-04-12 17:53:52 +02:00
Shauren
7405202023 Removed unused file 2012-04-12 15:44:41 +02:00
Kandera
dda7fab230 Core/SpellScripts: Fix crash caused by 6cb8d607ce 2012-04-12 09:15:36 -04: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
Subv
6cb8d607ce Spells/Scripts: Allow OnEffectAbsorb to call PreventDefaultAction in AuraScripts
closes #6172

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 05:52:20 -05:00
Subv
f7aadf51ee Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-04-12 05:51:50 -05:00
Machiavelli
74b5b3bd8e Core/Commands: Remove recently defunct .hover command. All this spell did before hoverheight changes was .cast/.unaura spell 11010. And since we do not have .autoattack, .steadyshot, .heroicstrike, .shootwand etc. either, there's no place for this command in the core (there never was). 2012-04-12 12:04:04 +02:00
Subv
2e5962725d Core/Spells: Corrected Rupture critical hits, it wont make other dots (incorrectly) crit any longer
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-11 18:53:24 -05:00
Subv
397ee8ceb5 Core/Spells: Execute spell procs after the healing effects of a spell
Closes #216

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-11 17:41:36 -05:00
Subv
54039b917c Battlegrounds/WS: Fixed doors
Closes #6170

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-11 16:34:26 -05:00
Shauren
c2948f6352 Scripts/Trial of the Crusader: Fixed spell_powering_up_SpellScript once again 2012-04-11 22:47:54 +02:00
Machiavelli
c38820c3bd Scripts/Twin Valkyr: Fix a crash in spell_powering_up_SpellScript. Author: Vincent-Michael 2012-04-11 22:35:23 +03: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
faramir118
b1c4e8202e Scripts/Karazhan/Midnight: Fix timer logic
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-04-11 20:00:51 +02:00
faramir118
7ae0cf8c35 fix mistaken fallthrough 2012-04-11 19:59:44 +02:00
faramir118
d3c9817c60 make some dtors virtual
this will prevent potential for future memory leaks
2012-04-11 19:58:53 +02:00
faramir118
e3f198ca56 couple wrong return types 2012-04-11 19:58:12 +02:00
faramir118
c09cd26739 wrong signature in a few overrides 2012-04-11 19:56:05 +02:00
faramir118
c7927a7796 Tools/MapExtractor: proper type for string literals
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-04-11 19:54:35 +02:00
faramir118
f9ae8e6810 Core/DBLayer: incorrect use of va_start
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-04-11 19:51:26 +02:00
Kandera
6407582667 Core/Attributes: change some attribute names to better describe what they are 2012-04-11 11:56:35 -04:00
Shauren
be5b91f6bb Scripts/Icecrown Citadel: Fixed crashes on despawning abominations during Professor Putricide's phase transition 2012-04-11 17:53:55 +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
kaelima
26ff19dbf8 Scripts/Silithus: Fix crash when doing "A Pawn on the Eternal Board"
Closes #6156
2012-04-11 13:40:17 +02: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
e9ac667cce Battlegrounds/WSG: Missing change from my previous commit 2012-04-10 20:09:24 -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
Shauren
abed18d695 Core/DBLayer: More type fixes 2012-04-09 17:36:10 +02:00
kaelima
3dabe220ce Cmake: Remove no longer existing */dep/mersennetwister include
Thanks Venugh for noticing
2012-04-09 16:03:22 +02:00
kandera
7f377964fb Core/Scripts: fix unrelenting assault procing on caster (thx gigatotem). both cast spells have target_unit_caster 2012-04-09 10:38:08 -03:00
kaelima
1f1e243bfa Core/Movement: Fix some issues with ConfusedMovementGenerator from recent changes.
- Z position was not set if LOS-check failed, and thereafter causing a crash when trying to move to a uninitialized z-choord.
- Also fixes bad coords in water

Closes #6124
2012-04-09 15:00:52 +02:00
kaelima
4c961ff393 Core/Scripts: Remove some unnecessary creature/player casts in scripts and do some safer casting in a silithus script 2012-04-09 14:28:46 +02:00