57 Commits
Author SHA1 Message Date
Trista df25ccb30d Scripts/Eye of Eternity: Last stability changes
* Release button bug should be now really fixed, if someone manage to get it due to some server delay, it can be hit by typing "RepopMe()" or "Reload". It's now only clientside issue that I couldn't reproduce.

* Before there was a chance for transition to phase III to break if hit at precise moment. On top of that, if SoP was to be executed there was no time for purple dimension change. (Note: If transiton happen while SoP is cast it will get specific client data and dimension light will stay changing that is hard to hit, but is blizz bug.)
2013-03-10 03:30:34 +02:00
Trista 8e44b2d4a6 Scripts/Eye of Eternity: Remove some uneeded check and last to do that is uneeded after last GO changes
* also repair some broken GO data for 3.3.5a.
2013-03-09 05:32:02 +02:00
Trista ed378ad63c Core/GameObjects: Implement support for HandleGameObjectUse from vehicle or mount 2013-03-09 05:24:33 +02:00
Trista 2dbe3d6cfe Scripts/Eye of Eternity: Fix not being able to press release button on death during phase III 2013-03-08 19:18:19 +02:00
Trista c41b53605c Core/Vehicles: Give description to unknown seat flag
* There are 28 vehicles using for what is stated in the description  - it handles keeping specific emote states (animations) for passengers entering vehicles, I'm not 100% sure if is connected with the aura states that apply them. There are videos for every single known creature that is using it. 31583 - is clearest example since has only this flag as unknown on seat 0. Putting it here only to give direction to where researching should be made if someone dig into it more or can implement support for it.
2013-03-08 04:55:45 +02:00
Trista 17061cb9e5 Scripts/Icecrown: Add script* support for Borrowed Technology/Volatility quests
* There are heavy core problems that make it not fully functional for now.
1) Enter vehicle of 31578 is being overriding the vehicle aura of the accessory so it kicks it out. (both get applied to 1, but instead decoy should be to 0).
2) Even if mentioned above get fixed the accessory is supposed to implicitly hit another passenger with explosion
and no seat flags for it even unknown.
3) Armored Decoy doesn't keep emote from freeze mechanic when enter vehicle connected with a not supported flag.
4) Vehicle speed seems too fast (there is some general vehicle not correct speed problem with spline being involved).

Connected with: #5757
2013-03-08 04:55:44 +02:00
Trista 8993eef723 Scripts/Eye of Eternity: Fix vehicle crashes
* I tought if a spell would hit all targets on map then the force cast would be cast for each, apparently I was wrong since it had unlimited implicit targets.
* Remove a condition with target mask players since there is a attribute that takes care of that.

Closes #9365
2013-03-07 04:54:57 +02:00
Trista 7508e8cf65 Scripts/Eye of Eternity: Correct failed approach for hook target handling
* thx to Shauren
2013-03-06 11:05:11 +02:00
Trista a79143fc88 Scripts/Eye of Eternity: Fix Arcane Barrage handling and a lot other mechanics
* Nexus Lords had a bit imba timers on Arcane Shork, sorry for it wrong information. Now have retail timers.
* Scion of Eternity Arcane Barrage had wrong timers also for intial random cast and for each after. They were a bit lower.
* Implemented source mechanic that will always differ target of cast X to target of next cast. All rest is % chance based on various cases can happen.
* Removed condition for Arcane Overlaod bubbles now aura will never ("disappear"), if two are at one place they will override each other, but damage will never be leaked test enough times so don't bother stating opposite. Damage in ALL cases is reduced.
* Made Malygos range outside of platform a bit shorter to match retail real distance that also fixed timings of bubble mechanic, now they will always be there, if you are fast enough.
* And finally fixed some slight stuff on Malygos spell. Now all will work and Arcane Storm has it's correct visual mechanic again.

