Commit graph

7023 commits

Author SHA1 Message Date
Salja
66c52c748b [12183] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:00 +00:00
Salja
45f0facafe [12182] Crowd control spells PvP duration has been decreased to 8 seconds (down from 10) Thanks Shocker
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:59 +00:00
Yaki Khadafi
96891fb09f [12181] Missing change
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:58 +00:00
Yaki Khadafi
092052608f [12180] Fix bugs related to talent trees.
Implement mastery spells learn

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:58 +00:00
Salja
3cb9dd9eec [12179] Some missing "player_levelstats". Thanks Trinity
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:56 +00:00
Yaki Khadafi
119597fca8 [12178] Fix logic fail in IsNeedCastPassiveLikeSpellAtLearn
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:55 +00:00
Yaki Khadafi
5fe1d9806f [12177] Fix ObjectGuid::GetEntry
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:55 +00:00
Yaki Khadafi
8c61f1c3b2 [12176] Fix compile
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:54 +00:00
Yaki Khadafi
c166741bad [12175] Fix trade.
TODO: operate with 64-bit money amount

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:53 +00:00
Yaki Khadafi
fc28fef1c1 [12174] Fix not updated opcode structures
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:52 +00:00
Yaki Khadafi
372e8e04bf [12173] Some battleground changes
- bg list works
- placeholders for pvp rewards and rated bg stats packets
- other bg opcode changes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:51 +00:00
Salja
dcc57439a7 [12172] Struc Update for SMSG_PLAY_SOUND and Update + Enable SMSG_UPDATE_WORLD_STATE. Thanks Zakamurite
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:49 +00:00
Salja
26f25feda8 [12171] Fix linux build. Thanks Barmalley
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:48 +00:00
Schmoozerd
970f049799 [12170] Add support to link summoned npcs with following
Thanks to crackm for insisting that this needs a core change and testing
2020-02-16 20:41:47 +00:00
zerg
b8b907c138 [12169] Fix some problems detected by static code analysis 2020-02-16 20:41:47 +00:00
zerg
62118e099e [12168] Fix possible memory leaks in Outdoor PvP 2020-02-16 20:41:46 +00:00
Salja
404291248e [12167] Some Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:45 +00:00
Salja
6004b9f8b7 [12166] skip expansion races if not playing with expansion
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:44 +00:00
stfx
d22e1d3b7a [12165] Move opvpmgr based capture point saving / loading to opvp class
Also improve capture point locking code and fix saving lock state in NA and GH

Note: Keep in mind that capture points won't be activated before you call SetCapturePointSlider() function
2020-02-16 20:41:43 +00:00
Yaki Khadafi
4dcb91df9f [12164] Fix inspect honor kill stats, arena stats.
Fix SMSG_NOTIFICATION structure
Move back Updatehonorfields, too fastly removed
Define some pvp opcodes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:42 +00:00
Salja
f911964642 [12163] SMSG_GOSSIP_POI
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:41 +00:00
Salja
2bb6130e42 [12162] totem items are no longer needed. Thanks Sovak
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:40 +00:00
Yaki Khadafi
55ebf1b64f [12161] Update talents:
Fix talent learn
Fix talent reset
Fix talent inspecting

original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:38 +00:00
stfx
578c440902 [12160] Fix honor / reputation gains in AB and EY
Also fixes a typo of recent EY commit

Thanks Nay
2020-02-16 20:41:37 +00:00
stfx
061ca54cb0 [12159] Related bg cleanups of EY cleanup 2020-02-16 20:41:36 +00:00
stfx
975c2b1e1c [12158] Fix MSG_BATTLEGROUND_PLAYER_POSITIONS in BG - Eye of the Storm
This fixes map display of flag carrier
2020-02-16 20:41:35 +00:00
stfx
328a349a23 [12157] Merge Player::CanUseOutdoorCapturePoint into Player::CanUseCapturePoint 2020-02-16 20:41:35 +00:00
stfx
97f6703301 [12156] Improve BG - Eye of the Storm
* Use generic capture point code
* Fix sending netherstorm flag carrier state
* Update score only on resource tick
* Fix world state dummies
* Rather big cleanup
2020-02-16 20:41:33 +00:00
stfx
012c2ef51b [12155] Prevent saving/loading/init capture points in instances
Reason for this are:
1) We don't want them saved/loaded between bg games
2) Saving cp slider is done by go id and would not work for instances
3) There are visual-only capture points in bg (eots)
4) It would be possible to only enable the capture points on bg start

TODO: Move this to OutdoorPvP base class
2020-02-16 20:41:33 +00:00
stfx
522ccf02ae [12154] Add HandleEvent and HandleGameObjectCreate to battleground class 2020-02-16 20:41:32 +00:00
stfx
c8814791e1 [12153] Remove unneeded InBattleGround() as it is already checked by GetBattleGround()
Also call OutdoorPvP handlers before instance script ones
2020-02-16 20:41:31 +00:00
stfx
a53ac2aca7 [12152] Remove unused argument from OutdoorPvP::HandlePlayerKillInsideArea 2020-02-16 20:41:30 +00:00
Yaki Khadafi
f2cf0bcd19 [12151] Init currency week limits on new currency recieved
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:29 +00:00
Yaki Khadafi
8e5d609e1e [12150] Drop arena point distribution, implement currency week count reset.
- Fix missing currency load.
- Some cleanup.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:28 +00:00
Schmoozerd
7177f4cc07 [12149] Add some placeholders for missing target types 2020-02-16 20:41:26 +00:00
stfx
e0043ecc56 [12148] Improve BattleGroundAB::IsAllNodesControlledByTeam 2020-02-16 20:41:26 +00:00
stfx
caa36a0219 [12147] Fix a bg achievement due to a missing change of [12067]
Note: This is what override correctness is used for :)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:25 +00:00
Schmoozerd
705f716cb1 [12146] Implement spell 30769 2020-02-16 20:41:24 +00:00
Schmoozerd
c8ebd1678e [12145] Add new condition CONDITION_COMPLETED_ENCOUNTER
This condition returns true if a DungeonEncounter is done in this map.

value1, value2 are expected to be the IDs from DungeonEncounter(dbc)
value2 is optional, if both values are given, the condition will be true if one of the two DungeonEncounters are done.

Thanks to crackm for testing
2020-02-16 20:41:23 +00:00
Schmoozerd
d387c20dad [12144] Change behaviour of text selection for gossip menus
This way the behaviour will be well defined in case multiple conditions match.
Now the text with the highest condition-id will be taken.
2020-02-16 20:41:22 +00:00
Yaki Khadafi
796068fc13 [12143] Fix extendedCost
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:21 +00:00
Salja
0c8d8c67d8 [12142] Fix Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:20 +00:00
Yaki Khadafi
b4d7780f46 [12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work.
TODO: reward/take currencies from quests, take currencies with extended cost, reset currencies week count.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:19 +00:00
Salja
d8eb7327a1 [12140] Added NumTalentsAtLevel and TalentTreePrimarySpells DBCLoad Support. Thanks Trinity
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:18 +00:00
Yaki Khadafi
fe066cf94a [12139] Fix char save
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:17 +00:00
Yaki Khadafi
d1afa9743e [12138] Remove unused currencytoken and keyring player slots, remove support for no longer existant player currency and honor fields
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:16 +00:00
Yaki Khadafi
e5c63db259 [12137] Fix VC11 project
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Yaki Khadafi
faec714783 [12136] Fix typos
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Salja
05b6f3072b [12135] Fix SQL Problems
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:13 +00:00
Salja
dc47c070b3 [12134] Fix Build from Backport.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:11 +00:00