Commit Graph

4932 Commits

Author SHA1 Message Date
Ghaster
bf3ab6d9c4 Core/Creatures: Port trainer changes from master
Closes #20493
2018-12-30 19:51:36 +01:00
Giacomo Pozzoni
cb13638721 Scripts/Nagrand: Fix crash added in PR #22806 (#22878)
Fix crash added in PR #22806 happening in quest "Ruthless Cunning and Returning the Favor"
2018-12-19 16:08:35 +01:00
Aokromes
6851ba638d Update zone_borean_tundra.cpp 2018-12-03 12:19:10 +01:00
PolarCookie
9d93504f34 Quest: Ruthless Cunning and Returning the Favor (#22806)
* Ruthless Cunning and Returning the Favor

* no more magic numbers

* now with scripted ai and condition

* travis

* more travis

* jackpoz

* now with no banner spellscripts

* typo

* Rename 9999_99_99_99_world.sql to 2018_12_03_00_word.sql
2018-12-03 08:57:23 +01:00
Aokromes
538c5b8687 Core/GameEvent: weekend xp rate (#17782)
* Core/GameEvent: weekend xp rate
by kline

* Update to recent code

* compile fix try
things of copy and paste 4 years old code xd

* more code update

* forgot to change this

* Update worldserver.conf.dist

* Added function to calculate weekend event xp rates

By greenbagels

* Cleaning using scripts

* Implement daymask and rename variables etc.

* Rename script file weekend -> boosted

* Update src/server/game/World/World.cpp

Co-Authored-By: Aokromes <Aokromes@users.noreply.github.com>

* Fix xp multiplier not applying to quest rewards

* Disable xp boost script when no boosted days selected
2018-11-28 16:44:28 +01:00
Gildor
0ee8a77dce Core/Scripts - The Eye: Fix Kael'thas Sunstrider Mind Control, limit MaxAffectedTargets to 3 (#22828)
Closes: #22826
2018-11-24 12:55:04 -03:00
Treeston
c16d461e16 Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) and play nice with IDEs (PR #22768) 2018-11-11 17:52:41 +01:00
Keader
f1a1acdc89 Scripts/Utgarde Keep: Fixed Ingvar evade in phase 2 (one more time)
Closes #21264
ScheduleEvents need happens after remove ImmuneToPc, or it will cause evade.
2018-11-09 11:02:15 -03:00
Keader
4c6f0eaa8d Scripts/ToC: Fixed Twin Valkyr stucking in progress and added hover
Closes: #22755
Update: #20961
2018-11-08 11:14:46 -03:00
Keader
87d6f62ba6 Scripts/Spells: Fixed wrong change in Drain Mana removing fear/poly effects
Update: #20234
Followup: a6673f6aa7
More Info: https://github.com/TrinityCore/TrinityCore/issues/20234#issuecomment-436970730
2018-11-08 09:19:33 -03:00
PolarCookie
93cb86b683 Spell/Script: Curse of agony (#22728)
* CoA now as spellscript

* clean up drain soul

* keader

* keader2

* Rename 9999_99_99_99.sql to 2018_11_04_00_world.sql
2018-11-04 12:40:09 +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
Rochet2
0a0312b705 Core/Command: Fix gameobject turn orientation saving (#22712) 2018-10-25 12:10:27 +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
Killyana
2dc28bc3a7 DB/GameObject: Sacred Fire of Life 2018-10-18 18:44:15 +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
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
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
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
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
Killyana
868f810e11 DB/Quest: Hah...You're Not So Big Now!
Closes #22478
2018-09-21 15:29:34 +02:00
ccrs
2a78f4eb7c Scripts/ICC: 2e4358f726 followup
ref 2e4358f726 (r30588551)
2018-09-21 14:44:51 +02:00
Sarah Alexander
72f061f083 Scripts/TempleOfAhnQiraj: Despawn Skeram's images on death and fix an edge case where images would not spawn if he was casting during transition (#22474) 2018-09-21 08:54:58 -03:00
Sarah Alexander
c8f830ff2b Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-preven… (#22475)
* Scripts/TempleOfAhnQiraj: Implement Battleguard Sartura's skip-prevention area trigger

* Sartura engages players if they try to skip her by walking past down the tunnel
* Clean up the instance script a bit
2018-09-21 08:54:29 -03:00
ccrs
da19663514 Scripts/ICC: 2e4358f726 followup
std::list does not provide random access
2018-09-20 17:45:01 +02:00
ccrs
2e4358f726 Scripts/ICC: update Unchained Magic target selection
because we all love retri paladins and hate healers, right?, right?
2018-09-20 17:13:07 +02:00
Sarah Alexander
acdf238802 Scripts/UBRS: Open General Drakkisath's gates once he is defeated (#22462)
Closes #15769
2018-09-19 16:13:02 +02:00
DanVS
5b0f4009df Core/Scripts: Unify Chrono Literals (#22420)
* Unify Chrono Literals

* Retire IN_MILLISECONDS

* Build fix

* Build fix (sequel)

* Retire urand()

* Edge cases

* Build

* Whitespaces

* More edge cases

* Additional cases
2018-09-17 18:38:22 +02:00
Treeston
003cc56d70 Core/Player: Clean up duel related code. Fix a check for abusive client behavior, sanitize pointer usage, code style. Closes #22374. 2018-09-17 12:40:42 +02:00
Treeston
97ade1321b Scripts/Commands: Add .debug dummy. It does nothing, which means you can make it do anything. 2018-09-17 11:18:06 +02:00
ccrs
8ebf375183 Build: missing case from previous commit 2018-09-12 18:20:47 +02:00
Full-Stack Developer
8f60d48ea9 Scripts/VoA: Update events to use std::chrono (PR #22415) 2018-09-11 00:12:00 +02:00
Killyana
ddd779fef5 Creature/Script: Fix Highlord Darion Mograine waypoint speed
Closes #21290
2018-09-10 23:22:11 +02:00
Full-Stack Developer
3c5b1f0258 Scripts/VoA: Archavon no longer leaps in melee range (PR #22414) 2018-09-10 18:49:10 +02:00
Aokromes
cc49b7bb30 kill some whitespaces 2018-09-09 16:15:45 +02:00