Commit Graph

9680 Commits

Author SHA1 Message Date
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
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
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
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
Aokromes
92523278b2 Core/Misc: Coding standard 2016-07-20 18:45:58 +02:00
Shauren
00cc84a51d And another typo fix 2016-07-20 18:44:49 +02:00
Shauren
6e755d05d8 Typo fix 2016-07-20 18:44:38 +02:00
Aokromes
67bb661def Core/Mmaps: Charge ignoring z position of target (#17516)
* Core/Mmaps: Charge ignoring z position of target

By cemak closes #15011
2016-07-20 18:43:45 +02:00
ariel-
b56a40436b Core/Unit: remove duplicate resist roll in Unit::MeleeSpellHitResult (#17520) 2016-07-20 18:41:30 +02:00
SnapperRy
0b62ea5f24 Core/Fishing: update fishing skill regardless of success or failure (junk items fished) (#17504) 2016-07-20 18:40:59 +02:00
Shauren
684fb69d0d Core/Spells: Fixed spell dest range check failing on 0 distance max range requirement even if standing directly on top of destination 2016-07-20 18:38:18 +02:00
SnapperRy
2e02320302 Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:

- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
2016-07-20 18:37:26 +02:00
SnapperRy
a8a8ff596d Core/Quest: do not save/load Dungeon Finder/daily/repeatable quests as completed (#17458)
* Core/Quest: do not save/load Dungeon Finder/daily/repeatable quests as completed
2016-07-20 18:33:33 +02:00
SnapperRy
5ce8886050 Core/Spell: allow use of ground mounts while swimming (#17488) 2016-07-20 18:33:07 +02:00
Aokromes
0f5b2fd792 Code/Battleground Opening a game object(banner) under absorb effects … (#17459)
* Code/Battleground Opening a game object(banner) under absorb effects in battlegrounds should result an interupt

By zwerg, closes #6222
2016-07-20 18:32:05 +02:00
Aokromes
9d7bd6ca62 Core/Misc: Even better description for logs 2016-07-20 18:30:14 +02:00
Aokromes
5e3cb9a180 Core/Misc: Better description for a log 2016-07-20 18:28:13 +02:00
Aokromes
8e2b32f55b Core/Misc: Better description for a log 2016-07-20 18:26:42 +02:00
Shauren
fa7026cee3 Core/Spells: Fixed spell range check
Closes #17060
2016-07-20 18:26:18 +02:00
Aokromes
4305129672 Core/Loading: output error when specified emote id for some quest-rel…
…ated tables is invalid (#17469)

* Core/Loading: output error when specified emote id for some quest-related tables is invalid
* Apply suggested changes (and kill whitespace)
2016-07-20 18:23:26 +02:00
jackpoz
d255975122 Core/Creature: Fix assertion triggered
Fix assertion triggered when a Creature was summoned at an invalid position with Auras loaded as Creature addons.
Fix #17415
2016-07-20 18:13:32 +02:00
Aokromes
e0cdf97dcb Core/Pet: Fix pet at rest distance (#17206)
* Core/Pet: Fix pet at rest distance

By MrSmite, closes #10865

* Update TargetedMovementGenerator.cpp
2016-07-20 18:09:40 +02:00
Aokromes
2102f40f4b Script/Quest: Improvements for quest Corrosion Prevention (27347): (#…
…17385)

- Energized! spell should target only the caster and any player around.
- Prevent trigger from gaining threat from beneficial spell casts, getting stuck in a "gaining threat but cannot attack, reset" situation.
- The Power Core Fragment near the zeppelin crash should always be active.
2016-07-20 18:09:14 +02:00
Aokromes
09b34b64e5 Core/DungeonFinder: Add new log to allow to debug some issues
By Spp- on #14331
Enable lfg.allqueued DEBUG log. It will give more detailed info.
2016-07-20 18:08:03 +02:00
Treeston
257a0b5f6f Creature/Loot: Do not display "lootable" sparkles for player even if others in the group still have quest items to be looted from creature. (#16265) 2016-07-20 18:05:51 +02:00
Keader
47a89b8dcc Core/Pet: Fixed pets dont lose auras on join arena (#17185) 2016-07-20 18:04:54 +02:00
Aokromes
f35df037b6 Core/Spells: Implement SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER 2016-07-20 18:03:54 +02:00
Aokromes
4c09550b0f another compile fix 2016-07-20 17:12:59 +02:00
Aokromes
6d86976904 compile fix 2016-07-20 17:11:09 +02:00
Aokromes
bf5db53da6 Another build fix 2016-07-20 16:53:36 +02:00
Aokromes
8a6cbf2b89 compile fix 2016-07-20 16:48:32 +02:00
Aokromes
4e31162a42 Core/Scripts: Extended SMART_ACTION_SET_INST_DATA to also set BossStates. (#16739)
Scripts/Dire Maul: Initialize boss states array so it may be called from SmartAI. (Ref #6429)
2016-07-20 16:44:24 +02:00
Alan Deutscher
7cfe75acf0 Adjustment to Player::SetViewpoint to allow for Mind Vision "hops". (#17041)
* Adjustment to Player::SetViewpoint to allow for Mind Vision "hops".

* Dynamic objects should not be a valid viewpoint for spells like Mind Vision.

* Dynamic objects should not be a valid viewpoint for spells like Mind Vision.

* Removed redundant TYPEMASK_PLAYER check.

* Moved SetSeer outside of if statement.
2016-07-20 16:36:39 +02:00
Tiuz90
eafbdb2678 [Core/Spells]Warrior, fixed bladestorm aura remove due to weapon swap (#16873) 2016-07-20 16:24:20 +02:00
SnapperRy
f7ac30867f Core/Movement: interrupt a creature's current cast when fleeing for assistance, and (if spell is not castable while moving) when running random/fleeing movement generators. (#17271)
Also make sure the creature is alive before updating.

Fixes #12823.
2016-07-20 16:23:41 +02:00