Commit Graph

23 Commits

Author SHA1 Message Date
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 4afe949345 Replace usage of NULL with nullptr. 2019-11-12 19:53:42 +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 805759cf50 Save guid in training dummy script.
Closes https://github.com/vmangos/core/issues/128
2019-01-22 06:33:08 +02:00
ratkosrb 395d47d15f Organize code in Player.h 2018-12-02 19:19:04 +02:00
ratkosrb 716da74d7d Support for client build 1.10.2 (#213)
After this commit you have to move your DBCs inside a folder with the build number. So for example if they were in "data\dbc\" before, now they should be in "data\5875\dbc\" for 1.12.
2018-08-26 08:51:57 +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 0c0cf09f8f Add missing continue in training dummy script. 2018-05-27 16:59:44 +03:00
ratkosrb 9fb652e1c3 Fix crash in combat dummy script. 2018-05-03 15:24:04 +00:00
ratkosrb 207b3db9e4 Improve custom training dummy script. 2018-04-25 20:27:55 +03: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 d025b44a64 Add script commands to set instance data. 2018-01-09 17:49:57 +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
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 d6e3c6bbcc Fix startup errors and misc stuff. 2017-10-27 00:24:22 +03:00
Gemt 12944ee3f7 removed gm isle tp from teleportman 2017-08-23 00:26:39 +02:00
Gemt ffb9af816a custom creature for profession training 2017-08-13 12:59:14 +02:00
Gemt 60dae8558b custom enchanter creature 2017-08-13 02:26:04 +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
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