Commit Graph

28658 Commits

Author SHA1 Message Date
Aokromes
f5ff21418b Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones 2016-07-20 10:28:44 +02:00
Shauren
a4498c7cab Core/Auras: Renamed fields of SpellProcEntry structure and change types to more appropriate ones 2016-07-20 10:25:03 +02:00
Aokromes
817eb007db Compile fix 2016-07-19 19:01:13 +02:00
Aokromes
78c2b11747 Core/Movement: Implement 3 missing opcodes
From wowsource.
2016-07-19 18:51:50 +02:00
Aokromes
551990fb4c Compile fix, partialy revert a3ca833d0d need help to port
dc3327f9c5
2016-07-19 18:09:05 +02:00
Aokromes
41b26981bb Core/Spells: Fix wrong totem placement 2016-07-19 17:50:53 +02:00
Aokromes
cd9acb7d05 Core/Spells: Fixed overwriting summon requests 2016-07-19 17:15:06 +02:00
Aokromes
a3ca833d0d Core/Scripts: Cleanup cs_modify.cpp
* Removed a chunk of duplicate code
* Generalized Message notification
* Generalized checking of resources modification with a min-max
* Generalized checking of single value modification
2016-07-19 17:01:15 +02:00
Aokromes
6e68a60e6d Core/Unit: Do not remove auras from Pets and Guardians after evading 2016-07-19 16:21:41 +02:00
Aokromes
28a7ce2007 Core/Spell: Magic Absorption Calculation 2016-07-19 16:16:53 +02:00
Aokromes
0c5007efe9 Core/Misc: Fix issues reported by static analysis 2016-07-19 16:11:21 +02:00
Aokromes
5d835e4526 Core/SmartScripts: Improve SMART_EVENT_DISTANCE_CREATURE so it can be used with SMART_TARGET_ACTION_INVOKER 2016-07-19 16:05:20 +02:00
Aokromes
1a1a33d0f0 Core/PacketIO: Missing changes from 548aa11 that could result in a crash due to double Locking (#17008)
Socket will be closed because of ReadDataHandlerResult::Error.
2016-07-19 15:58:23 +02:00
DDuarte
c47ec46ebc Scripts: Add missing override 2016-07-19 15:55:11 +02:00
Gacko
bba08ed29c Scripts: Add missing overrides.
(cherry picked from commit aac868a6d9)
2016-07-19 15:54:54 +02:00
Aokromes
6ca223187b Compile fix 2016-07-19 15:46:44 +02:00
Aokromes
a65ac56b74 Core/Entities: Ported byte field offset naming from 6.x 2016-07-19 15:08:35 +02:00
Naios
29eed2c20f Core/Scripts: Move the ragefire chasm scriptloader into the correct file
(cherry picked from commit 4710b1c8fe)
2016-07-19 14:18:42 +02:00
Naios
74a588b462 Core/Misc: Replace tc's optional with boost::optional. (very partial cherry-pick)
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.

(cherry picked from commit 800d5d8939)
2016-07-19 13:37:37 +02:00
Aokromes
a71da1c603 Entities/Unit: Finally fix no-path evasion.
- When a creature cannot find a path to its victim, it begins evading all attacks and regenerating health.
- If this persists for 5 seconds, it evades back to spawn position with new EvadeReason value EVADE_REASON_NO_PATH.
- Also some SmartAI cleanup (why oh why does it have so much duplicated code) and getting rid of #defines in favor of type-checked compile-time constants.
2016-07-19 13:33:04 +02:00
Aokromes
cf47ef8be0 Build Fix 2016-07-19 13:04:50 +02:00
Aokromes
f5de65fd96 Core/Misc: MSVC /W4 warning fixes 2016-07-19 13:02:54 +02:00
Aokromes
9c1b965136 Core/Misc: MSVC warning fixes 2016-07-19 12:40:58 +02:00
Aokromes
4e7dabc09d Core/Commands: Prevent creating accounts containing '@' character with .account create command 2016-07-19 12:27:06 +02:00
Aokromes
3f0c7f6b2f Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches 2016-07-19 12:02:52 +02:00
Aokromes
eaf9d524e8 Entities/Unit: Fix aggression checks when testing player pets vs neutral creatures.
Pets will no longer be able to attack unattackable creatures in some situations.
2016-07-19 11:51:41 +02:00
Rochet2
7378c2ba97 Add missing GAME_API exports 2016-07-19 11:33:55 +02:00
Aokromes
5c5977bd48 Core/Tools: Fix pdump load 2016-07-19 11:22:15 +02:00
Aokromes
11c028f4bb Core/Tools: Fix pdump write 2016-07-19 11:08:51 +02:00
Golrag
9179cd478d Core/Object: Use object edges to calculate LoS 2016-07-19 11:06:20 +02:00
Aokromes
a700983a55 Update Pull Request template 2016-07-19 11:03:32 +02:00
Aokromes
f0400b7ae6 Make travis happy 2016-07-19 08:31:37 +02:00
Aokromes
bbaf1216df Core/Spells: Fixed all cases of spells that crash the client when pressing ESC after being cast 2016-07-18 22:06:16 +02:00
Aokromes
8c45b115f7 Core/Spells: Glyph of the Monkey
By Linrasis @ ArkCORE
Closes #79
2016-07-18 21:37:13 +02:00
Aokromes
193489f3a7 Core/Players: Split playerBytes fields in characters table
(cherry picked from commit 2a6f65f)
(i think i don't have broken nothing, loged with fresh created chars and old chars and all looks to be ok)
2016-07-18 21:14:24 +02:00
Aokromes
068f978298 DB/Misc: Delete duplicate file 2016-07-17 16:42:37 +02:00
Keader
07f1bde1c3 Core/Scripts Improve Felflame Infernal of Lord Jaraxxus fight (#16998) 2016-07-17 16:42:10 +02:00
Meruemu
a711f63ccd Core/Scripts: Fix array out of bounds in boss_mother_shahraz.cpp. (#17434)
Fix an error in Prismatic Shield auras and Fatal Attraction teleport points selection (was introduced in fb63c8e915)
2016-07-17 16:36:01 +02:00
Aokromes
42347feca9 DB/Misc: Delete duplicate files 2016-07-17 16:33:36 +02:00
SnapperRy
55fc90fbc3 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-17 16:32:52 +02:00
Aokromes
726eb7bdef Scripts/Midsummer: Burning hot pole dance (#17445)
* Scripts/Midsummer: Burning hot pole dance
By  zwerg, closes #6876
2016-07-17 16:31:22 +02:00
Aokromes
e2c68dc2f4 DB/Misc: Fix startup errors 2016-07-17 16:28:24 +02:00
Warpten
95e703c4fb Scripts/RubySanctum: Fix missing break reported by Coverity. 2016-07-17 16:26:38 +02:00
Aokromes
62c7ad7f1f DB/Misc: delete duplicate file 2016-07-17 16:26:20 +02:00
Gustavo
58aaccb8af 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-17 16:25:39 +02:00
Aokromes
b67e304c88 DB/Misc: fix some startup errors 2016-07-17 16:17:56 +02:00
Aokromes
24f1927c97 Core/Scripts: Delete unused code 2016-07-17 15:55:20 +02:00
Aokromes
e6b2ae406d DB/Misc: delete duplicate file 2016-07-17 15:52:46 +02:00
Andrew Letson
3dd392ffca Core/Scripts: Migrate Shadowmoon Valley NPC's to SAI (#17373)
* Migrate Flanis Swiftwing and Kagrosh to SAI and more.
2016-07-17 15:51:51 +02:00
Aokromes
968acf9d00 DB/Misc: delete duplicate file 2016-07-17 15:25:10 +02:00