Commit Graph

5511 Commits

Author SHA1 Message Date
kaelima
b72c690905 Fixed compile 2012-05-15 00:03:18 +02:00
Kandera
124c65ad80 fix compile warnings from 548ac10 2012-05-14 15:28:31 -04:00
Kandera
cd06bb9377 Core/Spells: fix possible crash from not having any effect and trying to check if immune. fixes non effect spell mechanic checking for spells with both spell mechanics and effect mechanics 2012-05-14 15:24:48 -04:00
Kandera
06e019b722 Core/Entities: move spellproto check to the outside of the forloop to not has crashes 2012-05-14 14:23:21 -04:00
Kandera
548ac10879 Core/Entities: fix calculations for damage taken/done with negative values (should go into effect) and correctly implement SPELL_ATTR6_NO_DONE_PCT_DAMAGE_MODS. small cleanup 2012-05-14 14:11:02 -04:00
kandera
b01cca9bbc Merge pull request #6511 from Vincent-Michael/SpellHealingBonusTaken
Core/Spell: Fix SPELL_DAMAGE_CLASS_NONE calculation for SpellHealingBonusTaken
2012-05-14 06:49:12 -07:00
Malcrom
1e090715c4 Merge branch 'master' of git://github.com/TrinityCore/TrinityCore 2012-05-14 07:19:05 -02:30
Malcrom
06c4917568 Cote/Scripts: Fix build for boss_yoggsaron 2012-05-14 07:18:06 -02:30
Subv
e74135946d Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-05-13 19:40:05 -05:00
Subv
1a06e197fd Core/Spells: Proc the spells that have DEST target when there is no other target info
Closes #6443
Closes #6277
Closes #6331

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-05-13 19:39:06 -05:00
Malcrom
72d00c476c Core/scripts: Add spell enums for boss sara. 2012-05-13 21:43:37 -02:30
Malcrom
e144b8e3be DB/creature_text: Added creature text for Boss Sara. 2012-05-13 20:30:11 -02:30
Vincent-Michael
ede623b473 Core/Spell:
* Fix SPELL_DAMAGE_CLASS_NONE calculation for SpellHealingBonusTaken
* Fix some codestyles
2012-05-13 21:07:59 +02:00
Malcrom
fa7e9d3c0d Core/Scripts: And some Gameobject enums for future scripting of Blackrock Spire. 2012-05-13 15:14:32 -02:30
Subv
8e8cde50f0 Merge pull request #6509 from Vincent-Michael/spellSystem
Core/Spell: Fix Nourish heal calculation
2012-05-13 10:34:46 -07:00
Malcrom
42b0dfc94f Core/Scripts: Update text for Garfrost to creature_text. Added some missing text & added call for help to aggro. 2012-05-13 14:36:24 -02:30
Vincent-Michael
e122f9fd30 Core/Spell:
* Fix Nourish heal calculation
* Fix some codestyle
2012-05-13 18:08:57 +02:00
kaelima
a1ff27a1c6 Core/Threat: Some corrections to 5709929d2b
Fixes HandleChannelDeathItem (spells such as Drain Soul), which got broken by moving m_deathState = s, thanks Shauren
2012-05-13 17:47:27 +02:00
QAston
e5268ba0b5 Merge pull request #6502 from Vincent-Michael/SPELL_DAMAGE_CLASS_NONE
Core/Spell: Fix some problems with spells calculation
2012-05-13 07:52:14 -07:00
Vincent-Michael
79a735fb01 Core/Spell:
* Fix Spells with DmgClass SPELL_DAMAGE_CLASS_NONE
* Fix SPELL_AURA_PERIODIC_HEAL calculation
* Fix Swiftmend heal calculation
* Fix some codestyle
2012-05-13 16:29:01 +02:00
Malcrom
5709929d2b Core/Threat: Fix by faq.
Turning gm on, now drops threat.
Dead mobs no longer holds threat on player.
Also fixed some Engrish.
2012-05-13 11:33:42 -02:30
Shauren
024a39af9f Core: Tweaked ASSERT macro a bit - removed library assert as on Windows platforms it calls abort() and does not generaty crash dump files. 2012-05-12 21:11:41 +02:00
Malcrom
fa3ee22849 Core/Script: Optimize code for previous commit for Pit of Saron. 2012-05-12 12:49:36 -02:30
Malcrom
8a1417ae75 Core/Scripts: Fix for previous 2012-05-12 12:23:21 -02:30
Malcrom
d770c125e9 Core/Scripts: Fix Halls of Reflection Portcullis door in Pit of Saron.
Now requires Tyrannus boss kill to open.
2012-05-12 12:19:41 -02:30
joschiwald
4e354d6ca9 Core/Spells: fix damage mods from caster on target 2012-05-11 22:43:06 +02:00
Shauren
d8a1a0e05a Scripts/Pit of Saron: Unlock passage to Tyrannus after first 2 bosses are down. 2012-05-11 13:12:09 +02:00
Chaplain
469ba0b0e7 Clean up for 58f63509cd
*restore const methods in spellauraeffects
*fix typo in Unit::CalculateMeleeDamage thx bytewarrior
*minor speed up in SpellInfo::GetMaxTicks() thx Warpten
*deleted duble ';;' thx bytewarrior
*speed up in SpellInfo::GetMaxTicks() thx goes to Vincent-Michael
2012-05-10 20:42:07 +03:00
Discover-
5057a8156d Scripts/Quests: Fix compile from 0ecd9e72d0 - sorry guys.
Thanks @Vincent-Michael.
2012-05-10 13:52:22 +02:00
Discover-
70739ec9de Scripts/Commands: Fix compile under Linux (d6d45633c8).
Credits go to @PuniCZ
2012-05-10 13:50:22 +02:00
Discover-
0ecd9e72d0 Scripts/Quests: Script quest Leave Nothing to Chance.
Closes #1863
Closes #3087
Closes #2061
2012-05-10 13:43:40 +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
0f3db42ffc Core/Commands: fix build error with non-pch builds 2012-05-09 12:14:31 -04: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
cb36825a3a Script/Wormhole: Correct randomize logic for underground option 2012-05-09 13:49:49 +02:00
kaelima
d50b23d9f9 Core/Transport: Set GAMEOBJECT_FLAGS from DB for transports, not hardcoded 2012-05-09 03:08:34 +02:00
kaelima
7d561c884e Correct typo from 1af30a9ea2 2012-05-09 02:25:46 +02:00
kaelima
1af30a9ea2 Scripts/Wormhole: Add rare 6th option to "Underground". Fixed some teleport positions (from sniffs)
And made some random cleanup for npc_shadowfiend and npc_lightwell
2012-05-09 01:48:42 +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
Malcrom
85ca26c382 DB/SAI: Add SAI for Wrathbone Laborer, fix unit flags, remove cpp script. 2012-05-05 23:37:14 -02:30
kaelima
f34e650fe0 Core/Accounts: Delete all bans related to an account when it has been deleted. 2012-05-06 02:37:31 +02:00
Malcrom
706a2d4175 Core/Scripts: Remove core Forge of Souls trash scripts now done in SAI. 2012-05-05 12:37:27 -02:30
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