Commit Graph

1057 Commits

Author SHA1 Message Date
Aokromes
ac3dbcb880 Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list 2017-06-07 09:53:04 +02:00
Aokromes
0bb27ecd4b Pet/Guardian AI hook re-organizing (#19824)
* Pet/Guardian AI hook re-organizing:
- Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets.
- Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait.
  - Adjust PetAI to use DamageTaken instead of AttackedBy.
  - Adjust behavior of AttackStart on PetAI to compensate.
2017-06-07 02:50:14 +02:00
TecDian
25ba21f85e Core/Scripts: simplify speech for DK races quests 2017-06-06 07:55:36 +02:00
Aokromes
a68dd40235 tabs 2017-06-02 17:28:38 +02:00
Aokromes
214b5a65e3 DB/Misc: Misc fixes for Dun Morogh
By Malcrom
2017-06-02 16:07:06 +02:00
Aokromes
123c10a395 Scripts/Stockades - Add scripts to instance
By Artamedes
2017-06-01 23:55:52 +02:00
Ryan
1442984686 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-28 19:10:00 +01:00
Aokromes
6e49330f54 Fix missing changes 2017-05-23 15:20:21 +02:00
Aokromes
f0e36b0863 Core/Defines: define faction templates and replace magic numbers from scripts 2017-05-23 14:37:54 +02:00
roc13x
0242bd6f20 Build fix 2017-05-05 03:51:07 +01:00
xinef1
b88200cd58 Core/Misc: Various crash fixes 2017-05-05 01:59:34 +01:00
Aokromes
c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00
Aokromes
3aaadcfddc Fix non-PCH build. 2017-05-01 00:28:26 +02:00
Aokromes
b00f376482 Core/Scripts: Codestyle fixes 2017-04-29 15:43:11 +02:00
Aokromes
ad9636e916 Coding style 2017-04-29 10:51:23 +02:00
Aokromes
8b20c2bbf3 warning fix 2017-04-29 01:59:19 +02:00
Aokromes
44af529a0a Core/Scripts: Dwarf Start Area scripts
By Malcrom
2017-04-29 01:55:00 +02:00
ccrs
a17849bcfe Core/Unit: 2170541a51 followup
use true as default value since pretty much all the script calls will expect that
2017-04-28 12:57:38 +02:00
Aokromes
43aecc42aa Commit name: Add flying check to MoveSmoothPath
By Malcrom
2017-04-12 23:21:58 +02:00
Aokromes
8e8ce39a2b Core/Misc: fix static analysis issues 2017-04-10 00:43:03 +02:00
Aokromes
26ad72bdb5 compile fix 2017-03-16 02:23:26 +01:00
Gustavo
4ec7b63de1 Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event boss) (#19076)
Closes #5114
2017-03-15 23:36:24 +01:00
Aokromes
ca20d34f59 Make travis happy 2017-02-17 16:16:00 +01:00
Aokromes
7ddb8a7486 Coding standards 2017-02-17 16:11:51 +01:00
Flameshot
1be7b106a3 Codestyle 2017-02-17 16:50:17 +02:00
Flameshot
499f7d3d5b Removed unedeed things 2017-02-17 16:46:52 +02:00
Flameshot
267d2805d7 Dungeon/The Stockade: Randolph Moloch is now 100% Scripted 2017-02-17 16:40:20 +02:00
Aokromes
d57462bf0f Core/Scripts Rework boss Terestian Illhoof (Karazhan) 2017-02-10 05:33:28 +01:00
Gustavo
55b002e357 Core/Scripts Update boss Maiden of Virtue (#19058) 2017-02-10 05:23:57 +01:00
Gustavo
bf87734b2e Core/Scripts: boss The Curator (Karazhan) rework (#19040)
Closes #16099
2017-02-10 05:21:38 +01:00
xinef1
2c05a59815 Core/Misc: Fix various crashes, also related to multithreading (#19012)
* When iterating groups we have to either do it not in multithreaded context (map updates) or start with checking maps (they are guaranteed to change in single thread update).
* Properly clear ComboPoint references on player remove 
* remove some possible references item may have when it is deleted during save. 
* Also clear all hostile references when unit is removed from map.
2017-02-05 01:58:11 +01:00
Gustavo
44503ff4d0 Core/Scripts: boss Nightbane rework (Karazhan) (#18899)
Closes #10017
2017-02-05 01:55:22 +01:00
Aokromes
96be616942 Core/Scripts: update to sharpbeak
By Malcrom
2017-01-14 15:05:05 +01:00
Aokromes
6c078793fb Script/Quest: Update Sharpbeak 2017-01-13 04:50:30 +01:00
Aokromes
022d59093e DB/Quest: Script Quest 24125 Rite of the Winds
By Malcrom, closes #107
2017-01-12 03:02:03 +01:00
Aokromes
2110993b9e typo fix 2017-01-12 02:47:28 +01:00
Aokromes
79df6eb1b2 Core/Scripts: Sharpbeak update
By Malcrom
2017-01-12 02:45:21 +01:00
Aokromes
1a9057cac0 fix warning 2017-01-11 02:14:46 +01:00
Aokromes
7e7f318364 typo fix
previous commit by Malcrom, typo by me.
2017-01-11 02:03:35 +01:00
Aokromes
9ac702e60b Script/Taxi Sharpbeak Hinterlands 2017-01-11 01:57:47 +01:00
ariel-
fb44395dca Core/Script: PCH issues 2017-01-09 08:03:56 +01:00
ariel-
e6b1b3d9f0 DB/Script: The Only Cure is More Green Glow
Closes #1723

SQL by Staleness89, corrections by Killyana
Script by Keader, corrections by sirikfoll and me
2017-01-09 08:03:40 +01:00
Gustavo
b42f9370c8 Core/Scripts: Implement Boss Coren Direbrew (#18137) 2017-01-07 07:20:43 +01:00
Aokromes
719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Aokromes
949ce2d576 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc75)
2016-12-16 19:54:22 +01:00
Duarte Duarte
49dcbf43eb Optimizations for Zapcc compiler 2016-12-01 03:42:50 +01:00
Andrew Blakely
70a2ae105d Core/Scripts: Fixed Vaelastrasz bomb mechanic (#18260)
* Core/Scripts: Fixed Vaelastrasz bomb mechanic

Vaelstraz was suppose to bomb raid members that are mana users every 15
seconds. He was not doing that with the current implementation.

This implementation allows him to bomb the raid and to select the proper
targets. This is also done in a cleaner way.

* Added AuraScript for SPELL_BURNINGADRENALINE

Needed to define an AuraScript for custom behavior that would denatonate
the damaging aura when the debuff falls off.

SpellId - 18173

* Added SQL for Burning Adrenaline Script Ref

* Fixed Multiple Application of BA

* Add unit null check in lambda

* Remove DB name from sql query

* Added Newline in SQL update file.

* Added SQL delete query for potential existing spell

* Fix SQL newline again.

* As suggested a simpler SpellCast overload works

I don't know if there are any consequences but it seems to function fine
in in-game.

I'd like more information on the overload that involves an AuraEffect.

* Remove duplicate Unit null check in lambda

* Update boss_vaelastrasz.cpp
2016-11-27 17:04:56 +01:00
tkrokli
5896b95e41 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916
2016-11-03 16:13:00 +01:00
Dr-J
695b3df525 Remove reference to eastern plaguelands script 2016-11-02 03:50:10 +01:00
Dr-J
458a422d7e Remove obsolete file 2016-11-02 03:49:57 +01:00