Commit Graph

1664 Commits

Author SHA1 Message Date
joschiwald
cd7ab6f3a5 Merge branch 'master' of github.com:joschiwald/TrinityCore into spellscripts
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
	src/server/scripts/Spells/spell_paladin.cpp
2012-05-28 04:27:51 +02:00
joschiwald
ca07f30d03 Core/Spells: convert some spell effects to SpellScripts 2012-05-28 04:07:51 +02:00
Kandera
4bdc557382 Core/Bags: cleanup random tab. check for item in bag slots for getitembyguid and getitemcountwithlimitcategory 2012-05-24 09:51:57 -04:00
Nay
b1179d8f49 Core/Bags: Do not allow multiple unique bags in bank bag slots
Existing multiple bags will be removed and items mailed
Kudos to micha
Closes #2786
2012-05-23 21:25:50 +01:00
kaelima
f424052f82 Core/Spells: Make spellclick spells non triggered 2012-05-23 14:28:38 +02:00
Kandera
df9791f1aa Core/Items: fix typo from previous commit (thx vincentmichael) 2012-05-22 14:05:53 -04:00
Kandera
99040237c7 Core/Items: correctly cast spells on item store. Closes #4208 2012-05-22 12:32:53 -04:00
kandera
3506e48e9e Merge pull request #6513 from Xanvial/glyph_of_tow
Core/Spell : Glyph of Totem of Wrath
2012-05-22 05:57:37 -07:00
kandera
fcfe552acd Merge pull request #6548 from Elron103/pull-requests
Core/Spells: Fix immunity checking for creatures (i.e. Mind Control)
2012-05-22 05:55:27 -07:00
Vincent-Michael
5a154ac272 Core/Spell: DK T10 Melee 4P is SPELL_AURA_PROC_TRIGGER_SPELL proc 2012-05-21 16:31:12 +02:00
Mik43l
388250961f [Core/Spell]: Fix Blessing of Ancient Kings (Val'anyr, Hammer of Ancient Kings) closes #6521 2012-05-20 22:09:12 +02:00
Nay
e56b2cdd59 Core: Fix a few compile warnings 2012-05-20 17:58:35 +01:00
Elron103
881138553b Core/Spells: Fix immunity checking for creatures (i.e. Mind Control) 2012-05-18 22:15:21 +02:00
Kandera
9e6a5593bd Core/Spells: if doneadvertisedbenefit is 0 gift of the naaru will never get the ap bonus. moved outside the check to fix. 2012-05-18 10:25:14 -04:00
Kandera
c6aa41cc10 Core/Spells: Revert previous commit. add exception for deep wounds in pct done aura modifiers. clean up heal bonus code to use the correct numerical types. 2012-05-17 10:41:21 -04:00
Kandera
ea4815b528 Core/Spells: change spell bonus damage taken pdamage to float to match melee damage bonus taken 2012-05-16 11:05:11 -04:00
kandera
0c3dbb3a57 Merge pull request #6522 from Vincent-Michael/TakenCalculation
Core/Spell: Fix SpellDamageBonusTaken calculation for negative value
2012-05-16 07:55:22 -07:00
Kandera
c70792df02 Core/Scripting: add the ability to access loot/go state changed events for gameobjects from cpp scripting. (malcrom's idea) 2012-05-16 08:47:43 -04:00
Vincent-Michael
b90cb5878d Core/Spell: Fix SpellDamageBonusTaken calculation for negative value 2012-05-15 23:43:06 +02:00
Kandera
c05c16a8de Core/Spells: more immunities fixes! mechanics are supposed to be checked for finding out if immune to the entire spell. 2012-05-15 15:07:53 -04:00
Kandera
648321e121 Core/Spelld: fix target selection for ground based aoe spells. use the center of the cast (dynamic object) instead of the caster for checking los 2012-05-15 13:26:15 -04:00
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
Xanvial
25f1c5a51d Core/Spell : Glyph of Totem of Wrath
Spell bonus granted by glyph should calculated based from summoned totem, not from player's aura
2012-05-14 12:15:57 +07:00
Vincent-Michael
ede623b473 Core/Spell:
* Fix SPELL_DAMAGE_CLASS_NONE calculation for SpellHealingBonusTaken
* Fix some codestyles
2012-05-13 21:07:59 +02:00
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
joschiwald
4e354d6ca9 Core/Spells: fix damage mods from caster on target 2012-05-11 22:43:06 +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
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
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
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
MacWarrior
58b05da8df Fix creature's save 2012-05-04 16:42:23 +03: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
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
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
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