Commit Graph

37 Commits

Author SHA1 Message Date
ratkosrb ffbfd43c14 Remove no longer needed scripts. 2021-11-21 04:32:15 +02:00
Orozxy 0c2ee99217 Reimplement the Scourge Invasion event. (#1204)
Co-authored-by: ratkosrb <ratkomladic2@abv.bg>
2021-06-09 14:49:56 +03:00
ratkosrb b335e44fd8 Add old levels for Duskwood bossed and remove useless script.
Closes https://github.com/vmangos/core/pull/1083
2021-04-08 03:08:28 +03:00
ratkosrb 8d806cf7bd New script for Princess Theradras.
Closes https://github.com/vmangos/core/pull/978
2021-01-24 04:58:32 +02:00
ratkosrb 1b7ecdd3b8 New script for Darkmaster Gandling. 2021-01-15 22:51:08 +02:00
ratkosrb 88955825fc Misc small fixes. 2020-12-14 20:36:42 +02:00
ratkosrb 9dd5f97482 New script for quest Ulag the Cleaver.
Closes https://github.com/vmangos/core/issues/860
2020-11-14 21:46:21 +02:00
NickTyrer f0cd647c06 Update abilities of faction leaders (#819) 2020-11-02 12:48:47 +02:00
ratkosrb 4ba6a87d19 Add more missing gossip menus.
Closes https://github.com/vmangos/core/issues/806

Closes https://github.com/vmangos/core/issues/805
2020-10-08 05:05:02 +03:00
ratkosrb b28d0ade96 Add gossip menus for multiple npcs. 2020-06-20 21:52:33 +03:00
ratkosrb 2bb8477367 New script for UBRS Blackrock Stadium Event. (#611) 2020-06-19 23:51:30 +03:00
ratkosrb 99d377f1c9 More gossip menu corrections. 2020-05-31 19:20:15 +03:00
ratkosrb 26addb5243 Rework of the New Year's Eve and Fireworks events. (#398) 2020-03-05 19:05:22 +02:00
ratkosrb 2e17e3ae7c New script for Atiesh. 2019-05-19 16:50:19 +03:00
ratkosrb c11e45bf4f New script for Baron Rivendare. 2019-05-12 22:08:08 +03:00
ratkosrb 0b8ccb6af4 New script for Lord Kazzak.
Moved to DB and removed all the TBC texts.
2019-05-10 20:01:20 +03:00
ratkosrb c19316a519 Move Anachronos script to database. 2019-05-05 13:51:58 +03:00
alexkulya 27f53bc78c Script for Death Knight Darkreaver.
Closes https://github.com/vmangos/core/issues/70
2018-12-14 02:46:13 +02:00
ratkosrb 9c12d95d0a Add gossip menus for profession trainers. 2018-12-04 14:46:48 +02:00
ratkosrb 14bc932aa4 Database script for Amnennar the Coldbringer. 2018-10-10 00:59:40 +03:00
ratkosrb 687311fec7 Tabs to spaces. 2018-09-13 21:58:11 +03:00
ratkosrb 14eba4a2ca Implement GuardEventAI and add scripts for guards. (#196)
* Add command to apply aura.

* Add condition for no path to victim.

* Add Is Player condition.

* Database scripts and fixes.

* Improve GuardAI.

* Implement GuardEventAI.

* Mark faction as At War in client on aggro.

* Fix instance reset message.

* Reimplement invisability for Shade of Jindo.

* Cleanup ancient methods.

* Sync At War flag.

* Fix aura for Drunken Bruiser.

* Add LoS check.
2018-08-05 13:58:32 +03:00
ratkosrb 700d272741 Shadowfang Keep: Move hardcoded scripts to DB (#132)
* Core changes.

* Replace hardcoded SFK scripts.
2018-06-15 12:26:24 +03:00
ratkosrb 96ec451406 In Dreams: Full Quest Implementation (#121)
Scripted entirely in the database now.
2018-06-08 06:12:09 +03:00
ratkosrb 33b34c8b15 Duke Hydraxis gossip and other fixes. 2018-05-08 11:24:59 +03:00
GuybrushGit d113ad0522 Refactor encounter in progress check (#47)
* Refactor encounter in progress check

* Encounter in progress kick player on login

* Molten Core & Onyxia's Lair

* Bug Trio and Huhuran

* AQ20 encounters

* ZG encounters

* BWL & Naxxramas

* Onyxia SetData bug

* Add comment about why we're not using MAX_ENCOUNTER

* Random finger mashing
2018-04-21 16:37:37 +10:00
brotalnia 377b2cb246 Moved Azuregos script to database.
-Added scripts to creature spells

Removed manual loot distance adjustment from scripts.

Set loot and xp credit distance of bosses to 150 yards by default.
2017-12-28 21:56:50 +02:00
dimefox c678e099e0 Fixes for Celebras (#720)
* update Celebras script to use improved broadcast texts

* Make Celebras the Redeemed non TemporarySummon so he respawns and persists

* remove unused Maraudon scripts

* simplify celebras_spirit script and add timeout on waiting for click on book

* data for Celebras gossip and spawn

* handle quick book click

* adapt migration npc_text to new schema
2017-11-28 02:16:28 +02:00
bladez 384d0d5c37 The Gates of Ahn'Qiraj War Effort (#540)
* Set Red Scepter Shard run timelimit to Blizzlike 5 hours

* Added a missing script text during the Eternal Board

* Corrected some typos, item availability and long forgotten memories quest completion

* War Effort event rework

* Allow events started at the current tick to run

* Fixed stock incrementing on handin for shared and alliance turnins
Add war effort game events and some gossips (some are missing)

* Check actual war effort event for world state

* WIP War Effort event

* Refactored gobj update and objective checking to utilize an AI that periodically updates

* Removed old, unused hard coded gossip for war effort officers

* Add condition for toggling based on the NPC entry

* Add gossip and remove script for War Effort officers

* Add NPC gossip for recruiters

* Removed shared resource contributions - the objectives are not completed simultaneously by both teams, but rather they both have the same goal for those resources

* Always add the game object to the map, regardless of whether it is spawned by default or not

* Don't offer quests if the unit has no quest giver flag

* Implement supply tier decay as the effort moves to Silithus

* Partial implementation of active game events during the effort. TODO: Build an array that dictates active events at each stage

* Adjusted event terminator to auto assign

* Now store an array of events for each stage so we can resume cleanly after a restart

* Set most war effort events to hardcode so we can control the start/end of the event better

* Ensure default spawn type is preserved when saving a game object to DB

* Fix migration, link gong to gong event

* Now properly despawn gameobjects that are not spawned by default

* Moved crystal AI to war effort script, adjusted gobj spawn handling

* Force overwrite on StopEvent, ensure the AQ gate is open at end of war, adjusted when stage events are updated

* Allow world timers to be modified externally so certain timers can be forced to occur sooner than usual

* Added a var that counts how many times a gong has been rung

* Gong is now active, final battle event is now hardcoded. Fixed comments preventing migration from executing

* Allow hardcoded events to adjust update delay dynamically based on internal state

* Added helper methods to enable/disable rather than just start/stop. We need to do this for events that can be active prior to 1.9, such as the gate
Add dynamic update for certain stages to ensure things happen in a timely manner
Re-added crystals emerging text

* Remove hard-coded Rajaxx summon, he'll be spawned with the event

* Remove Rajaxx AI outside of AQ. He just stands still on top of the gate

* Added AI for moving soldiers into position when CH is under siege

* Added Rajaxx spawn to DB
Added additional Colossal Anubisath around the gate
Added a trigger creature for CH attack waves
Updated the size of Resonating Crystals
Updated the draw distance for Hive Colossus
Add AI to IF/Org soldiers and Priestess of the Moon

* High Overlord Saurfang script and text

* Renamed some events that are now being utilized, added additional stages to the battle

* Re-numbered Saurfang script texts
Remove priestess mount aura
Fixed trigger insert query
Add dummy additional anubisaths (coords not set yet)

* Add cenarion hold attack spawn trigger
Add Saurfang AI

* Use MovePoint rather than MoveTargetedHome, since MoveInLineOfSight does not fire during the latter

* Fixed some syntax errors, added colossal spawns NE of AQ
Adjusted rifleman AI

* Made infantry AI a bit more generic so it can be extended
Added separate AI for riflemen
Added formation for following Saurfang

* Fixed AutoStoreLoot bypassing loot conditions. TODO: Remove this SHIT

* Add dummy spawns for colossal during final battle
Rectified a number of incorrectly forbidden items

* Add config option for the rate at which the war effort auto completes

* Reversed the order for CONDITION_NPC_ENTRY, added CONDITION_WAR_EFFORT_STAGE

* Added support for auto completing the war effort

* Invert npc entry condition values, restrict field duty and aq20 gear quests, update spawn pos of final battle NPCs

* Fixed stage value check

* Fixed objective count in collection event check

* Added remaining transition day count world state
Increased the wave size and reduced destroyer spawn chance during the cenarion hold attack

* Simplify gobj spawn condition

* Remove colossus events from stage updates - they can persist outside of the stages

* Now start colossus reward events on death

* Add gossip text to recruiters indicating when the resources will arrive in Silithus
Fixed mounts on cavalry and Stormwind infantry equipment

* Reduced time between the collection being completed and the transition starting

* Save the gong bang time to DB

* Prevent underflow on m_respawnDelayTime with negative spawntimesecs

* Increased the power and health of High Overlord Saurfang during the war, fixed his state being set incorrectly on respawn during the wave attack

* Don't allow zoning into AQ while the gate is up

* Now use a saved var with flags for Hive colossus events rather than starting them directly in the map update (not thread safe!)

* Add game sounds to gate opening

* Add faction-specific signet reward NPCs during the collection

* Remove npc_gossip entries, now use only gossip_menu for recruiters
Removed interactability of resonating crystal formations
Corrected the min level for turn in pre-quests

* Added support for game event checking in area trigger teleports, removed hard-coded team/rank checking and added DB support for them

* Make Ahn'Qiraj teleport triggers require the gate to be open

* Corrected the reputation requirement on some Scepter chain quests

* Overwrite start time for colossus reward events

* Move colossus text to colossus spawn rather than on the gong

* Fixed criteria check for CONDITION_NPC_ENTRY after param order change

* Add missing NPC texts from broadcast_text
Add missing world announcements for battle progress
Correct Maws resistances/armour

* Store Saurfang guid so we can follow him from across map. Implement Saurfang spell AI

* Saurfang will now correctly resume his path after engaging in combat
Soldiers following Saurfang will no longer fly and warp around after combat ends
Soldiers following Saurfang that die will respawn near him, and resume following
Added an extra point to Saurfang's path to avoid a terrain glitch
Priestess should now properly dismount on aggro
2017-11-14 16:11:13 +11:00
LHGemt 22c05ecc62 Atiesh (#422)
* Atiesh implementation

* remove unused code

* only apply unholy aura during combat

* atiesh: added red lightning cast on spawn
2017-11-01 04:28:53 +02:00
Gemt 551379375e merge qa staging into naxxramas 2017-07-16 18:49:32 +02:00
Prithu 643a12647d Implemented NPC J'eevee AI for Scholomance (#1402)
* Implemented NPC J'eevee AI for Scholomance, working in conjunction with the Dire Maul AI for the same NPC

* Fixed Imp Delivery quest objectives - players will now be able to see when the quest is completed

* Added J'eevee scripts to CMakeLists, fixes broken build
2017-07-09 10:52:53 +01:00
Prithu 2711f1fa2a Implemented the T0.5 BRD Arena Challenge event (#1407)
* Fixed minimum range check searching for players WITHIN the range rather than a player OUTSIDE the range

* Implemented T0.5 BRD Ring of the Law Challenge event
Implemented AI for a number of the NPCs in the event, it should be rather difficult
Players can now wipe on the Ring of the Law event and continue either from the beginning, or at the boss if they are up to it
Added "Arena Spoils" game object spawn on successful completion of the T0.5 challenge

* Fixed scripts being blocked if no suitable targets were being found for spells - they just followed the target without attacking

* Fixed Malgen not chasing his target after feigning to lay a trap
2017-07-09 10:49:21 +01:00
Gemt 7395ea2802 added scriptdev2 code to boss_grobbulus.cpp 2017-05-20 21:52:00 +02:00
Gemt 5ee23f66ed added thaddius script loading to src/scripts/ScriptLoader.cpp 2017-05-17 16:16:58 +02:00
brotalnia a2c880f2fb unregister unused scripts (#456) 2017-04-22 07:33:13 +01:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00