Commit Graph

18972 Commits

Author SHA1 Message Date
ariel-
6988407b43 Core/Spells: Fix Roar of Sacrifice damage part (#17519) 2016-07-16 02:52:32 -03:00
Gustavo
23e89b8aef Core/Spells GameObjects needs to be spawned in order to be acceptable as a SpellFocus (#17594) 2016-07-15 23:45:50 +02:00
ariel-
fbbb03212e Core/Chat: general cleanup and revamping: (#17576)
- Remove duplicate ObjectGuid in Channel (both as key and value member)
- Add const-ness to Channel methods
- NULL->nullptr
- const type* -> type const*
- Removed all instances of std::map::operator[] except where it is actually INTENDED to insert an element
- Use Trinity::StringFormat instead of snprintf
2016-07-15 22:33:49 +02:00
Shauren
8460285f94 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-15 20:00:42 +02:00
Brian
3c0d7fd744 Core/Quests: Remove quest items that were looted if they are unique, bound, quest items, when abandoning a quest. (#17556) 2016-07-15 19:49:12 +02:00
robinsch
bc358fc381 Core/Spell: Sheath of Light should add remaining ticks to healing done when refreshed (#17583) 2016-07-15 19:46:39 +02:00
Andrew Letson
6ea48c036e Core/Scripts: Migrate Tanaris NPC's to SAI (#17390) 2016-07-15 18:42:12 +02:00
SnapperRy
ba0cb53b02 Core/SmartAI: change SMART_ACTION_RISE_UP (114) to SMART_ACTION_MOVE_OFFSET and implement offset movement via target fields. (#17362) 2016-07-15 18:37:17 +02:00
SnapperRy
d7e47de264 Core/SpellArea: iterate spell_area entries by player's current area instead of quest id. (#17509) 2016-07-15 18:32:16 +02:00
SnapperRy
a732749d72 Core/Unit: remove emote state when creature attacks another unit (#17542) 2016-07-15 18:31:52 +02:00
SnapperRy
f78ab9aba4 Core/Creature: implement INHABIT_ROOT to apply UNIT_STATE_ROOT to creature (#17543)
Add flag 8 to InhabitType for creatures that should appear rooted client-side
2016-07-15 16:48:04 +02:00
robinsch
8a2df73a82 Script/Archavon: Implement EMOTE_LEAP (#17588) 2016-07-15 15:31:52 +02:00
Naios
445746c402 Core/Scripting: Fix acquiring of references between script swaps
* Delay unloading of shared libraries to the next update tick
  to prevent crashes in the destructor of the last referenced
  script instance.
* Closes #17557
2016-07-13 21:58:50 +02:00
P-Kito
0aad705f95 Game/Entities: Fix math problem "Disk Point Picking" in GetRandomPoint (#17577) 2016-07-13 16:41:33 +02:00
SnapperRy
baf54cff3b Core/Quest: implement usage of QUEST_FLAGS_RAID to allow a quest to be completed while in raid. (#17535)
By @ForesterDev
2016-07-11 10:15:51 +02:00
Meruemu
4a46fee03e Core/Entities: Fix flag CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN implementation. (#17548) 2016-07-11 10:15:05 +02:00
Warpten
07ce570be8 Scripts/RubySanctum: Fix missing break reported by Coverity. 2016-07-10 17:46:15 +02:00
SnapperRy
df532d1948 Core/Script: add missing say in script for npc Lakota Windsong 2016-07-10 14:39:10 +02:00
Keader
23b6991273 Core/Movement Fixed minimum speed check (#17555) 2016-07-10 11:32:14 +02:00
Snapper
ebb33bbfc1 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values 2016-07-10 09:33:55 +02:00
Aokromes
8211266f9b Core/Player: Move few logs of loglevel and add few notes (#17554) 2016-07-10 00:31:33 +02:00
Snapper
21797c6c4f Core/Misc: kill whitespace and use enum instead of hardcoded value. 2016-07-09 21:36:04 +02:00
SnapperRy
bf9b89dd2e Core/Quest: don't save queststatus for autocomplete quests (#17487) 2016-07-09 18:29:05 +02:00
Shauren
cb786e8841 Core/Quests: Fixed crash during loading quest rewarded status added in 7905651b07
Closes #17552
2016-07-09 17:46:16 +02:00
w1sht0l1v3
fcfb7b96b2 Core/Scripts: Corrections after 14b93c04ee 2016-07-09 17:14:03 +03:00
joschiwald
c96f53e85f Core/Handlers: removed useless db query 2016-07-09 13:16:08 +02:00
Shauren
14b93c04ee Core/Units: Fixed autoattack range
Closes #17539
2016-07-09 13:03:03 +02:00
Golrag
0b98544286 Core/Unit: Add proc cooldown to all units (#17546) 2016-07-08 21:52:30 +02:00
treeston
0547926f17 Entities/Creature: Add some more std::chrono overloads 2016-07-08 17:02:34 +02:00
SnapperRy
eb1cd4c907 Core/Script: small improvement for quest "The Hunt is On". (#17537)
Reset emotestate when the event starts.
2016-07-07 21:55:52 +02:00
Shauren
ce947814c6 Core/PacketIO: Fixed crash happening when someone sends too small packet that is processed directly in WorldSocket
Ref #17536
2016-07-07 18:22:29 +02:00
Aokromes
3016783595 Core/Misc: Coding standard 2016-07-06 17:46:31 +02:00
Aokromes
a832865ce2 Core/Misc: Coding standard (#17521) 2016-07-06 10:54:36 +02:00
Shauren
e0cc650ea9 And another typo fix 2016-07-06 10:29:33 +02:00
Shauren
fcffdc38a7 Typo fix 2016-07-06 10:25:56 +02:00
Aokromes
fda9f1a136 Core/Mmaps: Charge ignoring z position of target (#17516)
* Core/Mmaps: Charge ignoring z position of target

By cemak closes #15011
2016-07-06 10:23:12 +02:00
ariel-
cfbfa8158a Core/Unit: remove duplicate resist roll in Unit::MeleeSpellHitResult (#17520) 2016-07-06 08:58:59 +02:00
SnapperRy
bf30ec9c8e Core/Fishing: update fishing skill regardless of success or failure (junk items fished) (#17504) 2016-07-05 23:23:22 +02:00
Shauren
ba63361d7c Core/Spells: Fixed spell dest range check failing on 0 distance max range requirement even if standing directly on top of destination 2016-07-05 16:59:37 +02:00
SnapperRy
03b15d968b 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-05 15:19:30 +02:00
DDuarte
42028a1842 Scripts/Commands: Fix build warning 2016-07-05 11:55:29 +01:00
DDuarte
1100fe6057 Scripts/Commands: Remove unused argument of .cometome command 2016-07-05 11:21:50 +01:00
Gustavo
dfe278459d Core/Scripts Corrections on Halion's Encounter (#16725)
Core/Scripts: Updates to Halion

* Fixed Combustion and Consumption.
* Fixed Living Embers and Blazing Auras.
* Timer changes.
2016-07-05 10:54:31 +02:00
SnapperRy
7905651b07 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-05 09:53:08 +02:00
SnapperRy
b20912c8f6 Core/Spell: allow use of ground mounts while swimming (#17488) 2016-07-05 03:11:21 +02:00
Aokromes
d34cce1edb 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-04 21:12:36 +02:00
Andrew Letson
32dd6bbca8 Core/Scripts: Migrate Shadowmoon Valley NPC's to SAI (#17373)
* Migrate Flanis Swiftwing and Kagrosh to SAI and more.
2016-07-04 16:17:27 +02:00
Naios
d9755c637c Core/EventProcessor: Check whether an event was aborted before aborting it.
* Fixes an assertion introduced in commit 1ad73212dc.
* Use itr = std::unordered_map<...>::erase for updating the iterator.
2016-07-03 20:52:50 +02:00
jackpoz
284dd6b80d Core/Crash reporting: Better handle max nesting level setting
Fix wheaty exception report counting reference symbols as 2 nesting levels, not logging child objects in some cases, i.e. spell id in SpellEvent crash.
2016-07-03 13:16:06 +02:00
Naios
1ad73212dc Core/EventProcessor: Wait for non deletable events to get deletable.
* Immediate deletion caused issues with the SpellEvent,
  so we delete it at one of the next update ticks now.
* Only affects the unforced cancellation of events.
* Ref #16675
2016-07-03 00:22:23 +02:00