Commit Graph

24 Commits

Author SHA1 Message Date
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