Commit Graph
4248 Commits
Author SHA1 Message Date
Vincent-Michael e8bfcb686f Core/Spell: Fix not using Disengage while rooted 2012-04-28 02:56:29 +02:00
Vincent-Michael 8f19d00509 Core/Battleground:
* Fix typo in commit ddd25ce716
* Fix codestyle
2012-04-27 16:24:16 +02:00
Shauren 51656d7e60 Scripts/Icecrown Citadel: Fixed Scent of Blood on heroic mode of Deathbringer Saurfang encounter 2012-04-27 15:38:09 +02:00
Kandera e6a6f6539d Core/Spells: Correct tick damage for health funnel. (thx alp22) Closes #3465 2012-04-24 13:39:37 -04: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
Shocker 64e4fa254b Merge pull request #6250 from Frca/master
Core/Misc: Do not set TeleportDestination as reference in WorldSession::HandleMoveWorldportAckOpcode()
2012-04-23 17:26:34 -07:00
Shocker 83e1e17649 Merge pull request #6008 from cookta2012/troy09
Core/Commands: Some porting and organizing

Moving a commands around eliminating a unnecessary file, and porting the "demorph" command
 * moved the "wpgps" command into the cs_debug.cpp because it seems more fitting
 * organized the "modify speed" commands into a table of their own
 * moved the "gps" command into the cs_misc.cpp
2012-04-23 17:21:42 -07:00
Shocker cf305bc7c9 Merge pull request #5992 from 4m1g0/master
Core/Arenas: Fix waterFallKnockbackTimer typo and set more blizzlike values for Dalaran Sewers waterfall
2012-04-23 17:18:33 -07:00
Shocker 7fd9af6bd6 Merge pull request #6292 from Vincent-Michael/gate
Core/Battlegrounds: Fix broken gate state in Strand of the Ancients

Closes #4801
2012-04-23 17:08:05 -07:00
Kandera 1cbcbe5ba1 Core/Battleground: correct checking for which flag was on the ground. fixes issue with not being able to pick up flags 2012-04-23 11:45:22 -04:00
Frca 0a82c93a97 Codestyle
Signed-off-by: Frca <[email protected]>
2012-04-22 19:24:44 +02:00
Frca c7a70803b4 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore 2012-04-22 19:19:32 +02:00
Vincent-Michael ddd25ce716 Battleground/Strand of the Ancients: Fix broken gate state 2012-04-22 13:36:18 +02:00
Shauren 2921e28de3 Core/Maps: Increased default ground search range, 10 yards was insufficient for many flying creatures 2012-04-21 20:10:11 +02:00
Nay c06012d054 Merge pull request #6272 from MrSmite/PetAI_attackFix
Core/Pets: Fix pets attacking on non-harmful spells (Hunter Mark and others)
2012-04-21 09:19:23 -07:00
Vincent-Core 408c78dcd7 Core/Spells
* Converted percent based damage dealing spell effects to scripts
 * Fix Leviroth Self-Impale damage

Closes #6085

Signed-off-by: Shauren <[email protected]>
2012-04-21 12:17:45 +02:00
kaelima 9559a48877 Core/Spell: Attempt to fix some rare steady shot crashes
ref issue #5689
2012-04-21 02:42:59 +02:00
MrSmite e9fd6d1979 Fix pets attacking on non-harmful spells 2012-04-20 20:22:40 -04:00
Subv 50f2be538c Fixed build 2012-04-19 18:43:41 -05:00
Subv a5aba350a0 Core/SmartAI: Allow SMART_ACTION_SUMMON_GO and SMART_ACTION_SUMMON_CREATURE to use x, y, z and o parameters as relative offsets for a summoning position (example, summon creature 20 yards in front of the invoker)
Signed-off-by: Subv <[email protected]>
2012-04-19 18:33:25 -05: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
Frca 284894b20b Core: Do not set TeleportDestination as reference in WorldSession::HandleMoveWorldportAckOpcode()
Signed-off-by: Frca <[email protected]>
2012-04-18 15:10:00 +02:00
Shauren a483eb5f11 Core/Scripts: Added possibility to remove phase setting from EventMap and an empty-checking method 2012-04-18 12:45:58 +02: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 0980d26552 Merge pull request #6219 from Jayz33/master
Add warden documentation to ban reason
2012-04-16 09:50:13 -07:00
Joni a8ae4cf1e3 Add warden documentation to ban reason 2012-04-16 18:41:31 +02:00
Kandera bb97ff7601 Attempt on converting updatewaterstate for use with units (pets and vehicles) 2012-04-16 12:27:06 -04:00
Shauren 39b3589dcb Fixed Fixed broken compile 2012-04-15 17:41:37 +02: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 <[email protected]>
2012-04-14 20:08:16 -05:00
Nay 8a33ddc010 Core/BG: Fix a logic mistake in ResetStat timer
It should only be executed every 5 seconds, not in every update
2012-04-15 01:30:50 +02:00
Subv 8c3d0e2368 Core/Spells: Dont remove auras on stance change if the stance you are moving to is also allowed by the spell.
Closes #2758

Signed-off-by: Subv <[email protected]>
2012-04-14 14:51:59 -05:00
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