Commit Graph

4069 Commits

Author SHA1 Message Date
joschiwald
ca07f30d03 Core/Spells: convert some spell effects to SpellScripts 2012-05-28 04:07:51 +02:00
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
Kandera
d6d45633c8 Core/Commands: Add level 3 command for setting npc data. used for testing scripts. 2012-05-09 10:29:06 -04: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
6c15bee884 Core/AI: fix the call to help handler to use distance from the npc and not the victim of the npc. (thx shauren) 2012-05-08 09:17:04 -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
Svannon
7386aafaf6 Core/AI - Fix Evade Bug 2012-05-07 16:57:28 -06:00
kaelima
7be70393e5 Movement/WaypointGenerator: Fix issue where waypoints with delay always would turn to 0.0 orientation 2012-05-07 14:33:24 +02:00
kaelima
f34e650fe0 Core/Accounts: Delete all bans related to an account when it has been deleted. 2012-05-06 02:37:31 +02:00
Chaplain
d94a89c465 Clean misused m_canBeRecalculated.
*When we solve problem with m_amount we could make right solution for caster/victim damage calculation.
2012-05-04 18:35:11 +03:00
MacWarrior
58b05da8df Fix creature's save 2012-05-04 16:42:23 +03:00
kandera
a8a5b5a8f0 Core/Seasonal: move quest resetting to the beginning of the event. 2012-05-03 12:45:28 -03:00
Amit
a12faa5e9d Fix log typo with spell_group at SpellMgr.cpp 2012-04-30 13:53:25 +03:00
kaelima
7f51c399c6 Core/DBLayer: CHAR_DEL_CHAR_AURA_FROZEN query should be asynchronous
Closes issue #6273

Also corrected one opcode name in Opcodes.cpp (changes nothing)
2012-04-30 02:07:59 +02: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
b899f5fc94 Core/SpellScripts: rename GetTarget*() functions to GetExplTarget*(), so the names reflect better what those functions do. Also update some comments. 2012-04-28 14:55:14 +02:00
QAston
4b5e763d21 Merge pull request #6368 from Vincent-Michael/disengage
Core/Spell: Fix not using Disengage while rooted
2012-04-28 04:57:45 -07: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
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 <killerfrca@gmail.com>
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 <shauren.trinity@gmail.com>
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 <s.v.h21@hotmail.com>
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 <killerfrca@gmail.com>
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