Commit Graph
4307 Commits
Author SHA1 Message Date
Shauren 4f14693ef2 Core/Scripts: Corrected previous commit and added a few AI hooks to GameObjectAI 2012-04-14 18:26:16 +02:00
Shauren a3bdaf7e6d Core/Scripts: Added support for creating custom GameObjectAI classes, similar to how creature scripts work. 2012-04-14 17:49:51 +02: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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 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
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
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2012-04-11 17:41:36 -05:00
Subv 54039b917c Battlegrounds/WS: Fixed doors
Closes #6170

Signed-off-by: Subv <[email protected]>
2012-04-11 16:34:26 -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
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
Kandera 6407582667 Core/Attributes: change some attribute names to better describe what they are 2012-04-11 11:56:35 -04: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 <[email protected]>
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 <[email protected]>
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 3dabe220ce Cmake: Remove no longer existing */dep/mersennetwister include
Thanks Venugh for noticing
2012-04-09 16:03:22 +02: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
kaelima 3988e8ed96 Core/DBLayer: Correct a type in HandleUnFreezeCommand (lowguid) 2012-04-09 14:26:50 +02:00
kaelima 5f52cb0d8c Core/Spell: fix crash from 268401029e 2012-04-09 13:39:52 +02:00
kaelima fe5a5de0f7 Tools/PlayerDump:
- Fixed field number for characters.deleteInfos_Account
- Add missing break for "receiver" (DTT_MAIL)
2012-04-09 04:17:12 +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
Subv e309c4fe1b Core/Spells: Fixed Riptide bonus on Chain Heal
closes #1152

Signed-off-by: Subv <[email protected]>
2012-04-08 19:09:30 -05:00
kaelima 93ca33a8cc Fix compile 2012-04-09 00:57:14 +02:00
kaelima a4a1e19f01 Core/Movement: Minor correction for last changeset 2012-04-09 00:32:15 +02:00
kaelima 8358af9759 Core/Movement: Use line of sight checks for movement waypoints generated for confused movement and raise the minimum movementtimer to 500 ms.
Should close #5301
2012-04-09 00:01:18 +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