Commit Graph

20 Commits

Author SHA1 Message Date
ariel-
f20e53c138 Core/Entities: Replace existing GetAuraEffectsByType + iteration uses with proper helper functions
(cherry picked from commit 3a52ad8d38)
2018-03-12 16:39:39 +01:00
Mihapro
8199eef81c Core/Misc: Added helper function Unit::SetFullPower
* Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines

Ref #20981
2018-01-03 16:39:32 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
b453e12423 Core/Game: Include cleanup part 5
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
2200b4b0e1 Nopch fix 2017-05-24 21:30:43 +02:00
treeston
df0d32be81 Merge remote-tracking branch 'Treeston/3.3.5-kelthuzad' into 3.3.5 (PR #16634)
(cherry picked from commit 47a9cb1e56)

...Huh. Wonder how this one didn't make travis complain on the PR.
(cherry picked from commit 93a68d5881)

Was Travis completely napping on this one?
(cherry picked from commit 2d7dec0d39)
2017-02-18 15:57:19 +01:00
treeston
20ef64c8d8 AI/PlayerAI: Fix potential edge case crash.
(cherry picked from commit 2d2544fab0)
2017-01-12 00:02:30 +01:00
treeston
2b3cf3d480 AI/PlayerAI: Code style cleanup.
(cherry picked from commit e3aa19281f)

Build fix for horrendous, outdated, non-standards-compliant compilers. Such as the one in VS 2013. I hate VS 2013.

Closes #17260.
(cherry picked from commit 321d35417d)
2017-01-11 23:24:42 +01:00
treeston & Keader
0897042998 AI/PlayerAI: Finally implement cast logic for controlled players.
(cherry picked from commit 25c5570f47)
2017-01-11 22:41:30 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
f14c66b5e4 Core/Players: Updated talent specializations 2016-06-09 21:33:18 +02:00
jackpoz
b8f10a514f Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 3e73ba9da5)
2016-04-28 17:08:42 +01:00
Vincent-Michael
179b521dce Core: Remove whitespaces
(cherry picked from commit 5e74c2223b)
2016-04-09 17:14:08 +02:00
treeston
6eb49e4bb2 Unit/PlayerAI: Yeah, we allow charmer to be null now, should probably check for that.
Fixes and closes #16728.

(cherry picked from commit 49de12b1cf)
2016-04-08 23:58:45 +02:00
Aokromes
7c51859214 Core/Misc: Fix header
(cherry picked from commit 2eb9621f19)
2016-04-08 20:24:52 +02:00
Shauren
cc2a683193 Core/PlayerAI: 6.x specific spec checks 2016-04-08 20:21:44 +02:00
treeston
604d08db52 build fix
(cherry picked from commit d10c698430)
2016-04-08 20:18:07 +02:00
treeston
e394cd298b Core/PlayerAI: Some more helper methods added. Also, charmed players no longer break crowd control.
(cherry picked from commit a8f760b692)
2016-04-08 20:17:56 +02:00
treeston
f5a1b75fbd Core/PlayerAI: More follow-up. Helper functions and some internal cleanup.
(cherry picked from commit 5a3a21c2d0)
2016-04-08 20:17:40 +02:00
Treeston
adc7ee0c51 Merge pull request #16644 from Treeston/3.3.5-customcharmai
Core/UnitAI: Rework creature-controlled player behavior.
(cherry picked from commit 4e4b2b9a13)
2016-04-08 20:16:15 +02:00