Closes #9321
2013-03-06 04:10:26 +02:00
Trista a108a9026a Scripts/Eye of Eternity: Rewrite Arcane Barrage mechanic
* Note that even after last changes happens I'm not sure exactly how the timers are controlled. The wipe chance should be a lot smaller now.. Any further change I can think of is beyond what I see. The main problem is currently. In theory there is chance, If timers get to be same with delay lesser than 2 seconds and if target randomisations select same target for shit out of luck reason. And if starting different timers were matching you can be hit atleast 2-3 times and on 25 mode maybe more. The timers are not with fixed difference for sure is all I know.
2013-03-03 03:16:17 +02:00
Trista d1853f693b Scripts/Eye of Eternity: Remove some flags, fix some timers and some misc
* Starting timers were a bit slower
* Destroy platform proper timing for drake casting mount spell to player (trigger)
* Remove IMMUNITY_PC flag after Iris is triggered (thx to Expecto) and readd it on evade
* Remove NOT_SELECTABLE flag since shouldn't be present at starting event
* Fix misc of id of Static Field added to LOS attributes
2013-03-01 16:25:58 +02:00
Trista 4f40dad714 Scripts/Eye of Eternity: Surge of Power (25 man)
* I have no idea how these breaks were removed, but it was breaking the whole mechanic.
* Also fix some slight chance for fail of transitioning p II -> p III
* Surge of Power (25 man) still needs to get fixed some weird facing and warnings aren't always sent for some reason
2013-03-01 09:33:52 +02:00
Trista c417c5a1c7 DB/Spells: Opening spell (id: 61437)added to some of Blood Elf's classes
* Add missing generic spell for opening chests for most of Blood Elf's classes. It was preventing them to loot in Eye of Eternity Alexstrasza's Gift Box, Heart of Magic and maybe more.
2013-02-28 18:45:00 +02:00
Trista 6801314881 Scripts/Eye of Eternity: Rewrite most of it.
Closes: #1133,  #8212, #1150, #5003, #6794

* More stuff will be done, a lot to clean maybe, as of raiding it's good to go now pretty much*.
* Big thx to Shauren, Horn, manuel, Machiavelli, Nay, Krofna and rest who helped.
2013-02-28 18:44:07 +02:00
Trista 8081704c66 Merge pull request #8879 from joschiwald/spell_proc_scripts
Core/SpellScripts: Implement Spell Proc Hooks and use them in old and new ...
2013-01-15 14:56:45 -08:00
Trista 423fb04270 Script/EoE: Some fixes here and there
* Add db support for Power Sparks, Teleports and Drakes
* Fix Power Sparks animations and texts and add support for giving buff to players + warning
* Fix Power Spark way of stacking - should be MultiSlot aura, didn't stack before either way
* Teleporters mechanic is fixed and will summon only 1 spark per 30-35 sec
* Fixed players getting mounted on 3rd phase
* Cleanned some wrong aggro handling, but whole aggro/attack system should be rewritten to get it working blizz
That is for today, this doesn't fix the whole instance by any means!
2013-01-02 06:35:28 +02:00
Trista 0aef9419b6 Core/Vehicles: Missed change 2012-12-30 01:34:53 +02:00
Trista 6edffb036d Core/Vehicles: revert 95152d5753 and 95152d5753
Sorry about troubles caused, hed reason to think formula was wrong, but it wasn't. However there is part of the code that needs to be improved I describbed in this commit as TO DO: Connected with: #8195
2012-12-30 01:06:55 +02:00
Trista 95152d5753 Core/Vehicles: Closes all issues with seats for real (finishing and fixing previous change)
* Author, Joschiwald, all credits to him please
* DieSide should be not  calculated with basepoints for these auras, thiss correctly finish previous fix 452e585f7b from Horn
* What it fixes, FL, XT, Demolishers, Accessories, Not being able to leave vehicle and so many more can't track them sorry
2012-12-28 04:11:51 +02:00
Trista 452e585f7b Core/Vehicles: Fixed seat id for auras with SPELL_AURA_CONTROL_VEHICLE. Also always allow npc passengers to cast spells and remove TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE hacks.
* Author: Horn. Please give feedback, I tested a lot stuff, but it will be appreciated.
* One of the fixes allow all creatures to cast when being passangers, researched, this doesn't involve players.
* This basically rewrittes vehicle seat formula calculated, so it fix quite stuff that will not be visible and some eye candies: #3831 and #1984 Heart part ;) (which magically fix a lot more of it and some quests), also Yog-Sarron mechanics
2012-12-27 01:35:38 +02:00
Trista 272bcdb292 DB/SAI: Whitebark's Memory and Respite for a Tormented Soul
* Closes: #4840 and #6478
2012-12-25 04:15:29 +02:00
Trista a05bc2fcfd DB/Quest: Jin'arrak's End
* This covers all that involve main quest mechanics npcs + awarding quest
* However 2nd effect of http://www.wowhead.com/spell=48059 needs to be scripted, it is supposed to spawn a lot of guids - it's the event
* It closes the problem in #4552, however event remains so leaving it open, I won't spawn them
2012-12-25 00:05:08 +02:00
Trista 6189eeb8e6 Core/Movement: Fix codestyle -7092e9350bbb8123de688be0bf5dd87d8196d34f 2012-12-24 23:59:25 +02:00
Trista 7092e9350b Core/Movement: Final fix for MSG_MOVE_TELEPORT
* Creator Subv, (thx to Shauren also who stated that this packed should be used when researchs were started)
- You all should'be thankful, that bug was a real bitch
* Fix creatures using NearTeleportTo (example Urom in Oculus, Skeram/Viscidus in AQ and Heigan in Naxxramas)
2012-12-24 18:04:58 +02:00
Trista fb3245d125 Scripts/Quest: Gambling Debt and Words of Power
* Quest support for Gambling Debt. Closes: #3122
* Fix bugging script for Words of Power: Closes: #7349
* Fix codestyle that vs broke from: 8c82c075cc
2012-12-24 01:35:55 +02:00
Trista 8c82c075cc Scripts/Quest: Defending Wyrmrest Temple
* insert complete db sniff support, appart from missing spawns
* remove achievement from disables (supported by core - timed one)
* insert core support for spells and the defender itself, since SAI makes it act weird (maybe in future when SAI get integrated someone will convert it)

