Commit Graph

72 Commits

Author SHA1 Message Date
ratkosrb d54dbd66c2 Cleanup header dependencies. 2021-04-12 14:34:00 +03:00
WobLight 03a2e108ba Replace use of ACE threads (#25) 2021-02-21 14:25:25 +02: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 9c8ba7b21b Add script for Final Message to the Wildhammer. 2020-12-30 01:00:57 +02:00
ratkosrb 6005cb29b3 Improve Mindless Undead event in Stratholme. 2020-12-27 04:16:31 +02:00
ratkosrb 250e528dbd Allow specifying guid from start waypoint script command. 2020-12-18 19:42:27 +02:00
ratkosrb 57c33e78df Add cast flag to only cast spell if target is casting. 2020-12-16 18:29:53 +02:00
ratkosrb 35f3eb2281 Pick new creature group leader on death of old leader.
Allows groups with formation movement to continue waypoints like on classic.
2020-12-10 01:23:17 +02:00
ratkosrb 9c9015d644 Fix typo in last commit. 2020-11-16 05:12:53 +02:00
ratkosrb 39960c4fcc New script for quest Vorsha the Lasher. 2020-11-16 05:10:23 +02:00
ratkosrb ce8cc4a642 Add more missing gossip menus. 2020-09-28 15:29:11 +03:00
ratkosrb ec8abeb9bb Split event_scripts table. 2020-09-01 08:32:41 +03:00
ratkosrb a17700bebc Move random emotes to datalong fields. 2020-07-16 07:36:43 +03:00
ratkosrb f6d3b0de7a Add ability to switch gossip menu of npcs.
The reveler npcs use a different gossip menu id depending on which event spawned them.
2020-06-27 18:51:02 +03:00
ratkosrb 93ba2e0654 New scripts for level 5 priest quests. 2020-05-05 17:19:16 +03:00
ratkosrb 618ecbd1d3 Remove obsolete defines. 2020-04-30 19:35:39 +03:00
ratkosrb 26addb5243 Rework of the New Year's Eve and Fireworks events. (#398) 2020-03-05 19:05:22 +02:00
ratkosrb a683100fcc Update gameobject template data. (#370) 2020-02-16 18:40:12 +02:00
ratkosrb 932958540a Rename creature_model_info table.
The information is per display id, not model id.
2020-02-02 15:56:13 +02:00
ratkosrb 49b9a82244 Switch to east const style. 2019-12-21 00:45:35 +02:00
ratkosrb a5c746a5c3 Remove custom Lord Victor Nefarius entry. 2019-12-10 19:06:57 +02:00
ratkosrb 66659fe13f Cleanup and reorganization of Unit and SpellEntry headers. (#312)
* Move some unit and spell defines to dedicated header.

* Reorder functions in unit header.

* Clean up until spell category.

* Finish cleaning up spell functions.

* Cleanup combat system methods.

* Done cleaning up unit header.

* Reduce not needed includes.
2019-11-24 22:20:44 +02:00
ratkosrb 428aa18976 Implement gameobject spell casting (#271)
* Some initial work.

* More work.

* Just a few more errors fixed.

* More progress.

* Fixed all errors in main spell code.

* It compiles!

* Change order of function declarations.

* Fix healing effects.

* Remove empty lines.

* Try to fix travis build.

* Fix old version of Slice and Dice.

* Headers cleanup.

* Move gameobjects list back to unit class.
2019-09-18 23:40:41 +03:00
ratkosrb 1585f7901a Move scripts for Onyxia and Nefarian heads to database.
Also corrected data for related gameobjects based on cmangos.

https://github.com/cmangos/tbc-db/commit/a175805654a347c0a554910ca9c1485568c57b11

https://github.com/cmangos/tbc-db/commit/e9a75b4b82aa317a61afdd4bf17de1809802d824
2019-08-24 23:37:06 +03:00
ratkosrb 05b0500da1 Add waypoints for Justin, Brandon & Roman.
They are also supposed to be holding fishing poles, but their models don't seem to support it in 1.12?
2019-08-17 00:08:25 +03:00
ratkosrb 4c4475bbf4 Rename find nearby object functions. 2019-04-28 21:09:27 +03:00
ratkosrb 5d7467f79b Implement area guards system.
Done without using the guard post gameobjects, since spawning them crashes the 1.12 client.
2019-03-06 19:48:01 +02:00
ratkosrb ed383e83fc Fix set flag script command on old builds. 2019-02-21 00:58:11 +02:00
ratkosrb ff46c9057f Improve Kirtonos the Herald script.
Closes https://github.com/vmangos/core/pull/146
2019-02-20 23:36:07 +02:00
ratkosrb a7905795ac Update creature_template column names.
Changed to all lower case with underscores.
2019-01-23 08:29:34 +02:00
ratkosrb c4c640ef3b Enable morph script command for players too. 2018-12-19 09:58:13 +02:00
ratkosrb a79b180b19 Fix type in comment. 2018-11-07 16:39:15 +02:00
ratkosrb ba3268a699 Fix Challenge to Urok. 2018-11-07 16:37:10 +02:00
ratkosrb ea1c65fe32 Standardize item_template column names. 2018-10-31 10:06:11 +02:00
ratkosrb 5ae67a525f Remove obsolete header. 2018-09-15 20:36:48 +03:00
ratkosrb f0948dbadd End script for An Earnest Proposition.
When you turn in the quest 3 Spectral Stalkers should spawn and attack you.
2018-08-19 01:03:19 +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 96ec451406 In Dreams: Full Quest Implementation (#121)
Scripted entirely in the database now.
2018-06-08 06:12:09 +03:00
ratkosrb 0f7fb9b8e2 Use event scripts table for map events. 2018-06-01 04:20:56 +03:00
ratkosrb ac1b00a9d8 Command to run script on nearby objects. 2018-06-01 04:00:00 +03:00
ratkosrb f668c2948a Waypoints script for specific Ancient Core Hound in MC (#109)
* Add script command to set default movement.

* Add home reset method to creature class.

* Add Is Alive condition.

* Add method to set default motion type.

* Add migration.

* Add parameter to clear movement generator.
2018-05-27 17:02:25 +03:00
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 ea66fc38fe Implement EventAI for Pets (#66)
* Added an AI class for Pets that inherits EventAI.

* Added conditions to check target's HP and Mana percents.

* Fixed mistake in Unit::IsImmuneToDamage.

* Made DoSelectLowestHpFriendly work with Players.

* Added a script command to set a creature's react state.

* Moved Timbermaw Ancestor's script to EventAI.
2018-04-28 23:54:45 +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 53bee79f50 Typo. 2018-03-26 16:09:15 +03:00
ratkosrb b3f001c465 Add script command to unsummon guardians. 2018-03-26 16:07:52 +03:00
ratkosrb 8b4117ec37 Add script command to change spells template. 2018-03-13 22:09:17 +02:00