Commit Graph
1036 Commits
Author SHA1 Message Date
Gustavo 4ec7b63de1 Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event boss) (#19076)
Closes #5114
2017-03-15 23:36:24 +01:00
Aokromes ca20d34f59 Make travis happy 2017-02-17 16:16:00 +01:00
Aokromes 7ddb8a7486 Coding standards 2017-02-17 16:11:51 +01:00
Flameshot 1be7b106a3 Codestyle 2017-02-17 16:50:17 +02:00
Flameshot 499f7d3d5b Removed unedeed things 2017-02-17 16:46:52 +02:00
Flameshot 267d2805d7 Dungeon/The Stockade: Randolph Moloch is now 100% Scripted 2017-02-17 16:40:20 +02:00
Aokromes d57462bf0f Core/Scripts Rework boss Terestian Illhoof (Karazhan) 2017-02-10 05:33:28 +01:00
Gustavo 55b002e357 Core/Scripts Update boss Maiden of Virtue (#19058) 2017-02-10 05:23:57 +01:00
Gustavo bf87734b2e Core/Scripts: boss The Curator (Karazhan) rework (#19040)
Closes #16099
2017-02-10 05:21:38 +01:00
xinef1 2c05a59815 Core/Misc: Fix various crashes, also related to multithreading (#19012)
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update).
* Properly clear ComboPoint references on player remove 
* remove some possible references item may have when it is deleted during save. 
* Also clear all hostile references when unit is removed from map.
2017-02-05 01:58:11 +01:00
Gustavo 44503ff4d0 Core/Scripts: boss Nightbane rework (Karazhan) (#18899)
Closes #10017
2017-02-05 01:55:22 +01:00
Aokromes 96be616942 Core/Scripts: update to sharpbeak
By Malcrom
2017-01-14 15:05:05 +01:00
Aokromes 6c078793fb Script/Quest: Update Sharpbeak 2017-01-13 04:50:30 +01:00
Aokromes 022d59093e DB/Quest: Script Quest 24125 Rite of the Winds
By Malcrom, closes #107
2017-01-12 03:02:03 +01:00
Aokromes 2110993b9e typo fix 2017-01-12 02:47:28 +01:00
Aokromes 79df6eb1b2 Core/Scripts: Sharpbeak update
By Malcrom
2017-01-12 02:45:21 +01:00
Aokromes 1a9057cac0 fix warning 2017-01-11 02:14:46 +01:00
Aokromes 7e7f318364 typo fix
previous commit by Malcrom, typo by me.
2017-01-11 02:03:35 +01:00
Aokromes 9ac702e60b Script/Taxi Sharpbeak Hinterlands 2017-01-11 01:57:47 +01:00
ariel- fb44395dca Core/Script: PCH issues 2017-01-09 08:03:56 +01:00
ariel- e6b1b3d9f0 DB/Script: The Only Cure is More Green Glow
Closes #1723

SQL by Staleness89, corrections by Killyana
Script by Keader, corrections by sirikfoll and me
2017-01-09 08:03:40 +01:00
Gustavo b42f9370c8 Core/Scripts: Implement Boss Coren Direbrew (#18137) 2017-01-07 07:20:43 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes 949ce2d576 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc75)
2016-12-16 19:54:22 +01:00
Duarte Duarte 49dcbf43eb Optimizations for Zapcc compiler 2016-12-01 03:42:50 +01:00
Andrew Blakely 70a2ae105d Core/Scripts: Fixed Vaelastrasz bomb mechanic (#18260)
* Core/Scripts: Fixed Vaelastrasz bomb mechanic

Vaelstraz was suppose to bomb raid members that are mana users every 15
seconds. He was not doing that with the current implementation.

This implementation allows him to bomb the raid and to select the proper
targets. This is also done in a cleaner way.

* Added AuraScript for SPELL_BURNINGADRENALINE

Needed to define an AuraScript for custom behavior that would denatonate
the damaging aura when the debuff falls off.

SpellId - 18173

* Added SQL for Burning Adrenaline Script Ref

* Fixed Multiple Application of BA

* Add unit null check in lambda

* Remove DB name from sql query

* Added Newline in SQL update file.

* Added SQL delete query for potential existing spell

* Fix SQL newline again.

* As suggested a simpler SpellCast overload works

I don't know if there are any consequences but it seems to function fine
in in-game.

I'd like more information on the overload that involves an AuraEffect.

* Remove duplicate Unit null check in lambda

* Update boss_vaelastrasz.cpp
2016-11-27 17:04:56 +01:00
tkrokli 5896b95e41 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916
2016-11-03 16:13:00 +01:00
Dr-J 695b3df525 Remove reference to eastern plaguelands script 2016-11-02 03:50:10 +01:00
Dr-J 458a422d7e Remove obsolete file 2016-11-02 03:49:57 +01:00
SnapperRy 8b20248823 Codestyle. 2016-11-02 03:13:35 +01:00
SnapperRy 496268c478 Script/Creature: Scarshield Infiltrator/Vaelan. 2016-10-24 13:19:02 +02:00
Treeston 226762216a Map/Instances: Greatly simplify PermBindAllPlayers logic. (#17940) 2016-09-18 07:38:06 +02:00
treeston 77631a8cde Drycoding is bad, mmkay? 2016-09-03 17:30:37 +02:00
treeston 9a829b4761 Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially 2016-09-03 17:26:20 +02:00
Aokromes 3e00b379f3 Scripts/Misc: Delete no longer used files 2016-08-31 08:44:01 +02:00
treeston 109d87d3c3 Entities/Gossip: The Big One™ that gets rid of all uses of The Bad™ and The Ugly™, e.g. gossip preprocessor macros, and replaces them with the new-and-shiny gossip functions. 2016-08-31 08:39:33 +02:00
tkrokli ffc47e0c4c Core/Scripts: remove forgotten #define in boss_kalecgos.cpp
This #define was originally supposed to be removed in my PR #17832,
but for some reason it remained undeleted. This commit corrects it.

Also aligned all the enum values to the same column for readability,
based on a common multiple of 4 spaces.
2016-08-31 08:18:51 +02:00
Aokromes df2c6972c4 Whitespace clean-up 2016-08-29 01:20:31 +02:00
tkrokli 1c80212429 Core/Scripts: move #define to enum in boss_kalecgos.cpp 2016-08-25 14:54:11 +02:00
tkrokli 5301e4578e Core/Scripts: set correct unit_flags on Scarlet Mine Car (#17844)
Closes #17816
2016-08-24 10:25:08 +02:00
Alan Deutscher 372ef5e5a2 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 13:16:10 +02:00
Aokromes 59244d6e73 More missing overrides 2016-08-05 01:33:17 +02:00
treeston f95ca514e6 ScriptedAI/Creature: Fix a bug where a std::chrono overload was counting milliseconds instead of seconds. 2016-08-04 20:56:06 +02:00
tkrokli de2ad7d38c Core/Scripts: move npc_kharan_mighthammer to DB/SAI
This PR affects the following 2 quests:
Quest ID 4001 "What Is Going On?" - part 2 (Horde)
Quest ID 4342 "Kharan's Tale" (Alliance)

Target of this PR:
Move core script npc_kharan_mighthammer to DB/SAI
(thereby removing 10 lines of hardcoded text).

* DB/conditions: extra gossip conditions

- added conditions for gossip before quest taken and after quest completed.
- removed redundant core script SAY_GET_ME_OUT_OF_HERE comment

* DB/creature: add more text to Kharan

- add all missing creature_text lines to entry 9021 Kharan Mighthammer
- add SAI duration to wait before TEXT_OVER is triggered (3000 ms)
2016-08-04 02:42:00 +02:00
ariel- 30d4f70533 Core/Entities: debloat SummonGameObject parameter list using proper wrappers and enable GO rotation in scripts
- There's still an overload allowing for x, y, z, o to be passed directly
- Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs)

(cherry picked from commit 62bfee37cb21584cef631dda428feaf5eb829cda)

Conflicts:
	src/server/game/Entities/GameObject/GameObject.cpp
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Spells/SpellEffects.cpp
	src/server/scripts/Commands/cs_gobject.cpp
	src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
	src/server/scripts/Kalimdor/zone_feralas.cpp
2016-08-01 01:23:47 -03:00
Nyeriah 9f79672beb Scripts/Karazhan: Register Midnight's summons
* Solves issue with bosses not despawning after encounter
2016-07-30 12:14:09 +02:00
Nyeriah 804f4468ea Scripts/Karazhan: Fix a warning 2016-07-30 12:14:01 +02:00
Nyeriah e9613e6659 Scripts/Karazhan: Rework Attumen the Huntsman's script
Change log:
- Timers are more accurate
- Corrected Charge ability ID based on 6.x researches
- Added Midnight's missing emotes
- Fixed issue with instance being stuck in combat in case of wipes
- Solved the rare scenario where Attumen would be summoned multiple times
- Visual spell on 3rd phase transition added
- Attumen and Midnight can now be damaged during 3rd phase transition
- Midnight calls for the aid of every horse still alive in the stables
- Use proper spells to summon Attumen and handle transitions
- Now despawns on evade
Video of encounter after changes: https://www.youtube.com/watch?v=KX0rqaBeSzw
2016-07-30 12:13:48 +02:00
ariel- 88bb891a71 Core/Misc: fix issues reported by static analysis 2016-07-26 03:15:20 -03:00
ariel- fa8662e617 Core/Movement: Clean up and improvements on Unit::SetSpeed (#16843)
- Clean up of Unit::SetSpeed (mostly cherry picks from the 6.x branch):
- the opcode sent depends on the unit. until now, MSG_MOVE_SET_* were sent for every units which isn't like retail behavior.
- Removed the unused method parameter "forced" from Unit::SetSpeed
- Renamed Unit::SetSpeed to SetSpeedRate
- Removed the unused method parameter "forced" from Unit::UpdateSpeed
- Added utility method Unit::SetSpeed which take the new flat value.
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Commands/cs_modify.cpp
	src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
	src/server/scripts/Kalimdor/zone_azshara.cpp
	src/server/scripts/Kalimdor/zone_durotar.cpp
	src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
2016-07-23 07:02:25 -03:00