Closes #1861 on 90% (except spawns (there are enough, but a lot more needed and minnor stuff that are core side connected with vehicles spellcastresults)
2012-12-24 00:51:39 +02:00
Trista aabfa3afae Core/Spell: Properly rewrite previous change: 80dcf879de
* thx to @joschiwald for noticing problem and helping, see rest info in comment or previous fix
2012-12-22 06:32:45 +02:00
Trista 80dcf879de Core/Spells: TARGET_UNIT_MASTER passenger support
* what happened before was spells casted from vehicle to passenger getting blocked by general check exceptions that state passengers to be not implicitly spell hit, however they should be ignored when caster is vehicle to master passenger
* fix a lot of quests that award kill credit that was blocked before
* precisely closes: #8643 and makes #5254 awardable
2012-12-22 04:28:31 +02:00
Trista 95a201352d DB/SAI: Finish off converting quest_end_scripts
* http://www.trinitycore.org/f/topic/7556-looking-for-people-to-convert-quest-end-scripts/
* fixup some timing errors I made on previous
* someone has to kill table + core linking to it
2012-12-22 01:43:18 +02:00
Trista 9d302e530b Merge pull request #8712 from krofna/krofixes
Script/AQ: Add Creature Text for Viscidus and fix model scaling
2012-12-19 04:33:26 -08:00
Trista 90857739dc DB/SAI: Convert more quest_end_scripts
* 12657, 12597 ,10988, 10850, 10447 and 9565
2012-12-19 01:04:29 +02:00
Trista 8c286f2b61 Server/Quest: Convert quest_end_script and drop of some c++
* drop off c++ script of Clintan Dreamwalker ID: 22834
* convert quest_end_script of 10964 to SAI
* rewrite and add bigger event support
* add a checker to his summon so the spirit script can trigger event alone (I didn't try to rewrite next quest...)

Closes: #8689
2012-12-18 02:03:30 +02:00
Trista 323989cc47 Core/Spells: Fix a typo in Bombing Run quests
* no idea how this number left like this for so long unseen, good it filters 1 target
2012-12-18 02:03:29 +02:00
Trista 103edb16ea DB/Spells: Fix support for Preserved Holly
* it needs to trigger reindeer transformation used by Fresh Holly, while has a side core check already handled. This needs to happen in the same time and not after.
* traced the auras are same from sniffs and the mechanic
* now Fa-la-la-la Ogri'La should be completeble for all (tested all normal cases)

Closes: #4333
2012-12-17 16:32:33 +02:00
Trista 5a52acbe40 Core/Quest: Optimize and clean more last commit
* thx to @Gacko and @click for pointing out problems and give suggestiosn
* Sorry for the mess, forgot I can make more changes after initial change, this should be final...
* https://github.com/TrinityCore/TrinityCore/commit/48141bbfa6887095f5b4a687ca3bde516c751771
2012-12-17 10:39:54 +02:00
Trista 48141bbfa6 Core/Quest: Song of Wind and Water
* cleanned a bit and edited old @Treak fix, credits go to him, the quest will* work 100% blizzlike when target_unit_master #8643 gets a fix for vehicle. What concerns the quest is done. I've already fixed the core kill_credit issue, but needs to be discussed.
* leaving the vehicle_AI until they get integrated correctly to SAI, this can be easily converted after. Currently need to make some hacks to make it work close to good if using SAI. (specificly terrain acts weird at that place)

Closes: #5424
2012-12-17 04:37:27 +02:00
Trista 47617bb740 Merge pull request #8565 from Trista/master
Core/Creature: Update template - reinitialize spell bar for vehicles
2012-12-16 17:01:26 -08:00
thesensei ed4bf13c44 Core/Creature: Update template - reinitialize spell bar for vehicles
* update template didn't change spell bar for players if on vehicle that updates it's template, initialize spells was needed
	* combined with faction changing, since when update is called player faction is ignored and it should be changed to his (based on sniffs)
	* the idea of this automated check inside fix SAI problems mainly, because there you have nothing to use to reinitialize the bar - closes #5254
2012-12-17 02:54:59 +02:00
thesensei 91367bb39f Core/Oculus: Fixes here and there, implement phasing
* Implement phasing (sniffed)
    * Add drakes proper support (events, texts, conditions for spells), remove npc_spellclick_spells
    * Add proper support for Gossip npcs
    * Removed the arcane shield Urom use first time we are about to meet him, because he only get it after he spawns a wave, added Evocation casts from sniff/retail that also break the teleportation visual bug
    * Some db updates based on Aokromes sniffs
    I intended to do it all, but there are core issues I have no knowledge to fix and I don't want to jump to other things before fixing them. :) So, I will submit boss updates, if I ever fix them. There are still stuff do do for drakes spells left from before.
    * Majour thanks to Shauren for helping me with summoning spells and w/e I ask him and all who answered my questions.
2012-10-02 22:13:40 +03:00
thesensei e34b7e70c5 Core/Conditions: Add relation to creator
* This is used in spells with effect summon where the summoned creature doesn't get a *summonedby* flag and so relation to owner is not working. This way the unit get relation to the master who created it.
* World case where I'm going to use this is summoning Oculus drakes
* Blizzard seems to handle such cases with special spells in dbc that are missing and sniff gives nothing for them.  The number of spells is unknown, but existence of atleast 10 is seen. They are used usually as bonus effects to make the check however mechanic is unknown. Guessing it is good as adding this.
2012-09-21 00:07:56 +03:00
thesensei 8ccb95e8c8 DB/Achievements: Dwarfageddon (10/25) repair previous fix
* Remake SAI in a way it will work with a broken attribute for cast while dead
* Null some fields in spell.dbc, add proper attributes in case it get fixed and fix spell radius type
* Add conditions to prevent lag

Renew commit: 61d7252
2012-09-19 21:10:58 +03:00
thesensei 1a992bea9f DB/Skettis: Remove uneeded additions from previous commit and add conditions
* The GO spawn is uneeded and so all connected with it, sorry I failed, the spell is enough
* Conditions thanks to Vincent-Michael and Shauren /noticing my retardness/
2012-09-15 23:44:18 +03:00
thesensei 548a487721 Scripts/Oculus: Support for achievements Ruby, Emerald and Amber Void
* Add instance achievement criteria scripts and remove from disables. Based on retail data.
* A lot more compact style and specify only for heroic, thanks to Vincent-Michael. Tested.
This involves everything needed by the achievement, however the dungeon still needs majour fixes/rewrite.
2012-09-15 17:31:57 +03:00
thesensei f106273cfa Scripts/Skettis: Fires Over Skettis quest support
* Include SAI/Spawn and spell support, also achievement support for "Bombs Away"
Credits: Based on Warpten script and Nelegalno/shlomi1515 updates

Signed-off-by: Nay <[email protected]>
2012-09-13 14:31:11 +01:00
thesensei 422b78f029 Scripts/Ogri'La: Change credit target type from invoker to invoker party
Signed-off-by: Nay <[email protected]>
2012-09-13 14:31:10 +01:00
thesensei 54fe4489a3 Scripts/Ogri'La: Add support for quest "Bomb Them Again" and all related
* Sniffed spell support for Knockdown Fel Cannon: Choose Loc, Knockdown Fel Cannon: The Aggro Check, Knockdown Fel Cannon: The Aggro Burst, Knockdown Fel Cannon: The Aggro Check Aura, Trhow Bomb and Fel Flak Fire
* Sniffed spawns support, but only for quest related creatures and gos, no area patrols/spawns involved
* Achievement support for Blade's Edge Bomberman and Fa-la-la-la-Ogri'la
* Full DB support based on sniffs, all that can be done in SAI and not in *cpp is converted
Credits: The SAI script is based on Warpen work, thanks to Subv for proposing fix for Fel Flak Fire /and helping/ and DDuarte for helping with conditions

Closes:

Signed-off-by: Nay <[email protected]>
2012-09-13 14:31:10 +01:00
Trista 282767450c DB/Quests: Fix quest relations for Disharmony of Flame
Closes #2653
2012-09-11 00:30:09 +01:00
Trista 820a14ef31 DB/Quests: Fix quest relations for Grark Lorkrub
Closes #2659
2012-09-11 00:28:40 +01:00
Trista a8d514914b Core/Scripts: Improve Wyrmrest Defender gossip
* Added conditions to only show default gossip, if not on quest 12372
* Else show other gossip text
* Add second gossip text on gossip select
* Remove close gossip - after a lot of videos turns out character close it by moving or clicking "goodbye"

Ref #1861
Closes #7594
2012-08-31 14:48:10 -05:00
Trista 305b8d2d69 Core/Scripts: Improve Wyrmrest Defender gossip
* Added conditions to only show default gossip, if not on quest 12372
* Else show other gossip text
* Add second gossip text on gossip select
* Remove close gossip - after a lot of videos turns out character close it by moving or clicking "goodbye"

Ref #1861
Closes #7594
2012-08-31 14:20:55 +01:00
thesensei 8f9dad3d76 Core/Spells: Destabilize Azure Dragonshrine
*Spell script support for spell 49370
2012-08-28 20:10:01 -05:00
thesensei 66917624bb Core/Spells: Destabilize Azure Dragonshrine
*Spell script support for spell 49370
2012-08-28 20:58:03 +03:00
Trista 11b91ef2e9 DB/Spells: (SB) Fix quest The Angry Gorloc
Closes #1288
2012-08-27 18:37:55 +01:00
Trista 41a62da6b5 DB/SAI: (HF) Fix quest The Shining Light
Closes #1230
2012-08-27 18:09:39 +01:00
Stefo e0e636577f Core/Scripts: Fix target error
*Forgot to change targets
2012-08-26 14:22:57 +03:00
thesensei cc416592b9 Core/Scripts: Defending Wyrmrest Temple 2012-08-26 02:55:14 +03:00
Go6o c8d9e30d6e Volunteer's Work - fix by Vincent-Michael 2012-02-14 21:51:54 +02:00