Commit Graph

4725 Commits

Author SHA1 Message Date
ariel-
2d07d4f7b3 Core/Scripts: more travis 2017-12-15 03:39:42 -03:00
ariel-
ea0224e3bd Core/Scripts: travis fixes 2017-12-15 02:51:48 -03:00
ariel-
a36e804ae4 Core/Auras: periodics refactor part 5: ported periodic trigger spell auras to scripts 2017-12-15 01:46:52 -03:00
ariel-
193bd3b452 Core/Auras: periodics refactor part 4: ported periodic dummy auras to scripts 2017-12-15 01:46:51 -03:00
ariel-
16e20711d2 Core/Auras: periodics refactor part 3: move more switch hacks to scripts
- Incidentally fixed some spells which were supposed to be removed by proc instead of healing to full
2017-12-15 00:37:12 -03:00
ariel-
0510bf7afe Core/Auras: periodics refactor part 2: Move UpdatePeriodic to AuraScripts 2017-12-15 00:35:28 -03:00
ariel-
5d91beb1db Core/Auras: periodics refactor part 1:
- Don't skip ticks if diff is greater than amplitude
- Fixed spells without ampltude in DBC
2017-12-15 00:25:58 -03:00
Golrag
95456ab5d8 Core/Entities: Some changes to LoS z checking & MotionMaster::MoveJumpTo (PR #20970)
- Use Midsection height for LoS checking.
- Changed MotionMaster::MoveJumpTo to use correct z. This change also makes sure the _owner will jump towards the given angle. Instead of jumping to a unintended angle if the first one is not in LoS.
2017-12-14 16:56:30 +01:00
ariel-
78a1c687a2 Core/Misc: minor typo and codestyle fixes
- Replace NULL uses in new code with nullptr
- Fix wrong (accumulated) load time log when loading calendar invites
- Make Creature::CanRegenerateHealth const as its just a getter
- Mark OnlyOnceAreaTriggerScript::OnTrigger as final in case someone wants to override that (you are supposed to use protected _OnTrigger hook)
2017-12-13 14:43:12 -03:00
ccrs
0db5516a1a Core/AI: reorder methods in ScriptedEscortAI
plus ninja rename
2017-12-11 21:00:04 +01:00
jackpoz
24e82fe83d Core/Misc: Fix static analysis issues
Fix static analysis issues reported by 3rd party tools
2017-12-08 23:27:30 +01:00
jackpoz
0daa170a2c Core/Misc: Fix static analysis issues
Fix static analysis issues reported by 3rd party tools
2017-12-08 15:21:13 +01:00
Ovah
869affa893 Core/Creatures: Implemented extra flag to use offhand attacks (#21008)
* Fixed initial offhand attack timer so the main and offhand attacks will now act blizzlike instead of getting executed at the same time

Note: since some creature equipment items cannot be identified as weapon since they are only visual items there is no way to detect this automaticly
2017-12-07 17:41:11 +01:00
Keader
6598c5d2f3 Core/Scripts: Fixed Enervating Brand in Baltharus encounter
Closes #21027
By Mihapro
2017-12-04 08:55:15 -03:00
Hristiyan
0725f608aa Core/Commands: Allow using display ids higher than std::numeric_limits<uint16>::max() for .modify morph command (#21022) 2017-12-03 12:31:47 +01:00
Killyana
00e3023b32 DB/Creature: Scourging Crystal
And fix spell script spell_q11396_11399_scourging_crystal_controller
Closes #17596
2017-11-26 17:40:42 +01:00
Keader
a2b191c78e Build fix
yes, i'm blind
2017-11-26 10:00:50 -03:00
Keader
80a65744bc Scripts/Ulduar: Fixed a clang6 warning 2017-11-26 10:56:14 -02:00
Shauren
95ea4b5090 Scripts/Events: Fixed memory leak in npc_bountiful_table added in 75df296bb6 2017-11-25 22:33:15 +01:00
Keader
bd560fd160 Typo 2017-11-25 10:08:58 -03:00
Keader
454a230af4 Scripts/Razorscale: Fixed issues related with Devouring Flame
Closes #20967
2017-11-25 10:07:55 -03:00
Aokromes
6c9c106d39 Misc: More cleanup 2017-11-25 03:00:05 +01:00
Aokromes
59e94fd9bb Misc: More cleanup 2017-11-25 02:39:27 +01:00
Aokromes
5f2c5f2ed3 Misc: Kill trailing white spaces 2017-11-25 01:05:15 +01:00
ccrs
5241c1ad71 Fix build 2017-11-22 20:40:45 +01:00
ccrs
299323ce5d Scripts/World: update guard scripts
Also remove deprecated method from Creature
2017-11-22 20:11:22 +01:00
Andrew Letson
4d338b1d4d DB/Scripts: Terokkar Forest SAI migration 2017-11-20 19:36:37 +01:00
Keader
cc50a036df Core/Scripts: Build fix 2017-11-17 23:56:26 -03:00
Keader
67df45b585 Core/Scripts: Codestyle fix (Trial of Crusader)
followup: c436be6f61
2017-11-17 23:46:50 -03:00
Keader
c436be6f61 Core/Scripts: Updated Trial of Crusader instance model
- TODO: Bosses rewrite, instance cleanup, add missing gossips/texts, port all gossips from db.
Sniffs will be nice :/
2017-11-17 23:35:55 -03:00
sirikfoll
6e7e43172e Core/Scripts Fix issues with Midsummer's Ribbon Pole
Closes #6876

Fixed achievement Burning Hot Pole Dance
Update scripts for quest Torch Tossing, using all correct spells and timers
Updated script register model
2017-11-17 23:41:11 -02:00
Shauren
805024a780 Scripts/Sethekk Halls: Added missing empty check before Trinity::Containers::SelectRandomContainerElement
Ref #20317
2017-11-16 20:25:02 +01:00
Killyana
7fd8603ec5 Creature/script: Add locales to innkeepers gossip options 2017-11-16 18:35:58 +01:00
Killyana
4455c50447 Gameobject/Script: Remove outdated script
Ref 04da37c4fb
2017-11-16 17:26:34 +01:00
Keader
cb3627ca62 Core/Scripts: Fixed Charge behavior on Illidan encounter
"If any raid member is farther away than 25 yards from *both* Blades, one of the Flames charges that player and enrages"
2017-11-14 20:37:14 -03:00
jackpoz
06ea65b0e6 Core/Misc: Fix static analysis issues 2017-11-12 15:46:56 +01:00
jackpoz
a80c95a1c7 Core/Misc: Fix static analysis issues 2017-11-12 14:55:11 +01:00
jackpoz
9b7c73a19d Core/Misc: Fix static analysis issues 2017-11-12 12:38:18 +01:00
jackpoz
97f33dc779 Core/Misc: Fix static analysis issues 2017-11-11 20:27:30 +01:00
jackpoz
7e73f5f1ed Core/Misc: Fix static analysis issues 2017-11-11 20:03:35 +01:00
Riztazz
c69825d96d Scripts/Stratholme: spawn Timmy the Cruel if conditions are met (#20750)
* Timmy the cruel
* Rename some variables and use sniffed spawn position
* codestyle
* Use areaboundary instead
* include order
* aokromes request
* remove static
* never cp on tc
2017-11-11 12:31:40 +01:00
Keader
78f4f54f81 Core/Scripts: Updated Black Temple to new Creature/Spell/Aura/GOB model
Fixed some codestyle issues.
Removed ENSUREAI
2017-11-10 11:28:59 -03:00
Andrew Letson
a627b73c93 Scripts/EasternKingdoms: Ragged John 2017-11-08 18:04:31 +01:00
sirikfoll
1a638b39e3 Core/Scripts: Fixed typo in spell_pilgrims_bounty_a_serving_of 2017-11-08 10:21:32 -02:00
Andrew Letson
c99b89934e Scripts/Northrend: Move Sholazar Basin NPCs to SmartAI 2017-11-08 00:06:53 +01:00
ccrs
e10d7dd45c Core/Misc: waypoint movement
- Creature: update current waypoint to store nodeId and pathId
- MotionMaster: change variable type on GetMotionSlotType and GetMotionSlot to keep consistency and prevent errors (ASSERT is now no longer needed)
- UnitAI: add new waypoint hooks WaypointPathStarted and WaypointPathEnded
- SAI: handle WAYPOINT related events if creature is no escorting
* SMART_EVENT_WAYPOINT_RESUMED still not implemented for no escorting

TODO: the new hooks can save, now duplicated, logic on EscortAI and SAI

closes #20777
updates #20310
updates 21bd52cb99
2017-11-06 22:19:23 +01:00
DanVS
654b89ef02 Core/Spells: Sheath of Light - overheal scaling fix (#20787) 2017-11-04 17:09:18 +01:00
Wyreth
8888e6d96d Scripts/Tanaris: move Aquementas to SAI & improve related event (#20464)
* Script/Tanaris: move Aquementas to SAI and improve related event

Closes #11668
2017-11-02 05:36:27 +01:00
Andrew Letson
7822f058b0 DB/Creature: Coosh'coosh to SAI 2017-11-01 19:56:34 +01:00
dr-j
3bb5f17ff5 Quest/Script: Conversion of Bristlelimb Cage/Stillpine Captive cpp to SAI
Closes #19868
2017-10-31 20:24:56 +01:00