Commit Graph

23308 Commits

Author SHA1 Message Date
Shoxxo
fcc8d0c4d2 Core/config: add MonsterSight setting to worldserver.conf.dist
* Updated MonsterSight (What does it)

* Core/Worldserver: Update worldserver.conf.dist

Now it should be corectly ;)

* Relocated and renamed the MonsterSight!
2017-08-19 21:25:08 +02:00
joschiwald
6ff75a0345 Core/Misc: Removed obsolete comments 2017-08-19 19:08:43 +02:00
joschiwald
921fbc8148 Core/Spells: Renamed SPELL_AURA_ADD_CASTER_HIT_TRIGGER to SPELL_AURA_INTERCEPT_MELEE_RANGED_ATTACKS
* also removed obsolete intercept chance
2017-08-19 18:11:30 +02:00
Shauren
7eab6dbb95 Tools/Extractors: Implement proper installed locale detection 2017-08-18 16:45:36 +02:00
Shauren
43d268d75c Core/PacketIO: Renamed "movementInfo" to "Status" in movement packets in effort to preserve original naming (and to follow codestyle for naming public data members) 2017-08-16 23:22:41 +02:00
Shauren
9711dd3f70 Core/Networking: Activate single threaded optimization for io_service running in NetworkThread 2017-08-15 23:55:41 +02:00
joschiwald
f5ef48d188 Core/Spells: Defined SPELL_AURA_PREVENT_INTERRUPT and SPELL_AURA_PREVENT_CORPSE_RELEASE 2017-08-14 21:03:32 +02:00
Aokromes
27e4746ea2 Scripting: Clean up of magic numbers
By Malcrom
2017-08-14 13:44:25 +02:00
Rochet2
e5b9c207f8 Core/Creatures: Implement a general way to store selection data for gossip and fix trainer exploit (#20085)
* Implement mail check
* Implement CloseInteraction packet
2017-08-13 23:42:02 +02:00
ariel-
f17cb00ee3 Core/Unit: fix weapon skill up.
Closes #18044

(cherry picked from commit 5b7078c30a)
2017-08-13 15:24:53 +02:00
ariel-
d5c7675bcc Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell
Closes #17961

(cherry picked from commit b5e8e0a5db)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuraEffects.h
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Auras/SpellAuras.h
#	src/server/game/Spells/Spell.cpp
#	src/server/scripts/Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp
#	src/server/scripts/Spells/spell_priest.cpp
2017-08-13 15:14:21 +02:00
ariel-
2b8af950da Core/Scripts: add a workaround for Will of the Forsaken shared cooldown
Closes #7151

(cherry picked from commit d482b0e368)

# Conflicts:
#	src/server/scripts/Spells/spell_generic.cpp
2017-08-13 13:04:07 +02:00
ariel-
ed6cf717c8 Core/Spells: add Target Processing (SMSG_SPELLLOGEXECUTE) to LAUNCH_TARGET phase.
Move EffectInterruptCast to LAUNCH_TARGET Phase.

Closes #3718
Closes #6042

(cherry picked from commit d9e4c8e04f)

# Conflicts:
#	src/server/game/Spells/Spell.cpp
2017-08-13 12:57:27 +02:00
ariel-
cc82951ff0 Core/Spells: add proc cooldown on item equip.
(cherry picked from commit 016b31a1b6)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-08-13 12:51:43 +02:00
joschiwald
1f8fc55ac9 Core/Spells: Implementation of QAston proc system (#20131)
* Core/Spells: Implementation of QAston proc system

- Move checks from Unit::IsTriggeredAtSpellProcEvent (old system) to Aura::IsProcTriggeredOnEvent (new system)
- killed charge counter from SpellModifier and Player system for handling charges... no point in having 3 different systems doing the same thing
- Automatically add default entries to spellProcMap, based on spellinfo (else auras won't proc without an entry) Based on old Unit::ProcDamageAndSpellFor
- Old Unit::ProcDamageAndSpellFor renamed to Unit::ProcSkillsAndReactives and made private, will no longer handle auras.
- Start making use of HealInfo::AbsorbHeal in unit calculations, add effective healing info to HealInfo struct
- Changes in spell reflection system, emulates old behaviour, delaying aura drop
- Removed old charge count hacks in SpellMgr::LoadSpellInfoCorrections
- Removed bogus error log when procChance is 0: Some auras have initial 0 procChance but modified by SPELLMOD_CHANCE_OF_SUCCESS
- Fixed TriggerAurasProcOnEvent logic that tried to trigger twice from actor.
- Allow non damaging spells with DamageClass Melee or Ranged to proc character enchants. Ref issue #17034:

  * http://web.archive.org/web/20110309092008/http://elitistjerks.com/f47/t49865-paladin_retribution_pve/
  * When an auto-attack lands (does not dodge/parry/miss) that can proc a seal the of the following things happen independently of each other (see 2 roll system).

  * 1) A "hidden strike" which uses melee combat mechanics occurs. If it lands it refreshes/stacks SoV DoT. Only white swings can trigger a refresh or stack. (This hidden strike mechanic can also proc things like berserking..)
  * 2) A weapon damage based proc will occur if you used a special (CS/DS/judge) or if you have a 5 stack (from auto attacks). This attack can not be avoided.

  * Holy Vengeance is the "hidden strike" it has an apply aura effect and damage class melee.
- Fixed Blood Tap interaction with Death Runes (btw, don't know what was going on with those MiscValueB, spell 45529 doesn't have any MiscValueB in SPELL_EFFECT_ACTIVATE_RUNE)
- Ported some AuraEffect checks from old Unit.cpp function. added new AuraScript hook to check procs of an specific effect
- Allow only AuraEffects that passed the check to proc, this won't block whole aura from proccing (and lose charges) if at least one of the effects procs, though
- Changes in spell mod system (for SPELLMOD_CASTING_TIME). fixes #17558.
- Added an exception for SPELLMOD_CRITICAL_CHANCE too, fixes #15193

(cherry picked from commit e641d0c7d7)

# Conflicts:
#	sql/base/auth_database.sql
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Auras/SpellAuras.h
#	src/server/game/Spells/Spell.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellMgr.cpp
#	src/server/game/Spells/SpellMgr.h
#	src/server/game/Spells/SpellScript.cpp
2017-08-13 12:03:43 +02:00
joschiwald
cb4dd92629 Core/Spells: Defined SPELL_AURA_ALLOW_TALENT_SWAPPING 2017-08-10 20:58:35 +02:00
hondacrx
10e81a9933 Core/Guild: Fixed GuildAddRank structure (#20115) 2017-08-06 21:25:11 +02:00
Shauren
4e3f3b7d68 Tools/Extractors: Fixed mapextractor getting stuck on some files and writing them infinitely (it will now fail fast) 2017-08-06 18:28:29 +02:00
joschiwald
3eedb3b714 Tools/MapExtractor: Fixed -e argument 2017-08-06 18:21:09 +02:00
joschiwald
16f2673343 Core/Packets: Fixed possible crash in SandboxScalingData::GenerateDataForUnits 2017-08-06 18:08:07 +02:00
Caydan
32bbdcae3f Handlers/Chat: Pass correct argument to CreatureAI::ReceiveEmote (#20109) 2017-08-04 02:26:50 +02:00
joschiwald
30d6a70f2d Core/Battleground: Fixed typo in be144b2fd8 2017-08-03 19:04:00 +02:00
Shauren
fac8ccf7e0 Core/Creatures: Trainer followup
* Drop unused columns
* Send proper spellid in packets for profession ranks
* Added missing rank check
2017-07-31 19:53:02 +02:00
vincent-michael
e7c22cbfb5 Core/Spells: SPELL_AURA_MOD_SPELL_CATEGORY_COOLDOWN are now scalable auras 2017-07-31 17:08:26 +02:00
joschiwald
43c3a78079 Core/LFG: Fixed role check cancel time 2017-07-30 14:58:42 +02:00
joschiwald
6f8b60101f Core/Misc: Fixed armor mitigation after 5675902485
* Also fixes gcc build with -Werror enabled
2017-07-30 13:11:43 +02:00
Seyden
5675902485 Core/Creatures: Implemented Basic Creature Scaling (#20026) 2017-07-29 21:40:28 +02:00
joschiwald
7e4f607851 Core/Spells: Renamed SPELL_EFFECT_CREATE_MANA_GEM to SPELL_EFFECT_RECHARGE_ITEM 2017-07-29 18:01:12 +02:00
joschiwald
19dcae0dd4 Core/Players: Fixed typo in appearance validation
Closes #20088
2017-07-28 00:31:26 +02:00
joschiwald
0c95c14938 Core/DataStores: Fixed SpellPowerEntry structure
* ManaCosts are signed
2017-07-27 22:46:13 +02:00
Rochet2
7c39123432 Core/Commands: Fix .modify mount (#20086) 2017-07-27 21:09:48 +02:00
Shauren
ac7b842ed0 Build fix 2017-07-27 18:23:42 +02:00
joschiwald
b9c3608259 Core/Spells: Defined TARGET_GAMEOBJECT_CONE_109
Also removed some wrong SpellInfoCorrections
2017-07-27 16:32:57 +02:00
joschiwald
be144b2fd8 Core/Battleground: Small BattlegroundScore refactoring 2017-07-27 01:19:12 +02:00
Shauren
b85d46138b Core/Creatures: Deleted obsolete pet trainer script and fixed build 2017-07-27 00:04:37 +02:00
Shauren
0cd5179726 Core/Creatures: Rewrite trainer handling to properly support multiple trainers on the same creature
* Trainers are now defined as templates (sniffable), assigned by gossip options
2017-07-26 00:53:51 +02:00
joschiwald
9cb4a265a3 Misc: Fixed misleading indentation 2017-07-25 00:02:13 +02:00
Shauren
3107dfe3e7 Core/Creatures: Allow talent reset gossip from level 15 instead of 10 since that is when first talent is available 2017-07-24 23:24:32 +02:00
Shauren
fdd9227b23 Core/Misc: Util changes
* Move IteratorPair to its own header
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
2017-07-23 23:32:20 +02:00
Malcrom
acbc3f5a68 Core/Smartscripts: Add respawn timer to smartscript despawn (#20070) 2017-07-22 22:34:23 +02:00
joschiwald
ef5c5ed9d9 Core/Spells: Removed SpellInfoCorrections of removed spells 2017-07-22 20:00:42 +02:00
zori
289c546f17 Core/Instances: Fix typo from commit 358b33239a (#20068) 2017-07-22 15:49:52 +02:00
joschiwald
080db6c99c Core/AreaTrigger: Changed the way how AreaTriggers select enemies and friends 2017-07-22 11:17:46 +02:00
Rochet2
211b564894 Scripts/Commands: Fix trinity_string usage and enhance commands 2017-07-22 09:22:17 +02:00
Shauren
0feb56e2c7 Core/Bnet: Fixed login after gSOAP update 2017-07-21 00:36:03 +02:00
Shauren
120d2ebe4f Core/PacketIO: Initialize arrays of primitive types 2017-07-20 21:54:36 +02:00
Seyden
a9174d5eb7 Core/Scripts: Implement generic script loaders (and script registry macros) to greatly reduce code duplication (#19526) 2017-07-20 00:15:02 +02:00
Shauren
a6e46c1c2e Buildsystem: Fixed windows pch build with ninja 2017-07-19 21:37:42 +02:00
joschiwald
33478689bb Core/Spells: Defined SPELL_AURA_MOD_DAMAGE_PERCENT_DONE_BY_TARGET_AURA_MECHANIC 2017-07-18 18:19:07 +02:00
joschiwald
8e71051de5 Core/Spells: Allow TARGET_UNIT_CHANNEL_TARGET to target players
(broken in c0eb6c3130)
2017-07-18 17:00:55 +02:00