Commit Graph

22392 Commits

Author SHA1 Message Date
Aokromes
acd63b4259 Core/Entities: moved PetAura handling to Player where it belongs 2017-05-02 02:10:32 +02:00
ariel-
f3246f835c Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook
- Duplicated logic never used, sometimes only ScriptMgr version was called, sometimes only AI
- They only encourage bad scripting practices
- You can still use OnSpellHit or a SpellScript
2017-05-02 02:04:45 +02:00
Aokromes
c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00
Aokromes
c42aea1bce Coding style 2017-05-01 14:54:49 +02:00
Aokromes
3aaadcfddc Fix non-PCH build. 2017-05-01 00:28:26 +02:00
Aokromes
3563af5c60 Core/Script: Fix low level class quest 2017-04-30 23:34:31 +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
Keader
1a1fb6712c Core/Scripts: Re-hack Boss Loken. Followup 3a0cb90ea9
Loken still need ClearUnitState Hack to DoMeleeAttackifReady work
2017-04-28 12:57:27 +02:00
ccrs
748df97208 Core/Spell: move creature focus
bellow the possible interruptions
2017-04-28 12:57:16 +02:00
ccrs
8b62b4ff03 Core/CreatureAI: b6b0353bff followup 2017-04-28 12:57:06 +02:00
Aokromes
52b6941616 typo fix, fixes crash on windows 2017-04-27 04:17:11 +02:00
Aokromes
d2e0ad00b6 fix some coverity issues 2017-04-26 18:08:08 +02:00
ariel-
e53e8b8437 Core/AI: some tweaks on boundary functionality:
- Moved SetBoundary to public scope to allow for greater flexibility (ie set from external script)
- Extended to allow checking inverted boundaries
2017-04-26 13:08:01 +02:00
ariel-
8070e6ad29 Core/AI: added a function to allow 0 damage attacks (sparring) depending on target 2017-04-26 13:07:54 +02:00
jackpoz
1664c1bd2e Core/Misc: Fix static analysis issues 2017-04-26 05:09:44 +02:00
Keader
68cadd6375 Core/Scripts: Added a missing break in Illidan Stormrage script
Thanks Jackpoz
2017-04-26 05:09:32 +02:00
jackpoz
d01f1d31bd Core/Misc: Fix static analysis issues 2017-04-26 05:09:21 +02:00
ariel-
04466823e1 Core/Scripts: fix gaseous bloat proc (again)
- UNIT_STATE_CASTING removal not needed for movement now, but it's needed for melee attacking
2017-04-25 13:33:38 +02:00
Keader
504653e796 Core/Scripts: Fix a typo in Blood Prince Council
Thanks ariel-
2017-04-25 13:32:03 +02:00
ariel-
c697a9de2e Core/Spell: don't make creature change orientation to 0 if channeling self 2017-04-25 13:31:11 +02:00
ariel-
8e16897073 Core/Spell: define channels without movement interrupt flags as allowed move
- Remove script hacks no longer needed
2017-04-25 13:30:58 +02:00
ariel-
2e27a1f64e Core/AI: prevent launching a new MoveChase if victim didn't change
Thanks ccrs for feedback :P
2017-04-25 13:30:44 +02:00
tkrokli
efee8fcdc1 Core/Scripts: Willix the Importer - $n in aggro text
* In the existing core script, Willix the Importer in Razorfen Kraul says
"Help! Get this $n off of me!" (showing the $n part in his SAY text)
instead of naming the attacker when using his 'SAY_AGGRO1' creature_text.

* With this commit change, unit target is no longer missing for Talk,
making Willix name the attacking unit when he shouts for help.
2017-04-25 13:28:00 +02:00
ariel-
469be111cd Core/Spell: implement pvp trinket immunity against Judgement of Justice
By Riztazz, closes #19484
2017-04-25 13:27:41 +02:00
ariel-
e6580ad922 Core/Player: don't randomly change temporary spell status
- They shouldn't be saved in db
- Prevented temporary spell removal after a save

Closes #14373
2017-04-25 13:27:28 +02:00
Aokromes
ae8dccad31 Core/Spell: fix creature focus with channeled spells
- Remove one not needed ReleaseFocus, this is done at finish already
2017-04-25 13:27:02 +02:00
ariel-
8b8bf5399d Revert "Core/Spell: don't set scaleAura for some special spells"
This reverts commit 1ca8434b36.

Closes #19472
2017-04-25 13:22:41 +02:00
Aokromes
7e2d95e59e typo fix 2017-04-24 03:05:08 +02:00
Aokromes
a3a86c500a Core/Globals: check localeName on loading 2017-04-24 02:50:39 +02:00
Aokromes
d17e694c52 Core/Misc: Update locales_item to simple system 2017-04-24 02:45:53 +02:00
Aokromes
88696506ec Core/Misc: Update locales_quest to simple system 2017-04-24 02:39:39 +02:00
Aokromes
543337a6f5 Core/Misc: Update locales_broadcast_text to simple system 2017-04-24 02:05:45 +02:00
Aokromes
ba894e8b70 missing change 2017-04-23 16:21:19 +02:00
Aokromes
83623e0f7e Core/Spells: Add duration argument to Unit::SendPlaySpellVisualKit 2017-04-23 15:36:46 +02:00
Aokromes
e9b6bb645a Merge branch '4.3.4' into '4.3.4'
Fixed gameobjects not always despawning after use/delete

See merge request !41
2017-04-22 15:43:12 +00:00
Aokromes
6871bb1729 Build: Added 1.64 Boost version to FindBoost 2017-04-20 22:25:46 +02:00
Aokromes
48117444a8 DB/Misc: Drop no longer used table 2017-04-20 19:56:16 +02:00
roc13x
d113ad883c Fixed gameobjects not always despawning after use/delete 2017-04-19 20:05:32 +01:00
roc13x
e4bfd0aa05 Corrected doors and buttons without autoclose time after recent changes 2017-04-19 18:30:32 +01:00
Aokromes
7c16e39bd5 Missing part 2017-04-18 17:33:37 +02:00
Aokromes
9bd0fbb718 typo fix 2017-04-18 14:24:55 +02:00
Aokromes
6d25d89e2b Core/Misc: Sync database schema with master 2017-04-18 14:11:21 +02:00
Aokromes
0d61a6b512 missing part 2017-04-16 17:19:23 +02:00
Aokromes
e7d94f96cd missing part 2017-04-16 16:20:33 +02:00
Aokromes
8288f34778 remove unneded comment 2017-04-16 16:10:33 +02:00
Aokromes
6fef0d2eb2 Core/Trainers: Fix Multiprofession Trainers
By Malcrom, closes #61
2017-04-16 16:01:27 +02:00