Commit Graph

21223 Commits

Author SHA1 Message Date
PolarCookie
a0999744ef Core/Spells: fix issues with delayed spells and auras (#22382)
* Core/Spells: fix issues with delayed spells and auras

* Make Travis Happy
2018-11-04 12:38:14 +01:00
DanVS
ae22fd6d74 Core/Entities: Handle partial state change for pets (#22014)
* handle partial state change

* range-based for loop

* fixes

* readability

* break
2018-11-04 11:42:46 +01:00
Rochet2
257ae44a20 Add rotation to .gob info (#22723)
* Add rotation to .gob info

- Add rotation (yaw, pitch, roll) to .gob info command
- Replace LANG_SPAWNINFO_DISTANCEFROMPLAYER with LANG_SPAWNINFO_ROTATION
- Fix description of .distance to describe the command arguments (the more you know..)
- Fix .gob info guid targetting nearest gameobject instead of finding with given guid
- Reorder the info data slightly
- Print location and rotation data regardless of object found in world
- Add error messages for when object is not found by guid or entry
2018-10-28 10:07:56 +01:00
Warpten
9bf69b3849 Fix invalid arguments to string format in Trinity::Fatal
Isn't whatever is used nowadays to make this stuff safe supposed to prevent this sort of stuff?
2018-10-27 22:14:37 +02:00
Shauren
bbdf62d6e8 Core/Spells: Warning fix 2018-10-27 12:14:54 +02:00
Treeston
f7ca0877a3 338e8ba follow-up (more constexpr) 2018-10-26 17:42:29 +02:00
Treeston
338e8ba0fe Core/Misc: Partial merge of 3.3.5-dbedit:
- Added SmartEnum.h for enum iteration, stringification, and more, courtesy of krabicezpapundeklu/smart_enum
- Moved a bunch of enums in SharedDefines.h to the new system
- Miscellaneous utility methods ported
2018-10-26 14:43:22 +02:00
Rochet2
0a0312b705 Core/Command: Fix gameobject turn orientation saving (#22712) 2018-10-25 12:10:27 +02:00
ccrs
7417cbc655 Core/Shared: add BattlefieldBattleId definitions
Also rename BG_TEAMS_COUNT and BattlegroundTeamId
2018-10-24 16:45:26 +02:00
Treeston
5b99ce2f83 Core/Spell: Fixed an issue with Premeditation removing itself 2018-10-22 19:50:40 +02:00
Keader
266a9c3d41 Scripts/Ulduar: Fixed Sanctum Sentry accumulating events after wipes 2018-10-22 11:11:16 -03:00
Aokromes
3ea3ed348a Script/Misc: Change some placeholders to proper texts 2018-10-21 20:14:30 +02:00
Treeston
d5993bf8e0 Core/Chat: Some fixes to talent hyperlink verification. Closes #22685. 2018-10-19 16:57:23 +02:00
Aokromes
d6d2c4efb9 Core/Spells: Hallowed Wand - Bat custome must be positive
closes #22684
2018-10-19 09:45:32 +02:00
Killyana
2dc28bc3a7 DB/GameObject: Sacred Fire of Life 2018-10-18 18:44:15 +02:00
ccrs
c8836b6eb4 Core/Movement: remove undefined method 2018-10-18 17:11:21 +02:00
Trond B. Krokli
48eba61e90 Scripts/Blackrock Depths: npc_grimstone Event_Timer improvements (#22663)
High Justice Grimstone's movement script timers improvement in Ring of the Law.

case 6 & case 7 modifications:
- Event_Timer = 5000; // originally 0

Closes #20499 (High Justice Grimstone issue)
2018-10-18 09:12:03 +02:00
Killyana
d10e42c049 DB/Gossip: Update Vaelastrasz gossip menu with the correct ID 2018-10-17 15:43:38 +02:00
Keader
6cb754ca4e Scripts/Illidari Council: Changed urand to SelectRandomContainerElement 2018-10-15 08:55:06 -03:00
Keader
9a443306fb Scripts/Black Temple: Fixed a crash on Illidari Council (#22652)
Ty Sirikfoll :)
2018-10-15 08:44:21 -03:00
PolarCookie
d13bcf36f1 [3.3.5] Scripts/Spells: Life Tap (#22638)
Closes #17559
2018-10-15 08:35:45 -03:00
ForesterDev
1e99f98327 Core/Commands: fix .appear command provide wrong undermap position (#22624) 2018-10-11 11:36:35 +02:00
ForesterDev
82a1448705 Core/Commands: Fix quest remove error message (#22623) 2018-10-11 11:16:57 +02:00
AlcDenat
2f5403d4af Split quest template locales (#22596)
* add quest locales tables
2018-10-09 16:31:27 +02:00
illfated
229e74eff3 Quest/script: The Absent Minded Prospector
Add quest fail if the npc dies
Ref #22586
2018-10-08 22:37:34 +02:00
DanVS
5e8b934472 Core/Movement: Properly calculate the first Catmull-Rom spline point (#22582) 2018-10-06 13:29:58 +02:00
Gacko
908558ee0b Fix non-PCH build.
Required by: std::reference_wrapper.

(cherry picked from commit 5236e6ee22)
2018-10-04 18:11:39 +02:00
Treeston
f2447a8dfc Core/DBC: Some cleanup of Cleanup (8edea4a follow-up) 2018-10-02 20:05:22 +02:00
Treeston
ead439fbd6 Core/Movement: Add some extra assertions to MotionMaster to catch issues like #22444 earlier in the future. 2018-10-02 19:53:55 +02:00
Treeston
8edea4a3c2 Core/DBC: Sanitize DBC loading procedure. Extra checks. Capability to load strings from DB. Load SpellName from spell_dbc. 2018-10-02 19:01:57 +02:00
Trond B. Krokli
d24b461396 Scripts/Sunken Temple: normalize Atal'alarion despawn timer (#22546)
* Atal'Alarion will now despawn as a regular Elite mob
  (5 minutes unlooted or 2.5 minutes when fully looted)
  instead of 7200 (ms) (7.2 seconds) before this change.

Closes #22531
2018-10-01 00:38:20 +02:00
Keader
1fe8fe30de Scripts/Ulduar: XT002 Crash fix
Closes: #22545
2018-09-30 02:44:24 -03:00
Treeston
ab3eab990e Core/Misc: Revert 4990423, need to find out a better way to handle this. 2018-09-27 20:59:48 +02:00
Treeston
4990423dbf Core/Misc: Unify naming of DBC entry, storage and format identifiers based on DBC file name
* DBC file name: <dbc>.dbc
* Format string: DBCfmt_<dbc>
* DB Format string: DBCfmt_<dbc>_DBFormat
* DB index string: DBCfmt_<dbc>_DBIndex
* Entry struct: <dbc>Entry
* Global storage: s<dbc>Store
2018-09-27 18:19:20 +02:00
Treeston
ac253e1e41 cleanup unused variable error (2a607e6 follow-up) 2018-09-27 15:59:36 +02:00
Treeston
2a607e647f Core/Misc: A few more advstd imports from C++17 2018-09-27 14:45:13 +02:00
Treeston
1dc675f0a1 Core/Misc: constexpr a bunch of things, and a missing include of Windows.h somewhere
(that last one wasn't me!)
2018-09-27 14:42:42 +02:00
Treeston
8ad5322465 Core/Misc: Move some headers from game/ to shared/ 2018-09-27 14:01:34 +02:00
Killyana
0b0bbe4330 Fix warning 2018-09-25 20:09:44 +02:00
Killyana
a3c20cea2d Creature/Script: Wyrmrest Defender
Closes #22500
2018-09-25 20:02:07 +02:00
jackpoz
af3449e064 Scripts/BlackrockSpire: Fix infinite loop in Gyth fight
Fix infinite loop in Gyth fight and double event caused by Rend Blackhand being respawned.
Please note this event is completely bugged and unfinished and contains for sure more bugs.
2018-09-25 19:22:23 +02:00
HelloKitty
d5888a5f8f Fix issue in Creature::UpdateEntry and CMSG_GOSSIP_SELECT_OPTION (#22469)
Address #22467 making it so that script doesn't look like it was reload
and thus causing gossip to fail once after update.
2018-09-25 17:21:04 +02:00
Lighto
c4e561ee13 Wintergrasp Fix Collision Wall work: Open / Close collision wall when battle started/ended (#22342)
* Open / Close collision wall when battle started/ended
2018-09-25 17:18:28 +02:00
DanVS
0dd3f0497d Core/Movement: Speed Limit for Spline (#22494)
* Limited speed
2018-09-25 17:05:35 +02:00
Trond B. Krokli
013d50f169 Scripts/Quest: Defending Wyrmrest Temple (#22513)
- use DB gossip instead of `#define` (deprecated)

Updates #22500
2018-09-25 16:55:28 +02:00
Kelno
7baf5b2452 Core/Movement: Fixed MotionMaster::MoveChase default parameters (PR #22426) 2018-09-25 01:11:00 +02:00
Shauren
e63ed9546a Nopch fix 2018-09-23 23:05:40 +02:00
Shauren
b27a76969a Core/Commands: Fixed crash in .go commands
Closes #22498
2018-09-23 22:57:33 +02:00
Sarah Alexander
001dd32b5c Scripts/MoltenCore: Implement Garr's Firesworn Separation Anxiety mec… (#22477)
- The previous (wrong) spell ID used mana, so it was never cast because Firesworns aren't mana users
2018-09-23 15:00:23 +02:00
Keader
609c1acc09 Build fix 2018-09-22 08:48:04 -03:00