Commit Graph

38 Commits

Author SHA1 Message Date
Kittnz 85ac39fd54 Implement battleground bots (#413)
Also includes a rewrite of the party bots.

Co-authored-by: ratkosrb <ratkomladic2@abv.bg>
Co-authored-by: ratkosrb <35845488+ratkosrb@users.noreply.github.com>
2020-04-16 07:03:24 +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 3c7ed62124 Fix static analysis const reference performance warnings.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/14f57745471f0c3a3b262e168b2875f1a640daa3
2020-01-21 18:57:52 +02:00
ratkosrb e806acc769 Apply clang tidy fixes. (#330) 2019-12-24 06:23:40 +02:00
ratkosrb 49b9a82244 Switch to east const style. 2019-12-21 00:45:35 +02:00
ratkosrb 7a5574229c Add condition id to areatrigger teleport table. 2019-12-08 19:53:02 +02:00
ratkosrb 57b3a46c2c Add better descriptions of condition types. 2019-12-08 17:00:03 +02:00
ratkosrb 48658da60c Allow using up to 4 params in OR and AND conditions. 2019-12-08 15:18:24 +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 df76eff1d3 Fix a ton of warnings found using clang. (#308) 2019-11-20 20:27:36 +02:00
ratkosrb cf1ac2f373 Fix some bad replace cases. 2019-11-12 20:35:05 +02:00
ratkosrb 4afe949345 Replace usage of NULL with nullptr. 2019-11-12 19:53:42 +02:00
ratkosrb abafaf706e Add cooldown to Warchief's Blessing.
Based on cmangos.

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

https://github.com/cmangos/mangos-classic/commit/0583bd7a378df982f4e6a65e204f0ebd91296cc6
2019-08-24 01:07:02 +03:00
ratkosrb 779fbd0b8e Small correction to last commit. 2019-05-10 20:02:52 +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 39ec742603 Refactor player skills code.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/e277f221de81c7195f8ea7bbdcf4a9eb0e8f03a2

Fixes https://github.com/vmangos/core/issues/105
2019-01-08 18:36:37 +02:00
ratkosrb 5db6217157 Add DisableCondition function. 2018-12-24 09:06:52 +02:00
ratkosrb 54b47f4c24 Remove not used conditions. 2018-12-14 02:06:42 +02:00
ratkosrb e56b932f10 Fix startup errors on 1.9. 2018-11-22 02:40:25 +02:00
ratkosrb 76f49163c9 Database script for Witch Doctor Zum'rah
Also reimplemented EffectActivateObject based on the info here https://github.com/TrinityCore/TrinityCore/issues/21078
2018-10-05 16:52:57 +03:00
ratkosrb 101b449d47 Save guids in scripted events instead of pointers. 2018-10-03 16:34:01 +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 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 18197987a9 Add gossip menu for Deathly Usher. 2018-05-13 09:42:37 +03:00
ratkosrb ac5ac56f1d Fix typo. 2018-04-30 21:04:58 +03:00
ratkosrb 4cb745944c Reimplement ossirian aggro triger in EventAI and move to custom.
Also fixed issue with conditions that have big ids.
2018-04-30 20:54:40 +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 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 b7c5c8f1b4 Add Is Moving condition. 2018-03-26 19:01:58 +03:00
ratkosrb b3f001c465 Add script command to unsummon guardians. 2018-03-26 16:07:52 +03:00
ratkosrb 175c577f65 Add distance condition. 2018-03-25 22:16:05 +03:00
ratkosrb c6683f1344 Add a few new conditions. 2018-03-16 00:49:14 +02:00
ratkosrb 560cbcf4df Fix Ogre Tannin Basket event. 2018-03-14 21:01:27 +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