Commit Graph

29105 Commits

Author SHA1 Message Date
ariel-
688e96fb4f Core/Unit: allow miss chance to exceed 60% cap with certain auras 2018-01-13 23:33:40 -03:00
ariel-
0e9b1635e0 Core/Unit: fix Sanctified Wrath (again)
- Actually only rank 1 was affected because of 50% reduction on rank 2
2018-01-13 21:59:20 -03:00
ariel-
22b24d8dae Core/Unit: fixed crash
Closes #21231
2018-01-13 21:36:06 -03:00
ariel-
d570e2af3e Core/Unit: simplified and arranged spell bonus calculation
- Remove duplicated SPELLMOD_BONUS_MULTIPLIER handling (both on done and taken)
- Handle properly bonus data, don't apply bonus by default, only player spells should take into account spell power
- Moved Earthliving Weapon coefficient to DB
- Refactored Avenging Wrath handling

Closes #13287
Closes #21230
2018-01-13 20:49:44 -03:00
ariel-
a305661785 Core/Scripts: fix Sanctified Wrath 2018-01-13 20:49:43 -03:00
ariel-
3b01cccd7e Core/Spell: SpellValueOverrides encapsulation
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct
2018-01-13 20:49:43 -03:00
ariel-
31a3a6f0c5 Core: fix non pch build, redux 2018-01-13 17:07:25 -03:00
Kittnz
46e1e35a88 fix non pch 2018-01-13 13:02:44 +01:00
Kittnz
a9c853ee3f Scripts/EasternKingdoms: implement Children of Goldshire event (#20745)
* Script: Implement Childeren of Goldshire

Notes: Need to update waypoints and default location of the childeren
http://wowwiki.wikia.com/wiki/Children_of_Goldshire
2018-01-13 12:22:36 +01:00
vincent-michael
5029a83962 Core: Fixed non pch build 2018-01-13 12:15:17 +01:00
ariel-
cb9e72e521 Core/Auras: removed caster dependency from core
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813) crit handling

