Commit Graph

30 Commits

Author SHA1 Message Date
ratkosrb 265420f1e2 Add system for scripted map events (#89)
* It compiles.

* Add conditions.

* Script command definitions.

* Add script commands.

* Add migration.

* Rename variable.

* Fix iterator.

* Rename field.
2018-05-25 18:49:10 +03:00
ratkosrb 9cacea871f Improvements to waypoint system. (#77)
* Redesign of waypoint system.

* More fixes.

* Fix table name in startup error.

* Add point Id to move command.

* Fix startup error.
2018-05-12 16:25:55 +03:00
ratkosrb 331d0faa55 Add script commands to set spell cooldowns. 2018-04-25 19:19:57 +03:00
ratkosrb 71e02b2fe8 Move caster mobs to Creature Spells and fix any script issues. (#21)
Move close to 600 ranged mobs to creature_spells system.
2018-04-16 15:35:51 +03:00
ratkosrb b3f001c465 Add script command to unsummon guardians. 2018-03-26 16:07:52 +03:00
ratkosrb a62768524f Reset Creature Spells template on respawn.
And fix Set Spells Template script command.
2018-03-15 18:20:20 +02:00
ratkosrb 8b4117ec37 Add script command to change spells template. 2018-03-13 22:09:17 +02:00
ratkosrb 734a0d5085 New DB release and EventAI changes.
https://github.com/brotalnia/database/blob/master/world_full_12_march_2018.7z
2018-03-12 20:19:57 +02:00
brotalnia b455fc2c6a Merge open source repo. 2018-03-02 16:00:16 +02:00
brotalnia b29a5a0730 Unify Flag related commands. (#1290) 2018-01-23 01:12:21 +02:00
brotalnia 3eb35d7a5b Remove depracated table gossip_texts. 2018-01-20 17:58:48 +02:00
brotalnia e55b6c4074 New database release. (#1246)
* Refactored spell data loading.

* New database release.
2018-01-15 20:49:18 +02:00
brotalnia d025b44a64 Add script commands to set instance data. 2018-01-09 17:49:57 +02:00
brotalnia 0787b1e911 Reworked database scripts implementation. (#1195)
* Add buddy columns to scripting tables.

* Update up to MoveTo command.

* Flag set and remove commands.

* Rework MOVE_TO targets selection.

* Updated teleport command to accept creature.

* Open and Close door commands.

* Smart target selection for Activate Object command.

* Standardize targets selection.

* Update targeting for Despawn command.

* Add command to set equipment.

* Update movement and active object commands.

* Update Mount and Morph commands.

* Update targets for Attack Start command.

* Fixed targeting for all commands.

* Move script commands to separate functions.
2018-01-09 16:19:54 +02:00
brotalnia 36e37f205b Rework some SFK scripts. 2018-01-02 23:22:12 +02: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
brotalnia 11ab55a2c8 Implement Creature Spells system. (#1057)
* Implement creature spells system.

* Tabs to spaces.

* Use creature spells for Varimathas and Defias Pillager.

* Try to fix linux compile.

* Some refactoring.

* Add EventAI command to set creature_spells template.

* Correct undercity.cpp comments.

* Add command to reload table.

* GetPatchName should not be static.

* Add missing const.
2017-12-26 19:43:11 +02:00
brotalnia 583b07d7b9 Implement Meeting Stone functionality. (#798)
* Initial core implementation.

* Add script command to join queue.

* Add gossip option to innkeepers.

* Add patch support to gameobject spawns.
2017-11-29 03:52:03 +02:00
brotalnia a03dc83d66 Add loading checks for ACTION_T_EVENT_SCRIPT. 2017-11-10 15:05:19 +02:00
brotalnia 77a78e4a15 Implement Broadcast Texts and add new DB release.
* Core: Implement broadcast texts.

* Core: Get rid of db_script_strings table.

* Core: Fix MaleText locales and db scripting improvements.

* DB: Add broadcast texts and fix quest 2608.

* Fixed FemaleText locales!

* Move chat functions back to worldobject.

* Replace all db_script_string ids.

* Drop table db_script_string.

* New database release.
2017-11-09 16:01:53 +02:00
bladez 4932256e35 Resolve a crash in channeled spell update when multiple holders are removed during iteration (#368)
* Added a simple unit AI script for testing casting on multiple units that despawn during the spell update

* Now step the aura update iter on holder removal

* Prevent array overrun

* Now initialize m_channelUpdateIterator, refactored and slightly optimised channel holder removal

* Allow unused custom script warnings to be suppressed
2017-10-29 14:14:09 +11:00
brotalnia 7bbf047e5a New Progression System (#2954)
* Implement new progression system. (#2118)

* Implement new progression system.

* Add progression support to battleground_template table.

* Assign patch to areatriggers.

* Print current patch on startup.

* BG player requirements are per team.

* Revert last change. Thanks WobLight.

* Fix .npc add command.

* Now actually fix .npc add.

* Assign patches to game events.

* Items can be forbidden both after and before a patch.

* Extend quest tables support.

* Rename migration so its last.

* Merge changes into 1 migration.

* Add old BG rewards.

* Battlemasters, Equipment Errors, Item Conditions.

* Warbringers and Brigadier Generals added in 1.8.
2017-10-02 20:34:08 +03:00
brotalnia 5e9321c671 Error Wars 3 - Revenge of the Fix (#1867)
* Take database spell data into account when checking if event script is used

* Use spell to start event for quest Decoy! to avoid startup error

* Update STV fishing tournament script to use script_texts.

* Update alliance script when turning in Nefarian's head to use script_texts.

* Update horde script when turning in Nefarian's head to use script_texts.

* Update warchief blessing event script to use script_texts.

* Update alliance script when turning in Onyxia's head to use script_texts.

* Update horde script when turnin in Onyxia's head to use script_texts.

* Update Alterac Valley scripts to use script_texts.

* Update Stratholme scripts to use script_texts.

* Add missing text to Captain Tuubid.

* Update Eastern Plaguelands scripts to use script_texts.

* Improve script for event after completion of Battle for Darrowshire

* Have Pamela face her father.

* Update Timmy the Cruel's script to use script_texts

* Add missing texts to Postmaster Malown.

* Update texts for Zul'Farrak.

* Add missing texts for Blackhand Summoner when casting summoning spells.

* Update Tendris Warpood's script to use script_texts.

* Don't report about unused generic scripts.

* Fix for all database errors.
2017-08-11 02:39:07 +03:00
brotalnia 4ddab9d888 Added several commands to ScriptMgr (#1030)
* Added SCRIPT_COMMAND_SEND_TAXI_PATH (30), SCRIPT_COMMAND_TERMINATE_SCRIPT (31), SCRIPT_COMMAND_ENTER_EVADE_MODE (33), SCRIPT_COMMAND_TERMINATE_COND (34), and SCRIPT_COMMAND_TURN_TO (35)

* Changed  SCRIPT_COMMAND_DESPAWN_SELF to SCRIPT_COMMAND_DESPAWN_CREATURE
2017-06-11 11:55:24 -07:00
brotalnia 5414718da6 Add SCRIPT_MODIFY_FLAGS & Improve Sentinel Selarin Script (#942)
* Added SCRIPT_COMMAND_MODIFY_NPC_FLAGS to ScriptMgr

* Improved script for Sentinel Selarin
2017-06-01 06:48:11 -07:00
Gemt f249772b12 Merge branch 'development' into aq 2017-04-15 22:30:07 +02:00
sipertruk 21559a5d61 broadcast zone yell sound to whole zone (#352) 2017-04-10 16:45:16 +01:00
Cgbd 70eb8d1832 Implements dialogue helper 2017-03-17 10:12:44 +01:00
StadenElysium 43452c0d9c License update (#27) 2017-03-15 17:27:20 +00:00
shenna c9151a5715 Initial Commit / Core Files 2017-03-10 00:38:11 +03:00