Commit Graph

19176 Commits

Author SHA1 Message Date
ariel-
58fc36374c Core/Player: removed unused function prototypes 2016-08-28 05:43:19 -03:00
ariel-
be3199314a Core/GameObject: save spawn GOState and reset to it instead of toggling from whatever current state we have
Prevents exploit of SMART_ACTION_ACTIVATE_GOBJECT
2016-08-28 05:32:39 -03:00
ariel-
17917171f3 Core/Entities: Added possibility to construct a Position using a G3D::Vector3 2016-08-28 02:31:52 -03:00
ariel-
27590fbb98 Core/Scripts: Professor Putricide oozes, reapply passive proc auras on reset, and register them as PP summons since they're summoned by a trigger. (f183ed3c50 follow-up) 2016-08-28 02:22:50 -03:00
joschiwald
5615645b6b Core/Logging: removed useless log message
(cherry picked from commit b0c8a9411e)

# Conflicts:
#	src/server/game/Guilds/Guild.cpp
#	src/server/game/Handlers/CharacterHandler.cpp
#	src/server/game/Handlers/QueryHandler.cpp
#	src/server/game/Handlers/TaxiHandler.cpp
2016-08-27 15:35:42 +02:00
joschiwald
f5890941b1 Core/Logging: delete old logs of the own realm only
(cherry picked from commit beedf737c8)
2016-08-27 15:28:33 +02:00
treeston
211eee0fce Entities/Unit: Add overload to NearTeleportTo taking Position const&. 2016-08-26 21:02:25 +02:00
treeston
4bcc8078d7 Entities/Creature: Add arg2 to DespawnOrUnsummon to allow overriding respawn time. This matches changes that will be merged as part of dynamic spawning, allowing scripts to transition early. 2016-08-25 23:04:21 +02:00
SnapperRy
42a32a3c7c Core/Unit: do not refresh last damaged timer if hit by SPELL_AURA_DAMAGE_SHIELD.
Fixes spells like Retribution Aura, Thorns and Damage Shield that were preventing units from evading.
2016-08-25 22:16:34 +02:00
Ryan
9c504c8a8e Core/Instance: Fix GetInstanceSave sometimes checking the wrong map (#17856) 2016-08-25 16:21:53 +02:00
ariel-
cd9226e755 Core/Scripts: fix math error that would not select points on the entire circle 2016-08-25 08:53:35 -03:00
ariel-
8a8362ef15 Channel Followup: avoid setting an invisible gm as Channel owner (#17597)
* Core/Chat: avoid setting an invisible gm (as in .gm visible off) as channel owner, giving it away to other players.

- This can now only happen if the channel is empty or every other member is an invisible gm, too.

Fixes #17424

* Feedback based changes
2016-08-25 08:49:24 -03:00
ariel-
6992393b3c Core/PlayerAI: Fix dynamic build linking 2016-08-25 08:28:12 -03:00
ariel-
7e4abce820 Update boss_kelthuzad.cpp 2016-08-25 08:21:27 -03:00
treeston
bdbe3f22e0 Entities/GameObject: Expose GO rotation to scripting. 2016-08-25 13:11:31 +02:00
Aokromes
92876278fe travis is lazy 2016-08-25 10:39:17 +02:00
Gustavo
40114cacd3 Core/Scripts Boss Skadi the Ruthless rework 2016-08-25 09:13:02 +02:00
tkrokli
8df4706992 Core/Scripts: move npc_experience hardcoded text to DB 2016-08-25 09:07:45 +02:00
tkrokli
8bc00e8952 Core/Scripts: move #define to enum in boss_kalecgos.cpp 2016-08-25 09:03:41 +02:00
tkrokli
537074a809 Core/Scripts: move forge_of_souls gossip to DB 2016-08-25 08:49:09 +02:00
Gustavo
b459c6607f Core/Scripts Implement Pit of Saron Cavern event 2016-08-25 08:40:02 +02:00
Gustavo
989aaaa8b5 Scripts/Pet Implemented Argent Squire/Gruntling and Argent Pony Bridle 2016-08-25 08:31:48 +02:00
SnapperRy
0d2ef2ac71 Core/Achievements: improve mergeability between branches 2016-08-24 20:24:14 +02:00
treeston
7451164d6a Merge remote-tracking branch 'Treeston/3.3.5-movechasestate' into 3.3.5 2016-08-24 18:29:35 +02:00
treeston
2d7dec0d39 Was Travis completely napping on this one? 2016-08-24 18:25:30 +02:00
treeston
93a68d5881 ...Huh. Wonder how this one didn't make travis complain on the PR. 2016-08-24 18:22:54 +02:00
treeston
47a9cb1e56 Merge remote-tracking branch 'Treeston/3.3.5-kelthuzad' into 3.3.5 (PR #16634) 2016-08-24 18:17:50 +02:00
SnapperRy
2b48082b9d Core/Achievements: implement ACHIEVEMENT_CRITERIA_DATA_TYPE_S_ITEM_QUALITY to check if the item with entry miscvalue1 is exactly of the quality specified in achievement_criteria_data's value1 field.
Also ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPED_ITEM --> ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPPED_ITEM
2016-08-24 18:09:56 +02:00
ariel-
83c032c2a8 Core/SmartAI: fix warning reported by VS2015 2016-08-23 21:54:18 -03:00
treeston
5da3ae0489 Scripts/HallsOfLightning: Fix Volkhan healing. 2016-08-24 01:27:17 +02:00
tkrokli
f3dc97f263 Core/Scripts: set correct unit_flags on Scarlet Mine Car (#17844)
Closes #17816
2016-08-23 20:07:16 -03:00
SnapperRy
1fcd03b60a Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too (#17851)
Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too
2016-08-24 00:13:26 +02:00
SnapperRy
a6ef9d4539 Core/SmartAI: add param2 to SMART_ACTION_UPDATE_TEMPLATE, allowing to specify if creature's level should remain the same between entry updates.
A value of 0 (default) forces the creature to keep its current level between entry updates.

Fixes #16371
2016-08-23 23:46:24 +02:00
SnapperRy
fb6d4dd98f Core/Event: prevent seasonal quests from resetting at server restart (#17455)
Closes #16015.
Closes #16413.
2016-08-23 15:49:38 +02:00
SnapperRy
894378f867 Event/Brewfest: implement relay race (#17603) 2016-08-23 13:36:57 +02:00
tkrokli
8a0990376d Core/Scripts: npc_wormhole #define text moved to DB (#17805)
Another core script hardcoded text removal:
- removed #define text from script
- added the text to gossip_menu_option
- added and renamed enum to match DB entries
- minor additional adjustments and comments

Closes #6841
2016-08-23 13:30:27 +02:00
Gustavo
5661b4686b Improve scripts for quests Breakfast Of Champions and A Bear of an Appetite (#17780)
Properly despawn the related GameObjects after use of the quest item, avoiding multiple use and summon
2016-08-23 13:21:03 +02:00
SnapperRy
433beb77e3 Scripts/ArgentTournament: improve training dummy script
Now the ranged and charge target dummies will cast their spells and behave correctly for the related quests
2016-08-23 13:14:38 +02:00
Shauren
75c34bda67 Core/Creatures: Exclude despawned creatures from being found by "nearest entry" searchers
Updates #11418
Closes #17706
2016-08-22 21:10:43 +02:00
jackpoz
b7306f06f5 Core/Misc: Fix static analysis issues 2016-08-22 14:17:24 +02:00
ariel-
f183ed3c50 Core/Unit: removed ancient workaround changing spell caster based on triggering aura.
Keep an eye out for those broken scripts!

Closes #17739
2016-08-21 18:02:36 -03:00
Shauren
4d5fee0489 Dynamic linking build fix 2016-08-21 18:51:11 +02:00
Shauren
39311e0ce8 Typo fix 2016-08-21 18:40:06 +02:00
Eilo
0a53d0b1fa Tools/mmaps_generator: Added estimated percentage progress to console output (#17798) 2016-08-21 11:44:22 +02:00
mik1893
6d07fbf07c Core/Spells: Fixed spells like Shadowform, Tricks of the Trade, Misdirection getting stuck in unusable state clientside if they failed earlier because of GCD
Closes #657
Closes #12913
Closes #17376
2016-08-21 11:32:42 +02:00
treeston
2a1232ca1a Scripts/Naxxramas: Full Kel'thuzad rework.
- Sniffed timers
- Sniffed spawn behavior
- Sniffed everything else
- Sniffed sniff. Mmmm
 - In all seriousness though:
    - Fixed P2 cast behavior, now obeys category cooldowns as intended
    - Fixed P1 pathing and abomination behavior
    - Fixed P1 passive minion aggro logic
    - Fixed P1->P2 transition logic
    - Fixed P3 guardian spawn/despawn logic
    - Fixed all minions' cast behavior
    - Fixed melee hitbox for Kel'thuzad, abominations, banshees and guardians
    - Fixed reset behavior
    - Fixed post-Sapphiron event to no longer open the KT door for a few seconds before slamming it closed again
2016-08-21 11:27:18 +02:00
Treeston
6f85422f0b Core/Spells: Fix orientation- and targeting-related issues if the creature isn't currently engaged in combat. (#17120)
Also disable spell focus system for vehicle control auras.

Closes #16572
Closes #17016
2016-08-21 11:07:38 +02:00
Alan Deutscher
061b62a97d Scripts: UNIT_FLAG_REMOVE_CLIENT_CONTROL no longer used as a method for preventing a unit from moving
UNIT_FLAG_REMOVE_CLIENT_CONTROL (formerly UNIT_FLAG_DISABLE_MOVE) is a client-only feature that should not be used for NPC scripting. All applications of this flag in scripts/ have been replaced with applications/removals of the UNIT_STATE_ROOT state.

Closes #17311
2016-08-21 11:04:59 +02:00
ariel-
6d4eead3a9 Core/Entities: fix a crash that would happen whenever a player logged back in to an ended arena battle. Thanks Nawuko for the input
Closes #17825
2016-08-20 22:19:49 -03:00
ariel-
1deb7d2df1 Core/Battlefield: Cleanup of Wintergrasp script and battlefield system:
- Standards: Moved all statics to cpps where they belong.
- Changed spawn position container from fixed size array to std::vector (not all positions were used in every case)
- Removed unused parameter teamId from Battlefield::SpawnCreature
- Removed workaround for GO rotation, added in a69cbeb9d5
- Added rotation parameter to Battlefield:SpawnGameObject
- Added sniffed rotation to existing script spawns.
- Implemented Archavon's Log (Closes #16880)
2016-08-20 21:40:43 -03:00