Commit Graph

357 Commits

Author SHA1 Message Date
Bonitas
09a73a398a Core/Spells: Fix proc for spells that should trigger on taken hots 2014-01-18 01:50:19 +01:00
Elron103
88ecc9533a Core/Entities: Fix combat state setting when FFA PvP flag is set
Description:
Currently there is an issue, when you are in FFA areas, but you dont have PvP flag activated.

You should get the PvP-In-Combat delay timer, but instead you just get the usual timer as if you would not fight in PvP.

Reproduction:
1) Get two players in FFA area Gurubashi arena down in the battle area (.tele Gurubashi)

2) Fight each other

3) When stopping combat, the combat state will switch off immediately. But it is supposed to switch off after some delay, because it was a PvP fight.

Closes #11103

Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
2014-01-13 17:03:43 +00:00
DarkBrain2580
de1d75af70 Spells: Fix Alcohol-Free Brewfest Sampler
Closes #10956

Signed-off-by: Duarte Duarte <dnpd.dd@gmail.com>
2014-01-12 00:41:54 +00:00
joschiwald
738afccfc1 DB/Spells: correct more spelldifficulty_dbc entries
* add log message to find wrong entries
2014-01-05 00:49:54 +01:00
Warpten
ff61e4d79d Scripts/Halion: Fixed Soul Consumption's pull effect.
Thanks to Winterfell for pointing out the issue.
2014-01-04 17:48:51 +01:00
Vincent_Michael
20004050bc Update copyright note for 2014.
Happy new year.
2014-01-01 00:07:53 +01:00
Malcrom
fe95371d9a Core/Scripting: Replace casted with cast as casted is not a word. 2013-12-25 14:16:55 -03:30
joschiwald
f5c2dca1d5 Scripts: fix crash in spell_jokkum_scriptcast
Closes #11313
2013-12-14 19:43:29 +01:00
Malcrom
fb1daeb44c Core/SpellMgr: Remove unneeded check for max targets 2013-12-04 16:08:57 -03:30
Malcrom
5da508c0a0 Scripting/Blade's Edge: Quest 10594 "Gauging the Resonant Frequency"
Closes #6214
2013-12-04 14:43:35 -03:30
Malcrom
395eb83b88 DB/Conditions: Add condition for Shoot Arcane Explosion Arrow 2013-11-11 00:43:56 -03:30
Spp
94e2b9332a Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive) 2013-11-08 10:50:51 +01:00
leguybrush
0a308144a8 Core/Code: Unify [more] codestyle for brackets: )\n{\n} to ) { }. 2013-10-28 14:36:07 -04:00
gerripeach
cb89a42946 Core/Spell: Earthbind totem should not have DR (Diminishing Returns)
closes: #7037
2013-10-20 12:30:22 +02:00
Baeumchen
b1c706a1eb Just, because this typo was annoying... 2013-10-15 06:02:55 +02:00
joschiwald
adef15cd0f Core/Spells: add an other condition to SpellInfo::NeedsToBeTriggeredByCaster to correct spells with are wrongly triggered by target instead of caster
- convert archavons rock shards to spellscript (now it works properly)
- add a spellscript for one spell that can't be corrected by this (and delete the sai hack, now i uses the correct spell)
2013-09-06 20:57:38 +02:00
joschiwald
7ef1f0738b Core/Battlegrounds/IoC: fix fortress teleport pads
(and replace a hack with an other hack)

