Commit Graph

28837 Commits

Author SHA1 Message Date
ariel-
ea8bb37bc7 Core/Scripts: add missing override and silence a warning in MSVC 2016-07-23 04:21:08 -03:00
ariel-
1eeff3a295 Core/Player: misc codestyle 2016-07-23 04:20:44 -03:00
Aokromes
f32aca84ab Compile fix 2016-07-23 00:26:39 +02:00
Aokromes
7a4c33bc66 Core/Entities: implement SPELL_AURA_MOD_CRIT_CHANCE_FOR_CASTER, fixes talent Point of no Escape 2016-07-22 21:59:03 +02:00
Aokromes
9d5ff93e27 Core: Removed Whitespaces 2016-07-22 21:40:34 +02:00
Vincent-Michael
aa61332af8 Core: Revert fail
(cherry picked from commit b5329d8a03)
2016-07-22 18:51:10 +02:00
Vincent-Michael
0d7a6c6556 Core: Added missing overrides
(cherry picked from commit 5d584116fe)
2016-07-22 18:50:26 +02:00
treeston
d4de0ab053 AI/SmartScripts: Add action_param3 "disablePathfinding" to SMART_ACTION_MOVE_TO_POS (69). 2016-07-22 18:47:20 +02:00
Aokromes
9d67cafe92 Scripts/UtgardePinacle: Adjust King Ymiron boundaries 2016-07-22 18:45:29 +02:00
Aokromes
bee4c5518f DB/Misc: 3.3.5a fixes 2016-07-20 22:58:26 +02:00
Aokromes
eacbddd471 Restore file deleted by mistake 2016-07-20 22:53:29 +02:00
Aokromes
8aec3dd3b6 DB/Misc: 3.3.5a fixes 2016-07-20 22:41:14 +02:00
Keader
9ca2d0a62f Core/Scripts Added Black Temple Boundaries (#17579)
* Core/Scripts Added Black Temple Boundaries
2016-07-20 19:56:15 +02:00
Aokromes
7cb583a657 Core/Vehicle: delay position update in Vehicles, this may be deleted …
…on UpdatePosition, generating a crash
2016-07-20 19:55:44 +02:00
Killyana
ae7c54eb34 Core/Entities: Remove wrong immunity
Closes #17363
2016-07-20 19:53:25 +02:00
ariel-
65d6a4cca1 Core/Player: Misc codestyle 2016-07-20 19:51:39 +02:00
ForesterDev
64596c6739 Core/UnitAI: Removed unneccessary null checks in SpellTargetSelector. CID 1357405 (#17630) 2016-07-20 19:51:15 +02:00
Aokromes
75ca64a383 Scripts / Naxxramas : add missing null pointer check. Fixes CID 1354738 2016-07-20 19:50:00 +02:00
Aokromes
42eba318de ddf 2016-07-20 19:46:59 +02:00
SnapperRy
836b9180fe Core/Mail: implement a way to specify NPC sender for mails when they should be different from the quest ender (#17601) 2016-07-20 19:46:37 +02:00
ariel-
08ce85d0fb Core/Loot: fix bug introduced in a49544cc18 in which creatures only having gold wouldn't show lootable sparks, and thus couldn't be looted 2016-07-20 19:45:26 +02:00
ccrs
2b863c2b8e Core/UnitAI: #17309 follow-up (#17608)
* Core/UnitAI: SelectTarget correction

Set CurrentVictim as first element on targetList if necessary, which is then filled with the threatlist elements that satisfy the predicate.
2016-07-20 19:45:08 +02:00
Gustavo
c31be4100e Core/AI Prevent bosses respawn when BossState is set to DONE (#17616) 2016-07-20 19:44:44 +02:00
ccrs
faa310252f Core/UnitAI: SelectTarget correction (#17309)
Core/UnitAI: SelectTarget correction - have current victim always be first element of target list
2016-07-20 19:41:37 +02:00
ariel-
ef8e83f99d Core/Player: silence warning 2016-07-20 19:40:53 +02:00
Aokromes
79c5d21d36 Core/Conditions: implement CONDITION_DAILY_QUEST_DONE to check whethe…
…r or not a daily quest has been completed by a player in that day.

Also use it to fix two quest chains broken in commit 7905651. Should be the only ones of their kind.
2016-07-20 19:40:21 +02:00
Aokromes
9643f2033a ddf 2016-07-20 19:35:27 +02:00
Keader
6759266253 Core/Scripts: Hallow's End Pumpkin Treat
Add all 6 spells available from item 20557,
Hallow's End Pumpkin Treat:
- Hallow's End Candy, Orange Giant (24924)
- Hallow's End Candy, Skeleton (24925)
- Hallow's End Candy, Pirate (24926)
- Hallow's End Candy, Ghost (24927)
- Hallow's End Candy, Female Defias Pirate (44742)
- Hallow's End Candy, Male Defias Pirate (44743)

Thanks @Keader for creating the new spell scripts & SQL,
 saved me a lot of time! :-)
2016-07-20 19:35:07 +02:00
Shauren
3d991107e2 Core/Commands: Cooldown command should fall back to targeting self in case of no valid selection 2016-07-20 19:34:45 +02:00
Aokromes
d979a98d4b ddf 2016-07-20 19:34:23 +02:00
Shauren
792f48b554 Core/Commands: Allow .cooldown command to work on player pets 2016-07-20 19:34:04 +02:00
Gustavo
0d412494ef Core/Spells GameObjects needs to be spawned in order to be acceptable as a SpellFocus (#17594) 2016-07-20 19:33:29 +02:00
Shauren
286e796a55 Core/Quests: Failing/abandoning a quest should not unconditionally remove required items, non-quest specific items such as crafting reagents should remain in inventory 2016-07-20 19:31:30 +02:00
Brian
43686f2c7f Core/Quests: Remove quest items that were looted if they are unique, bound, quest items, when abandoning a quest. (#17556) 2016-07-20 19:31:09 +02:00
Aokromes
f0c90fe8ca partialy revert previous commit 2016-07-20 19:29:16 +02:00
SnapperRy
3fa8965fff Core/SpellArea: iterate spell_area entries by player's current area instead of quest id. (#17509) 2016-07-20 19:22:25 +02:00
SnapperRy
b6be6556f6 Core/Unit: remove emote state when creature attacks another unit (#17542) 2016-07-20 19:21:27 +02:00
robinsch
408f4370b3 Script/Archavon: Implement EMOTE_LEAP (#17588) 2016-07-20 19:20:33 +02:00
P-Kito
33afe2d927 Game/Entities: Fix math problem "Disk Point Picking" in GetRandomPoint (#17577) 2016-07-20 19:20:09 +02:00
SnapperRy
615e3115ef Core/Quest: implement usage of QUEST_FLAGS_RAID to allow a quest to be completed while in raid. (#17535)
By @ForesterDev
2016-07-20 19:19:46 +02:00
Meruemu
8cdb25f134 Core/Entities: Fix flag CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN implementation. (#17548) 2016-07-20 19:19:33 +02:00
Keader
5eb80cdfde Core/Movement Fixed minimum speed check (#17555) 2016-07-20 19:17:25 +02:00
Snapper
c82ecf4976 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values 2016-07-20 19:17:06 +02:00
Aokromes
543953fb75 Core/Player: Move few logs of loglevel and add few notes (#17554) 2016-07-20 19:16:43 +02:00
Snapper
429a4bc13b Core/Misc: kill whitespace and use enum instead of hardcoded value. 2016-07-20 19:16:18 +02:00
SnapperRy
6f7dc7e86d Core/Quest: don't save queststatus for autocomplete quests (#17487) 2016-07-20 19:15:50 +02:00
w1sht0l1v3
6ba75a54d1 Core/Scripts: Corrections after 14b93c04ee 2016-07-20 19:13:35 +02:00
Shauren
8a5e7eba70 Core/Units: Fixed autoattack range
Closes #17539
2016-07-20 19:12:44 +02:00
Aokromes
0cb8e628d2 Core/Unit: Add proc cooldown to all units
It will break something?
2016-07-20 19:12:00 +02:00
treeston
a3fba746d0 Entities/Creature: Add some more std::chrono overloads 2016-07-20 18:48:17 +02:00