Commit Graph

566 Commits

Author SHA1 Message Date
Keader
c2dace57db Core/Scripts: Mother Shahraz encounter rewrite (#18446) 2016-12-22 08:59:08 -03:00
Keader
c809c220e2 Core/Scripts: Black Temple - added comments in all SpellScripts (#18494) 2016-12-16 00:34:15 +01:00
Shauren
618cf0e1c2 Core/Units: Cleanup hardcoded magic numbers for byte field offsets
(cherry picked from commit ac1dc758b9)
2016-12-15 08:16:01 -03:00
Keader
4582cfcecd Core/Scripts: Fixed Reliquary of Souls Boundary (#18470)
Followup 02f18419f5
2016-12-13 15:27:29 +01:00
Aokromes
ff6c48732d Update boss_reliquary_of_souls.cpp 2016-12-13 14:00:10 +01:00
Keader
02f18419f5 Core/Scripts: Reliquary of Souls Rewrite 2016-12-13 13:55:22 +01:00
Keader
891551e845 Core/Scripts: Rewrite Magtheridons Lair (#18330)
Core/Scripts: Rewrite Magtheridons Lair
2016-12-07 09:46:46 +01:00
Gustavo
7e0a616657 Core/Misc Remove WhiteSpaces (#18379) 2016-12-02 02:23:02 +01:00
ariel-
8a7b0f198c Scripts/BT: Fix noPCH build 2016-11-30 23:59:38 -03:00
ccrs
62e97c4551 Scripts/BlackTemple: 4bc60e650d followup 2016-11-30 14:41:38 +01:00
ccrs
4bc60e650d Scripts/BlackTemple: minor cleanup and corrections after recent PRs
plus a ninja tabs to spaces cleanup
2016-11-30 14:05:07 +01:00
Keader
cd687fb36d Core/Scripts: Partial Revert in 87977b00d3 misunderstand concept. (#18334)
Sorry for the mess
2016-11-28 00:25:34 +01:00
Keader
87977b00d3 Core/Scripts: Black Temple misc codestyle and unit state casting check (#18333) 2016-11-28 00:02:45 +01:00
Keader
109174146c Core/Scripts: Teron Gorefiend encounter rewrite (#18263)
Core/Scripts: Rewrite Teron Gorefiend Encounter
2016-11-26 02:41:15 +01:00
Keader
bced796414 Core/Scripts: Minor Fixes in Black Temple (#18293)
Core/Scripts: Minor Fixes in Black Temple
2016-11-26 02:34:01 +01:00
Keader
eb41194dbb Core/Scripts: Gurtogg Bloodboil Rewrite (#18279)
Core/Scripts: Gurtogg Bloodboil Rewrite
2016-11-26 02:31:17 +01:00
Keader
51507efd01 Core/Scripts: Fixed Supremus encounter (#18234)
Core/Scripts: Fixed Supremus encounter
2016-11-26 01:42:56 +01:00
Keader
571b3b6a76 Core/Scripts: Improved High Warlord Naj'entus fight - Black Temple (#18229)
Core/Scripts: Improved High Warlord Naj'entus fight
2016-11-26 01:42:04 +01:00
ariel-
5b56c94e6d Core/Spell: restore old proc system behaviour on auras self proc.
- Use Spell::m_triggeredByAuraSpell and compare against trigger aura, it requires scripts to set triggeredByAura parameter.
- Fixed existing scripts lacking it

DB/Spell: Anger Capacitor (Tiny Abomination in a Jar) proc

Closes #18269
2016-11-19 03:05:44 -03:00
Keader
81edee5648 Core/Scripts: Cleanup in instance_black_temple and added missing datas (#18246)
* Core/Scripts: Cleanup in instance_black_temple and added missing datas

* Fixed door timing issue

* Remove redundant call
2016-11-13 20:23:52 +01:00
Keader
c4dd6d1676 Core/Scripts: Fixed a typo and removed randtime of Shade of Akama events (#18231) 2016-11-10 13:00:57 -03:00
SnapperRy
2729eb156f Script/Quest: improvements for Shizz Work:
- Proper cosmetic effects for Fel Guard Hound.
- Spell cast when looting the Felhound Poo.
- Felhound Poo now always contains loot.
2016-10-29 22:57:46 +02:00
SnapperRy
79acb9fa71 Fix warning.
Also, the quest's name is Arelion's Secret, not Arelion's Mistress.
2016-10-15 21:27:47 +02:00
SnapperRy
94c41c92b3 Script/Quest: Arelion's Mistress. 2016-10-15 21:23:43 +02:00
ariel-
b5e8e0a5db Core/Auras: reset periodic aura timers by default. Except when aura comes from triggered spell
Closes #17961
2016-10-05 03:10:05 -03:00
ariel-
66749470ef Core/Scripts: add even more headers 2016-10-04 21:13:27 -03:00
ariel-
192f8186bd Core/Scripts: add more headers required for NoPCH 2016-10-04 21:10:57 -03:00
ariel-
dc7a1894c5 Core/Scripts: add headers required for NoPCH build 2016-10-04 21:08:03 -03:00
ariel-
2ff855054f Core/Scripts: Convert spells to new proc system
- Converted Unit::HandleDummyAuraProc function to AuraScripts
  * Extra: DMC: Madness now uses DB texts. yay!
  * Extra: improvements on Imp. Spell Reflection (range and max targets, filter caster with conditions)

- Fixed Glyph of Succubus. (Closes #6599)

- Changed old (not-blizz) behavior of Vampiric Embrace:
  * Before: party heal affected the priest too and self heal was reduced by that amount to not over-heal
  * Now: self heal amount not affected, rather filter the priest out of the party heal using conditions :)

- Solve bug in AQ 3p set bonus, it should only trigger when healing others, not self heals.
- Priest T10 2p bonus (heal) now rolls its effect properly

- Use brand new GetEffectiveHeal to fix #17142
- While we're at it, also close #17034 for good
- Converted Unit::HandleAuraProc function to AuraScripts (#17941)
- Converted Unit::HandleAuraProc function to AuraScripts (cont'd) (#17955)
- Corrected Flametongue weapon damage formula
- Actually check offhand weapon for flametongue in Lava Lash script
- Implemented halved proc chance for Missile Barrage on Arcane Barrage, Fireball, Frostbolt and Frostfire Bolt cast
- Converted Unit::HandleProcTriggerSpell function to AuraScripts (#17956)
- De-hack Earth shield. Fixes #13808
- Updated Honor among Thieves
- Implemented mana proc for Mark of Conquest in case of ranged attack
- Fixed Scent of Blood giving more stacks than the talent rank currently learnt.
- Ported old proc table. Proc system is dead. Long live the proc system!
- Recklessness should get charges removed per cast. Closes #15529
- Use proc system to remove Molten Core charges on Incinerate/Soul Fire cast. Closes #15942

Closes #3463
Closes #5401
Closes #15595
Closes #15974
Closes #16679
Closes #17925
2016-10-04 20:21:58 -03:00
tkrokli
cd6fcce84b Core/Scripts: move #define to enum/boss emote to DB (#17967)
boss_lurker_below.cpp : remove deprecated #define entries
- remove hardcoded text, use creature_text/broadcast_text
- move #define value & text reference to enum section
- replace TextEmote() with Talk() pointing to DB entry
2016-09-24 19:20:12 +02:00
SnapperRy
0d70a7349d Script/Quest: The Exorcism of Colonel Jules:
- Summoned NPCs will no longer give experience on kill.
- Require quests Fel Spirits and Digging for Prayer Beads to be completed.
- Reduce number of Foul Purges spawned in a single wave (only two should spawn each time).
- Properly give quest credit when talking with Colonel Jules after the exorcism.
2016-09-24 01:32:20 +02:00
treeston
2170541a51 Core/Unit: Standardize SetFacingTo and SetFacingToObject behavior while moving. Both now fail while moving unless arg2 bool is true.
Movement/SplineChain: Bump value range for DB chainId up to uint16 (0 to 65535) from uint8 (0 to 255). Turns out sniffs generate far more chains than I expected.
2016-09-20 20:19:15 +02:00
treeston
ac62d7156f Scripts/Events: Globally fix all ExecuteEvent loops to check UNIT_STATE_CASTING after each iteration, instead of just checking it once initially.
Fixes and closes #17892.
2016-09-03 17:21:22 +02:00
treeston
d55426f5b4 Entities/Gossip: The Big One™ that gets rid of all uses of The Bad™ and The Ugly™, e.g. gossip preprocessor macros, and replaces them with the new-and-shiny gossip functions. 2016-08-31 00:59:04 +02:00
Gustavo
6ee35734e4 Whitespace clean-up 2016-08-29 01:11:04 +02:00
jackpoz
b7306f06f5 Core/Misc: Fix static analysis issues 2016-08-22 14:17:24 +02:00
tkrokli
e2f395863a Core/Scripts: remove script npc_timothy_daniels (#17779)
The core script `npc_timothy_daniels` is no longer needed,
all the gossip handling is already present in the database.

- remove core script npc_timothy_daniels
- remove ScriptName from c_t entry in DB
2016-08-14 12:05:24 +02:00
tkrokli
0c6eeb3abc Core/Scripts: move npc_mortog_steamhead to DB
Move core script npc_mortog_steamhead to database
- script contains gossip handling + 1 condition
- both actions can be handled in DB settings
2016-08-14 09:50:28 +02:00
Keader
afaaedad2d Core/Scripts Shade of Akama Rewrite (#17567) 2016-08-01 01:29:53 +02:00
tkrokli
8fdb9b4579 Core/Scripts: Remove useless SD2 error log (#17691)
* Core/Scripts:  Remove useless log message (ref. joschiwald)
2016-07-31 06:08:43 +02:00
ariel-
62bfee37cb Core/Entities: debloat SummonGameObject parameter list using proper wrappers and enable GO rotation in scripts
- There's still an overload allowing for x, y, z, o to be passed directly
- Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs)
2016-07-30 18:50:44 -03:00
Keader
2710c655ff Core/Scripts Added Black Temple Boundaries (#17579)
* Core/Scripts Added Black Temple Boundaries
2016-07-20 15:28:00 +02:00
Snapper
ebb33bbfc1 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values 2016-07-10 09:33:55 +02:00
w1sht0l1v3
fcfb7b96b2 Core/Scripts: Corrections after 14b93c04ee 2016-07-09 17:14:03 +03:00
Andrew Letson
32dd6bbca8 Core/Scripts: Migrate Shadowmoon Valley NPC's to SAI (#17373)
* Migrate Flanis Swiftwing and Kagrosh to SAI and more.
2016-07-04 16:17:27 +02:00
Gustavo
f1639a30ba Core/Scripts Boss Ahune Clean-up (#17320)
Remove use of flags UNIT_FLAG_NON_ATTACKABLE and UNIT_FLAG_REMOVE_CLIENT_CONTROL
Replace with correct one, UNIT_FLAG_UNK_31, imunity part now is fully handled by auras
Fix a problem with bugged orientation while casting SPELL_SYNCH_HEALTH
Use std::crono notations
Remove unneeded code

Move one spell_linked_spell to SpellScript
Fix Loot issue
Fix Possible Crash
2016-06-26 00:23:19 +02:00
Meruemu
325ccab595 Core/Scripts: Fix array out of bounds in boss_mother_shahraz.cpp. (#17434)
Fix an error in Prismatic Shield auras and Fatal Attraction teleport points selection (was introduced in fb63c8e915)
2016-06-21 23:18:08 +01:00
Andrew Letson
8e84603090 Core/Scripts: Migrate Professor Dabiri to SAI (#17367)
- removes Professor Dabiri from zone script and adds him to smart_scripts.
- also removes one more line of hardcoded text in core scripts
2016-06-14 16:34:10 +01:00
treeston
96c05dbec0 Scripts/Outland: Fix a potential crash. Closes #17308. 2016-06-07 12:41:38 +02:00
treeston
4e922a5146 Scripts/Instances: Follow-up to #16346. Fix Illidan and Northrend Beasts. 2016-06-03 22:14:09 +02:00