Closes #5846
Closes #7993
Ref #8984
2013-09-05 00:59:22 +02:00
Shauren
4f44cdf2b5 Core/Scripts: Fixed uninitialized variable and memory leaks 2013-08-26 17:38:02 +02:00
Nay
12973de799 Core&Tools: Fix multiple issues found by a static code coverage tool 2013-08-24 22:57:22 +01:00
joschiwald
7e3a52bb42 Scripts/HallsOfLightning: reworked InstanceScript 2013-08-20 18:11:41 +02:00
Shauren
a647d3590c Core/Spells: Fixed Execute rolling for procs twice 2013-08-15 16:38:35 +02:00
joschiwald
73f7c1118d Core/Spells: implemented SPELL_ATTR0_CU_TRIGGERED_BY_CASTER to correct some triggered spells, which will wrongly triggered by target instead of caster
Closes #1972
2013-08-14 18:22:28 +02:00
Vincent-Michael
eefdceea71 Core/Spells: Fix client crash on pressing ESC at Using Steam Tonk Controller / Steam Tonk Controller
Closes #3010
2013-08-11 18:26:53 +02:00
Vincent-Michael
795e9327f7 Core/Spells: Fix hunter talent "Rapid Killing"
Close #1166
2013-08-11 18:19:17 +02:00
Spp
b05665660a Core/Battleground: Get rid of dinamic casts BattlegroundXX outside Battleground scope by implementing generic functions (1/2)
- HandleQuestComplete, CanActivateGO and IsSpellAllowed
2013-08-07 10:31:13 +02:00
Discover-
7f744de746 Core/Misc: Implement reinterpret casts for all battleground classes and use them. 2013-08-06 13:26:52 +02:00
Shauren
d26afd7703 Core/Spells: Fixed crashes happening with spells that had their dbc targets overriden
Closes #10395
2013-07-29 19:00:34 +02:00
joschiwald
c4a1ad2810 Merge pull request #10342 from joschiwald/spellinfo_corrections
Core/Spells: operate spell correction on SpellInfo store instead of dbc ...
2013-07-24 15:18:24 -07:00
joschiwald
8a87ab04ee Merge pull request #10331 from joschiwald/spell_proc_ranks
Core/Spells: allow to use ranked spells in `spell_proc_event` table (lik...
2013-07-24 15:00:14 -07:00
joschiwald
e6a146aba8 Core/Spells: allow to use ranked spells in spell_proc_event table (like in spell_proc table) 2013-07-24 23:52:06 +02:00
joschiwald
9fb45ef64c Core/Spells: load spell ranks for talents from dbc 2013-07-24 15:38:19 +02:00
joschiwald
10390465f2 Core/Spells: add some logs for loading spell_script_names 2013-07-24 15:18:42 +02:00
joschiwald
00f3b01ea7 Core/Spells: operate spell correction on SpellInfo store instead of dbc (picked from 77b85b2ea0) 2013-07-24 00:06:21 +02:00
Spp
9664c0ab5c Core/Misc: Another batch of fixes for issues found by static analysis 2013-05-30 13:18:29 +02:00
horn
0a0698b1d4 Scripts/Ulduar: Yogg-Saron
Known issues:
- encounter doesn't start immediately after you enter the room, you need to go closer
- players standing outside of the room are not turned Insane after 15 seconds
- encounter resets if the last living player is gripped by Constrictor Tentacle or encased in Hodir's Flash Freeze
- Hodir won't freeze multiple players when they die at the same moment
- Flash Freeze missile (64176) won't hit anybody, probably cast too soon (cosmetic issue)
- there are some unused spells, don't know when or why they should be cast
- some spell animations hit multiple players, but they shouldn't do that
2013-05-14 17:52:37 +02:00
Spp
d1677b2db0 Core/Logging: Performance-related tweaks to logging system
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
    Memleak fix
2013-05-13 15:07:36 +02:00
Vlad
78195b3c54 Allow use effectIndex in spell_target_position. 2013-05-13 11:30:48 +03:00
Shauren
e2f8abd48d Core/Spells
* Removed area MiscValue check for spells with SPELL_EFFECT_BIND, it's purpose is only to be sent in packets, not determine real area player will be bound to.
* Corrected guid sent in SMSG_PLAYERBOUND, it should be caster's guid, not player's
* Also updated position for Teach: Death Gate

Closes #9661
2013-05-11 12:16:36 +02:00
Nay
26efbacfab Core/Spells: Fix a logging message error 2013-05-02 03:56:34 +02:00
Nefarion
49fd11ab5a First step of comment style refactoring to doxygen-style. 2013-03-08 21:55:37 +01: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
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
QAston
6403e3fbfe Core/SpellsMgr: remove unneeded functions from spellmgr, add some const modifiers for methods 2013-02-26 11:05:10 +01:00
Shauren
e49aaab6f6 Scripts/Icecrown Citadel: Improvements to Shadowmourne quest line 2013-02-17 02:10:08 +01:00
Vincent_Michael
49e196e6b0 Misc/Spells:
- Add some ulduar teleport pos for spells
- Add target hack for ulduar teleport spells
2013-02-16 03:26:26 +01:00
Shauren
817f5b3648 Scripts/Icecrown Citadel:
* Fixed Coldflame dealing double damage
* Targets hit by Bone Slice will now be immune to Bone Spike Graveyard
* Fixed healing players on Bone Spike

Closes #1091
Closes #4473
Closes #5854
Closes #7060
2013-02-01 18:06:51 +01:00
Malcrom
ace7bbeddf Core/Zul'Grub: Fix up Mandokir Boss 2013-01-16 00:41:03 -03:30
Spp
d36c4a91ba Core/Misc: Use equal_range instead of lower_bound/upper_bound calls where possible. 2013-01-02 09:53:43 +01:00
Vincent_Michael
cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00