Commit Graph

20949 Commits

Author SHA1 Message Date
Gooyeth
3cd7851cd9 Core/Battleground: resolve auto distribution of Arena Points (#21606)
* Core/Battleground: Fix Auto distribution arena points

* Oops xD
2018-04-09 16:53:41 +02:00
Shauren
4988d9d405 Warning fix 2018-04-07 21:57:47 +02:00
Shauren
b9c6bbb51d Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match what the client does regarding being inside WMOs
Closes #21625
Closes #21624
Closes #21516
2018-04-07 21:36:15 +02:00
Shauren
2dadbda24a Revert "Core/Entities: Reduce the probability of units dropping under the map (#21322)"
This reverts commit 9e0faace9a.
2018-04-07 21:36:14 +02:00
vincent-michael
5f897589f9 Core/Spells: Fixed non pch build 2018-04-07 21:32:10 +02:00
Treeston
74defba5a7 Core/Movement: Fix a potential crash on newly created pets. Closes #21791. 2018-04-07 17:23:26 +02:00
Treeston
4fc9b2cc94 Scripts/Paladin: Fix Righteous Defense. Closes #21765. 2018-04-07 01:38:59 +02:00
Shauren
454bae42c6 Core/Chat: Fixed chat link exploit
Closes #21790
2018-04-07 00:06:59 +02:00
Treeston
2a84562dc8 Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
- Chase to angle is now functional. Pets use this to chase behind the target. Closes #19925.
- Chase to arbitrary range interval works. Not used anywhere, but you can technically make hunter-like mobs.
- Pets now follow the hunter cleanly and without stutter stepping. Also fix some other things. Closes #8924.
2018-04-06 18:09:55 +02:00
ariel-
a413e7dee9 Core/Player: partial revert of m_items handling as it's cause of a exploit
Closes #21760
2018-04-04 15:42:58 -03:00
Keader
309738dc3e Core/Spells: Fix UNIT_CREATED_BY_SPELL in SPELL_EFFECT_SUMMON (#21756) 2018-04-03 08:28:41 -03:00
ariel-
6dd23da9e1 Core/Spell: build fix 2018-04-03 03:57:02 -03:00
ariel-
5dec0e491b Core/Spells: all bleed effects should ignore armor
Closes #21759
2018-04-03 03:15:06 -03:00
Gooyeth
2d6fa2108c adding braces 2018-04-03 00:36:02 -03:00
Gooyeth
a04e5f261c cosmetic change 2018-04-03 00:36:02 -03:00
Gooyeth
59c94b3a7d Fix build 2018-04-03 00:36:02 -03:00
Gooyeth
8001c5ead1 Adding atrribute custom SPELL_ATTR0_CU_LIQUID_AURA 2018-04-03 00:36:02 -03:00
Gooyeth
1ea75f413c improved fix 2018-04-03 00:36:02 -03:00
Gooyeth
cde629e3a1 tab2space 2018-04-03 00:36:02 -03:00
Gooyeth
a854261952 Core/Spells: don't save Magma aura. 2018-04-03 00:36:02 -03:00
ariel-
bcc7427fbc Core/Misc: whitespace/tab cleanup 2018-04-02 20:37:44 -03:00
Aokromes
20ed2bf4b5 Update World.cpp 2018-04-03 01:19:23 +02:00
JorTurFer
4dc28b4095 Update World.cpp
The command .ban character may insert the ban first, and update with the unban. This change fix it
2018-04-02 15:09:45 +03:00
tkrokli
f021d87913 Object.cpp: TC_LOG_ERROR grammar improvement
Bad English grammar previously used in the error log:
  "Attempt get value from non-existed value field"

After the change:
  "Attempt to get value from non-existing value field"
2018-04-02 11:24:11 +02:00
Treeston
e350cfc437 travis fix, ebc96af follow-up 2018-04-02 00:48:08 +02:00
Treeston
6939f4eb7b crash fix follow-up 2018-04-01 18:34:13 +02:00
Treeston
ebc96af6bb Core/Object: Bump hover delta handling on nearpoints downstack into GetNearPoint2D (from movement generators); functionality should be unchanged 2018-04-01 18:27:29 +02:00
Treeston
69143b949e you saw nothing, and have no evidence against me 2018-04-01 15:10:01 +02:00
Treeston
44502bbfff fb39980 follow-up 2018-04-01 14:20:06 +02:00
Treeston
4692e10ca2 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good. 2018-04-01 13:52:36 +02:00
Treeston
fb39980c52 Core/Position: code style cleanup of position.h; no change in functionality. 2018-04-01 13:21:20 +02:00
Gooyeth
768968f0c0 Core/Database: Add columns on *_banned (#21748)
* Add columns on ban character query

* Add columns on ban account query
2018-04-01 11:14:41 +02:00
DanVS
c2f1657988 [3.3.5] Scripts/Spells: handle auras on unequipping scripted items (#21643)
Ref: #20415
2018-03-31 09:13:33 -03:00
Keader
99993a7f62 Scripts/Magtheridon: Fixed Magtheridon inaccessible
Closes #21693
2018-03-26 16:24:46 -03:00
Gooyeth
f39919ca8c Core/ArenaTeam: Remove queues of members if a character is removed (#21491)
* Core/ArenaTeam: Remove queues of members when a character is removed from the team

* Remove only if you do not have an invitation

* If have an invitation, do not leave the team

* Send packet when leaving queue

* Fix build

* It's possible that there are two or more groups of arenas, then we eliminate from the queue only the members of the group that leaves the team

- Changed FindPlayer to FindConnectedPlayer for possible screen loads

* Change to FindConnectPlayer

The leader can remove while the player is loading screen.
2018-03-26 11:21:10 +02:00
Mikhail Redko
7c5b69d18b Core/Creatures: implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR (#21642)
* Add CREATURE_FLAG_EXTRA_NO_SELL_VENDOR and use it for a single no-sell vendor in game (there are more of them in later expansions)
2018-03-21 10:05:17 +01:00
Shauren
4af3c33d04 Core/Movement: Fixed chase distance calculation for hovering units
Closes #21668
2018-03-20 23:30:41 +01:00
ariel-
3670779e8e Core/Creatures: Minor HasSpell method cleanup
Cherry-picked improved from 5734788c02
2018-03-19 17:29:13 -03:00
ariel-
d88b50a6ad Core/Spells: fix another regression with arcane missiles being marked positive
Closes #21670
2018-03-19 17:28:04 -03:00
ariel-
f87da3a306 Scripts/ICC: use script searchers instead of saving list of creature pointers
Closes #21644
2018-03-19 14:59:26 -03:00
ariel-
07e42f7d41 Core/Spells: always initialize hitinfo aura
Ref 437c5c7b9d
2018-03-19 00:45:02 -03:00
ariel-
6eb122792c Scripts/Spells: fix Seaforium Blast script crash
Closes #21663
2018-03-18 16:08:36 -03:00
ariel-
437c5c7b9d Core/Spells: fix delayed hit aura crash
Closes #21664
2018-03-18 15:36:37 -03:00
ariel-
1c8d9af084 Core/Spells: autogenerate miss proc for spells with auras with hit chance -100
Closes #21629
2018-03-16 12:34:42 -03:00
ariel-
a35d0a5f56 Core/Entities: completely remove 60% melee miss cap as there is no proof of its existence
- Auras modifying hit chance should have full effect now

Ref issue #21629
2018-03-16 12:28:22 -03:00
ariel-
9e0a343f72 Core/Entities: don't skip immunity checks for positive spells
Closes #21626
2018-03-15 02:59:08 -03:00
ariel-
a60728b3d2 Core/Conditions: reserve sourcetype value 2018-03-15 02:21:48 -03:00
Shauren
ddd60a948c Buildsystem: Separate strict database type checks from TRINITY_DEBUG/WITH_COREDEBUG option 2018-03-14 20:50:54 +01:00
ariel-
9cc109fe3e Core/Player: properly clear m_items array when unequipping items from the bag
- Also cleanup weapon damage ap mult when direct destroying a equipped weapon
2018-03-14 11:57:51 -03:00
ariel-
8cf7eda8c1 Core/Entities: cleanup of weapon damage
- ScalingStatDistribution/Value (ie heirlooms): apply bonuses in all cases, some calls used nullptr (like after disarm) and item wasn't regaining them
- AP multiplier wasn't correctly reflected after unequipping a weapon
- Correctly set base damages at unequip

Closes #21610
2018-03-14 03:44:00 -03:00