Closes #19876
2018-01-13 06:45:21 -03:00
jackpoz
1c60af6328 Core/SAI: Add a 5th parameter to SAI events 2018-01-12 20:17:53 +01:00
Kittnz
acc73d4693 Scripts/Outland: Implement Hellfire event in Honor Hold (#21110)
* Script/Outland: Implement Hellfire event in Honor Hold

This is hourly, event is only 60 seconds long.
2018-01-12 19:27:56 +01:00
Killyana
bb228f7dda DB: Fix Some errors from the previous commit 2018-01-12 19:20:57 +01:00
Serpaa
ee52d2f0f4 DB/Spawns: Deatholme overhaul
Closes #21222
2018-01-12 19:10:06 +01:00
ariel-
f50a333418 Core/Misc: kill whitespace 2018-01-12 00:07:29 -03:00
lachtanek
c50aefac96 Core/Pools: Fixed spawning in pools with both explicitly and equally chanced entries (#21170) 2018-01-11 12:22:56 +01:00
Killyana
0e81c3e48d DB/Creature: Deatholme Necromancers and Deatholme Darkmage cosmetics
Closes  #21199
2018-01-10 20:50:01 +01:00
ZenoX92
4e60267581 DB/Misc: Hinterlands
Closes #21212
2018-01-10 19:17:40 +01:00
ZenoX92
0e2d862761 DB/Gossip: Ag'tor Bloodfist
Closes #21208
2018-01-10 18:50:02 +01:00
ZenoX92
f7fa04b8fa DB/Gossip: Witch Doctor Uzer'i
Closes #21209
2018-01-10 18:48:53 +01:00
Treeston
9104144766 kologarn unit_flags2 for difficulty_entry 2018-01-10 13:36:12 +01:00
Treeston
d9c772303c Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures. Add that flag to Kologarn (from sniff). Hi sirikfoll. 2018-01-10 00:19:00 +01:00
Treeston
b53cbf467b 3dcd49e v2, slightly cheaper 2018-01-09 23:56:17 +01:00
ZenoX92
2c0f12602a DB/Quest: Return to Witch Doctor Uzer'i
Closes #21210
2018-01-09 23:54:28 +01:00
ZenoX92
dede2503e0 DB/Quest: Emotes for Horde & Neutral quests in Desolace, Thousand Needles and Stranglethorn Vale
Closes #21211
2018-01-09 23:48:20 +01:00
Treeston
3dcd49ef90 Core/Threat: fix a potential super edge case iterator invalidation 2018-01-09 23:42:22 +01:00
Treeston
a23c97a0fc Scripts/World: New target dummy AI, because I don't trust the existing one in light of #21187. 2018-01-09 23:34:50 +01:00
tkrokli
b8edb89028 DB/Quest: Seeping Corruption (Part 1, 2 & 3)
Closes #21213
2018-01-09 23:32:23 +01:00
Treeston
45168f9612 nopch fix 2018-01-09 22:04:35 +01:00
tkrokli
e2666fff35 Update copyright note for 2018 follow-up
File missed in main 2018 copyright update, commit f6b6f57a6d

- revert link from collab.kpsn.org back to www.trinitycore.info for branch consistency
- also some minor whitespace edits
2018-01-09 21:02:38 +01:00
Treeston
d283f96f70 missing return 2018-01-09 18:23:50 +01:00
Treeston
a9bfc3b70d add update to auth_database base 2018-01-09 18:11:24 +01:00
Treeston
f45c211987 Scripts/Commands: New command: .debug threatinfo 2018-01-09 18:09:24 +01:00
Chaouki Dhib
274dede3dc Core/Movement: Correct the allowed distance to target before a repositioning is necessary. #20173
Also getting rid of the wordserveur config parameter 'TargetPosRecalculateRange' since it is no longer needed.
2018-01-08 22:31:30 +01:00
Shauren
c01d4ceadc nopch build fix 2018-01-08 20:40:53 +01:00
xinef1
23823f5147 Core/Spells: Defined and implemented some new spell attributes (#18950) 2018-01-08 20:31:21 +01:00
Keader
57672fdf25 Core/Spells: Fixed Shapeshift using macro
Close #21197
Author: lineagedr
2018-01-07 20:51:30 -03:00
kelno
70eb18d0e5 Core/Creature: improve DB linked_respawn handling (#21172)
* Fixed SetCreatureLinkedRespawn function possible erasing/replacing a GameObject link (instead of a creature one)
2018-01-08 00:32:22 +01:00
Treeston
f0a394753a 9ad11e6 follow-up, prevent Halion respawn without loot
tagging #21198
2018-01-07 23:13:20 +01:00
offl
b847f32b58 DB/Creature: Harbinger Skyriss
Closes #21168
2018-01-07 21:58:05 +01:00
Treeston
663a6f2f23 typo fix 2018-01-07 20:35:24 +01:00
Treeston
9ad11e67fb Core/Threat: Fix a potential exploit allowing players to damage a boss without them taking damage.
Scripts/Halion: General cleanup of old hacks no longer needed under new combat system.
2018-01-07 20:32:30 +01:00
Treeston
3bb33e3108 Core/Map: New Map::ForceRespawn to override objections and force a respawn (equivalent to force = true). Use this to fix various GM commands.
Scripts/Valithria: Fix an issue that could get the encounter stuck in an unloaded state.
2018-01-07 19:53:39 +01:00
offl
38d0c1e940 DB/Creature: Skulking Witch invisibility
- Greater Invisibility missing in Heroic mode
- replace Normal spell ID with sniff value

Closes #21166
2018-01-07 14:18:14 +01:00
Killyana
6345c1ca7f DB: Remove a wrong linked respawn 2018-01-07 13:13:46 +01:00
Keader
9e9253d92b DB/Creature: Ruby Sanctum boss/mini-boss white damage updates
Closes #11834
2018-01-07 12:37:20 +01:00
DanVS
01b18182c0 Core/Spells: Mana potions in druid forms (#21160)
* Fix mana potions in druid forms
2018-01-07 11:26:57 +01:00
meji46
509edd4312 DB/Creature: Fix mount condition for Stabled Argent Warhorse 2018-01-06 21:46:00 +01:00
Teppic1
1f0210bfe5 DB/Loot: Reference template 24077 corrections
Closes #21181
2018-01-06 20:47:15 +01:00