Shauren
55ef8d80a3
Core/Utils: Moved rng functions to separate header and added utility functions to select a random element from a container where each element can have different chance of being selected
...
(cherry picked from commit ae20b2ab56 )
(cherry picked from commit 921d893c2a )
(cherry picked from commit 9ab10d6e68 )
(cherry picked from commit 00c878e73a )
(cherry picked from commit ff9c999334 )
(cherry picked from commit bc94bacce4 )
(cherry picked from commit d5b0ffbe9b )
2016-02-09 19:26:29 +01:00
Shauren
761c82e65a
Core/Maps: Use IsValidMapCoord for checking Z coord instead of just std::isfinite - only acceptable values are between -17066.6656 and 17066.6656
...
(cherry picked from commit 4d956c89fc )
2016-02-09 19:18:05 +01:00
Shauren
25cdc5d980
Core/Maps: Parse MFBO adt chunk to properly handle height where player counts as falling under the map
...
* This fixes the height at which player is instantly killed when falling from The Frozen Throne
* Set PLAYER_FLAGS_IS_OUT_OF_BOUNDS on players under the map to enable release spirit button while still falling
Note: Extracting new maps is required
(cherry picked from commit 4f78efd463 )
# Conflicts:
# dep/PackageList.txt
# src/server/game/DataStores/DBCStructure.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Handlers/MovementHandler.cpp
# src/tools/map_extractor/CMakeLists.txt
# src/tools/map_extractor/System.cpp
# src/tools/map_extractor/adt.h
# src/tools/map_extractor/loadlib.cpp
2016-02-09 18:44:19 +01:00
Shauren
aa432db36d
Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
...
Note: Extracting maps is required
(cherry picked from commit db0b8bf24e )
# Conflicts:
# src/server/game/Achievements/AchievementMgr.cpp
# src/server/game/Chat/Chat.cpp
# src/server/game/Conditions/ConditionMgr.cpp
# src/server/game/DataStores/DBCStores.cpp
# src/server/game/DataStores/DBCStores.h
# src/server/game/DataStores/DBCfmt.h
# src/server/game/Entities/Player/Player.cpp
# src/server/game/Globals/ObjectMgr.cpp
# src/server/game/Handlers/BattleGroundHandler.cpp
# src/server/game/Handlers/MiscHandler.cpp
# src/server/game/Maps/Map.cpp
# src/server/game/Spells/Spell.cpp
# src/server/game/Spells/SpellEffects.cpp
# src/server/scripts/Commands/cs_go.cpp
# src/server/scripts/Commands/cs_group.cpp
# src/server/scripts/Commands/cs_lookup.cpp
# src/server/scripts/Commands/cs_misc.cpp
# src/tools/map_extractor/System.cpp
# src/tools/mmaps_generator/TerrainBuilder.cpp
2016-02-09 18:19:28 +01:00
Keader
61f92b9a89
Core/Spells: Fixed Totemic Mastery (Tier 6 2P) Shaman
2016-02-08 22:28:47 +01:00
Rushor
40814c27b5
Merge pull request #16493 from Rushor/KingofEssos
...
[3.3.5][6.x] DB/Quest: King of the Foulweald - Improve Questevent
2016-02-08 19:52:49 +01:00
Rushor
644b9dcd59
DB/Quest: King of the Foulweald - Improve Questevent
...
* closes #2381
2016-02-07 14:05:16 +01:00
Vincent-Michael
96cb26de28
Scripts: Fixed warning
2016-02-06 22:12:44 +01:00
Kittnz
add2179b75
Build fix
2016-02-06 22:03:24 +01:00
Kittnz
5650b9deb2
Pet/Misc: Implement Pandaran Monk followup
2016-02-06 21:58:16 +01:00
Kittnz
64d1addbbf
Pet/Misc: Implement Pandaran Monk's pet abilitys
2016-02-06 21:55:54 +01:00
Rushor
c560cb0a0c
Scripts/Northrend: Knockbackimmunity Cleanup
2016-02-06 18:17:16 +01:00
joschiwald
b259d5c2bc
Scripts: addition to 8b6954e81b
...
Closes #16466
2016-02-06 17:26:27 +01:00
Treeston
e3d52990dd
Merge pull request #16433 from Tonghost/3.3.5
...
[3.3.5][6.x] Core/Creature: Do not load equipment with id = 1 when creature.equipmen…
2016-02-06 16:36:53 +01:00
Treeston
6d8e39f59c
Merge pull request #16410 from sirikfoll/Strand
...
Core/Achievement Fix Achievement Defense of the Ancients
2016-02-06 16:35:33 +01:00
treeston
e064000a35
Code style, urand -> urandms.
2016-02-06 15:24:39 +01:00
Kittnz
57a5879070
Fix build & tabs
2016-02-06 15:17:09 +01:00
Kittnz
859b617613
Pet/Misc: Implement Egbert's running around
...
Closes #16479
2016-02-06 15:06:17 +01:00
Vincent-Michael
d1a185e3d5
Scripts: Added missing override
2016-02-05 21:57:05 +01:00
Rushor
f3fbb49df5
Merge pull request #16472 from Rushor/immunity
...
Core/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
2016-02-05 21:46:37 +01:00
treeston
0813261c6f
Merge branch '3.3.5-toytrain' into 3.3.5 (PR #16218 )
2016-02-05 15:11:22 +01:00
pete318
3aaeb57405
Implement AuctionHouse features: GetAll scan and search throttling
...
Implements two standard features of the Auction House.
* GetAll scan, retrieves all auctions and sends them in a single packet.
There's a limitation on how often a player can do this (Max 55000 items)
* Search throttling. For normal searches, the server can send a time
in milliseconds to the client, the client will wait that long between
searches. Delay set in config
Closes #16469
2016-02-05 15:01:59 +01:00
MitchesD
ccad18b62d
Merge pull request #16262 from sirikfoll/Torch
...
Core/Scripts Script Npc needed for Quest Torch Tossing, Part 2
2016-02-04 21:10:22 +01:00
joschiwald
8b6954e81b
Core/Gossips: added some sanity checks to prevent duplicate interaction
2016-02-04 20:43:28 +01:00
Rushor
110e0fd092
Game/Creature: Implement CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
...
* updates #16423
2016-02-04 15:46:23 +01:00
pete318
fe2a0fda44
Prevent duplicate spawns for same spawn ID
...
If there is an alive instance of the creature upon creature spawn, skip
spawn entirely. If there are only dead instances, despawn them. A new dead
corpse in the creatures home position will be respawned.
Closes : #16462
2016-02-03 19:27:36 +01:00
Shauren
4611125339
Merge pull request #16465 from Keader/rapture
...
Core/Spells: Fixed cooldown check for Rapture (Priest) talent
2016-02-03 15:57:11 +01:00
Keader
7093c0c769
Fix cooldown check talent Rapture (Priest)
2016-02-03 10:43:57 -03:00
treeston
bf31f26e8c
fix crash
2016-02-03 11:15:09 +01:00
Treeston
d5868a7db3
Merge pull request #16345 from Trisjdc/creature_flag_reset_on_respawn
...
Core/Creatures: Reset unit flags/dynamic flags on Creature::SetDeathState(JUST_RESPAWNED)
2016-02-02 20:36:39 +01:00
treeston
9d932e7f0c
Merge remote-tracking branch 'tkrokli/npc_disciple_of_naralex' into 3.3.5-base (PR #16437 )
2016-02-02 18:15:00 +01:00
treeston
bac463c481
Merge branch '3.3.5-noplayerdamagereq' into 3.3.5-base (PR #16257 )
2016-02-02 18:10:18 +01:00
tkrokli
627ec0e35e
Core/Scripts/Uldaman: change hardcoded text to enum
...
Change #define to enum {with brackets}
Possibly the smallest change so far in this series of core script changes.
2016-02-01 22:07:47 +01:00
tkrokli
bc03fedf6d
Core/Scripts/DB: remove hardcoded text from 'npc_disciple_of_naralex'
...
- moved 2 #define text lines to enum, already in npc_text
- new gossip_menu_option for NPC 3678 Disciple of Naralex
- using `ADD_GOSSIP_ITEM_DB` instead of `ADD_GOSSIP_ITEM`
Tested on both alliance and horde characters, works just like before.
2016-02-01 02:31:19 +01:00
Incorrect
cc3ae640a4
Core/Creature: Do not load equipment with id = 1 when creature.equipment_id is 0
...
Closes #16416
2016-01-31 17:09:58 +02:00
treeston
815f43be7a
Scripts/UtgardeKeep: Bonus Ingvar the Plunderer fixes to reset behavior. There should no longer be weirdness if a reset happens during the RP phase.
2016-01-31 15:14:01 +01:00
treeston
c829fc7de4
Scripts/UtgardeKeep: Ingvar updates:
...
- Roar at start of phase two
- Ingvar no longer does a weird move-jump towards his target when resurrecting
- Fixed a duplicate yell on phase one end
2016-01-31 14:27:18 +01:00
Killyana
789470ccf1
Spell/Script: Safirdrang's Chill
...
Updates #4841
2016-01-30 15:20:14 +01:00
treeston
f0b9ee157b
Fix warning.
2016-01-30 00:48:47 +01:00
treeston
d795bd8040
Merge remote-tracking branch 'tkrokli/npc_parqual_fintallas' into 3.3.5-base (PR #16384 )
2016-01-30 00:31:38 +01:00
jackpoz
d75469e31f
Scripts/Deadmines: Fix issues reported by static analysis
...
Fix Coverity issue id 1022474
2016-01-30 00:13:22 +01:00
tkrokli
7a101bcf00
[3.3.5] Core/Scripts/DB: move core script 'npc_parqual_fintallas' to SAI
...
Additional change: menu options are changed from containing only names
to include the text " is my answer.", based on the lines in `broadcast_text`.
- replaced core text with DB SAI script
- created DB creature_text entries for Parqual Fintallas
- created DB gossip_menu_option entries for the NPC
- implemented NPC say lines in reply to all the answers
- added conditions for which gossip should show, depending on quest status
- added conditions to avoid exploits in the time it takes for NPC to say his texts
This PR is tested several times on a horde character (horde-only quest).
It now works as originally intended, with option-specific NPC replies.
2016-01-29 23:26:08 +01:00
sirikfoll
5cf794b379
Fix Achievement Defense of the Ancients
...
The spell that trigger the achievement check, needs to be cast before setting up the variables used for the second round, otherwise the achievement will be granted to the wrong team.
Also, SPELL_END_OF_ROUND needs to be casted on the end of the second round too, this was confirmed in retail.
2016-01-28 21:46:03 -02:00
Keader
36648d1079
Fix Kinetic Bomb stuck after knockback effect.
2016-01-28 17:20:41 -03:00
Treeston
942403be0c
Merge pull request #16314 from Treeston/3.3.5-fixgroupcredit
...
Player/Quest: Fix GO group credit
2016-01-28 13:39:29 +01:00
Treeston
af62cf5939
Merge pull request #15033 from tkrokli/absorb_ignoring_damage
...
Unit/CalcAbsorbResist: Sanctified Wrath should pierce absorb effects
2016-01-28 13:32:53 +01:00
treeston
dbf9f58351
Merge remote-tracking branch 'ariel-/soothsaying_for_dummies' into 3.3.5-base (PR #16152 )
2016-01-28 13:21:03 +01:00
treeston
81baffec80
Merge remote-tracking branch 'tkrokli/npcs_dithers_and_arbington' into 3.3.5-base (PR #16276 )
2016-01-28 12:39:51 +01:00
Treeston
7e42503244
Merge pull request #16264 from Treeston/3.3.5-noffalooter
...
Looting/Group: Do not display looter in tooltip when FFA loot is enabled
2016-01-28 11:45:17 +01:00
ariel-
8baa447ed0
Implemented Book "Soothsaying for dummies", change of engineering/leatherworking specs possible!
2016-01-26 21:38:24 -03:00