Commit Graph

5322 Commits

Author SHA1 Message Date
Aokromes
57573fd491 Build fix 2017-08-14 14:00:11 +02:00
Aokromes
e140e2ffbc Scripting: Clean up of magic numbers
By Malcrom
2017-08-14 13:42:26 +02:00
Aokromes
139cea3d26 Scripts/ICC: Minor Fixes for Lich King
- Fixed Shadow Trap and Defile Targets

- Fixed Shadow Trap Summon Delay and Duration

- Fixed Berserk Timer (15 Minutes)

- Fixed Shadow Trap Despawn when Snowstorm starts
2017-08-14 11:53:05 +02:00
Treeston
584a302f3c Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic. 2017-07-27 16:46:47 +02:00
treeston
d73970fcb5 Scripts/Item: Change Nitro -> Boosts <- to use the correct knockup effect for their backfire. Also, script that knockup effect to work properly ("usually" deploy a rescue parachute). 2017-07-18 18:34:57 +02:00
Aokromes
8a2526cd94 Scripts/Item: Fix Nitro Boosts to only fail in flyable areas. Also, it's called nitro _boosts_. Not _boots_. Nitro _boosts_. 2017-07-18 14:19:41 +02:00
Aokromes
8b6261c809 Core/Misc: Fix static analysis issues 2017-07-16 19:05:26 +02:00
vincent-michael
c9e25147cc Scripts/Misc: Fixed static analysis issues 2017-07-16 12:21:13 +02:00
Aokromes
1c6197a0e3 Build fix 2017-07-15 17:24:05 +02:00
Aokromes
33c7f9d471 Core/Misc: Fix static analysis issues 2017-07-15 16:36:41 +02:00
Regigicas
b583c1ffec Scripts/Commands: Fix a crash on summon when no group is avaible (#20029)
Closes #20027
2017-07-15 16:32:02 +02:00
Nyeriah
c2272525a9 Scripts/Karazhan: Fix Attumen and Midnight not moving towards each other on phase transition after latest changes 2017-07-08 18:44:58 +02:00
Aokromes
8633f6e30c fix warning 2017-07-05 07:45:38 +02:00
Aokromes
d83eee0f89 Core/Script: Partial Redridge fixup
By Malcrom - Reviewed by Treeston and Keader
2017-07-04 17:54:11 +02:00
Keader
f2aa981f81 Core/Custom: Fixed Duel Reset Exploits
Close #17419
*Fixed exploit with SPELLMOD_COOLDOWN
*Fixed exploit with some items (like Sylvanas' Music Box)
*Little cleanup
2017-07-02 10:12:05 +02:00
Aokromes
7627540b11 Combat/threat rewrite prep - merge RBAC/DB changes. 2017-06-28 17:45:14 +02:00
Shauren
2a68b6a0db Buildsystem: Exclude ScriptPCH from all targets when building dynamic scripts (except MSVC)
(cherry picked from commit 550c57a0df)
2017-06-25 14:17:28 +02:00
Shauren
1808fdd7b2 Buildsystem: Minor PCH building changes
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets

(cherry picked from commit 137f5e7887)
2017-06-25 14:16:31 +02:00
Aokromes
4326455788 build fix 2017-06-19 21:16:50 +02:00
Aokromes
1a5c0f5c3b Core/Grids: Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
S.V
87784721a4 Core/Scripts: Fixed GAMEOBJECT_TYPE_DOOR closing automatically after being opened with .gobj act (#19342)
Closes #19261.
2017-06-18 15:41:45 +02:00
ariel-
5e37e99ffa Core/Scripts: fix array out of bounds in Pit of Saron doorData 2017-06-18 10:43:37 +02:00
Aokromes
a990a4ce08 Rename .debug uws to .debug worldstate (clarity change). 2017-06-17 11:51:12 +02:00
treeston
46f98b64c3 Rename .debug uws to .debug worldstate (clarity change). 2017-06-17 11:42:23 +02:00
Aokromes
b1f54ba152 Make travis happy 2017-06-17 11:33:02 +02:00
Girip Dragos Andrei
2d9aeacfd7 Wailing Caverns 2017-06-17 08:44:27 +00:00
Aokromes
461ba1cb56 Fix (C) for multiple files 2017-06-15 08:46:45 +02:00
treeston
5812c6559f build fix 2017-06-15 07:49:57 +02:00
Aokromes
5b1121af3c Add new command 'npc showloot'. Does exactly what it says on the tin. 2017-06-12 19:37:41 +02:00
Aokromes
57841569e5 - Add new commands .group set assistant, .group set maintank and .gro…
…up set mainassist to toggle raid member flags.

- Fix 2017_05_29_00_auth.sql to be reapply safe.
2017-06-12 18:23:57 +02:00
treeston
d33f462200 Removed a now-unused local (ca02629 follow-up) 2017-06-12 18:00:28 +02:00
Aokromes
558bbbcf98 Make some adjustments to .summon and .group summon behavior to make t…
…hem more permissive:

- Now only requires the either target's group leader or target itself to be on your map
- Now summons all applicable group members even if one member fails checks
- No longer has some truly weird edge case instance unbind code that could cause exploit behavior (Really, I have no idea why this existed, because it certainly didn't do what it might've been meant to do.)
2017-06-12 18:03:01 +02:00
Aokromes
6c686876d0 Core/Scripts: fix some /W4 warnings 2017-06-12 17:49:39 +02:00
Aokromes
5c4153ba98 Core/OutdoorPvP: refactor using Position and Quat to pack parameters
- Moved statics to cpp
- Save scriptids into an array
2017-06-12 17:40:47 +02:00
Aokromes
9057cae219 So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.

And remove the hack from Sapphiron because I could.
2017-06-11 19:02:07 +02:00
ariel-
e05083ad4b Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury targetlist 2017-06-11 17:50:11 +02:00
jackpoz
2102bd28a3 Core/Scripts: Simplify code
Partially revert 753e7074d8 and 12c680f9b1 to simplify the code and to only remove GMs from the target list.
2017-06-09 13:25:59 +02:00
ariel-
307cc1e36f Core/Scripts: filter out corpses from Sindragosa's Fury targetlist
- This would incur in a crash after attempting to convert the Corpse object into Player

Closes #19227
Closes #19862
2017-06-09 13:22:40 +02:00
Aokromes
f8d9d954d1 Get zone/area IDs from vmap data in the liquid update
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00
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
treeston
a6b393c2af clang is dumb 2017-06-06 07:49:31 +02:00
treeston
68c500f020 Some improvements to .debug raidreset command. Now supports heroic difficulty 5-man dungeons and outputs sensible text, as opposed to silently doing (or not doing) stuff. 2017-06-06 07:49:02 +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
Keader
58747b0037 Core/Scripts: Fixed some events that not should triggered by non-players on Illidan encounter 2017-06-02 10:23:28 +02:00
Aokromes
123c10a395 Scripts/Stockades - Add scripts to instance
By Artamedes
2017-06-01 23:55:52 +02:00
Aokromes
2d94972577 missing part 2017-05-30 10:20:27 +02:00
sirikfoll
519af6e6e6 Core/Scripts Properly set Freya's BossState do DONE and avoid some loot exploits
Closes #19823
2017-05-30 09:57:03 +02:00