Commit Graph

5387 Commits

Author SHA1 Message Date
Joni
a8ae4cf1e3 Add warden documentation to ban reason 2012-04-16 18:41:31 +02:00
Kandera
413cfac953 Core/NPC: add essence infused moonstone, key to the focusing iris (and hc) to the list of keys gettable from locksmith npcs. (per aokromes) 2012-04-16 11:40:29 -04:00
Shauren
39b3589dcb Fixed Fixed broken compile 2012-04-15 17:41:37 +02:00
Subv
f7e0aedaf0 Fixed broken compile 2012-04-15 09:45:51 -05:00
Subv
c7eeb0b59c Scripts/Commands: Make the .modify reputation command only modify the specified reputation (ignore spillovers)
Patch by @ogeraisi
2012-04-15 09:30:34 -05:00
Subv
3d8aaabaf3 Core/Spells: Do not proc spells with PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_(NEG|POS) if there is no target, reimplemented Storm, Earth and Fire talent in another way
Closes #3367
Closes #2424

If you find more spells that are broken because of this, please notify us
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 20:08:16 -05:00
Nay
8a33ddc010 Core/BG: Fix a logic mistake in ResetStat timer
It should only be executed every 5 seconds, not in every update
2012-04-15 01:30:50 +02:00
Subv
8c3d0e2368 Core/Spells: Dont remove auras on stance change if the stance you are moving to is also allowed by the spell.
Closes #2758

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 14:51:59 -05:00
Shauren
4f14693ef2 Core/Scripts: Corrected previous commit and added a few AI hooks to GameObjectAI 2012-04-14 18:26:16 +02:00
Shauren
a3bdaf7e6d Core/Scripts: Added support for creating custom GameObjectAI classes, similar to how creature scripts work. 2012-04-14 17:49:51 +02:00
Subv
ab8e69873c Core/Spells: Fixed Bloodworm's heal effect and damage
Closes #1808
Thanks @A-Metaphysical-Drama for the damage part
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 10:17:21 -05:00
Subv
0d90f7c257 Fixed build from my previous commit 2012-04-14 08:47:44 -05:00
Subv
0ec7016cca Core/Spells: Corrected logic check for SPELL_ATTR4_IGNORE_RESISTANCES
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 08:23:23 -05:00
Shauren
63ec9f2299 Core/Player: Send calendar raid lockout remove before removing player from instance save (may invalidate instance save) 2012-04-14 11:09:40 +02:00
Subv
98e1847999 Player/Items: Fix the item durations when the item is stored in a bag different than the default backpack
Closes #1026
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-13 18:58:27 -05:00
Subv
ba957e6a0e Core/Spells: Reapply glyph bonuses that depend on stance when you shapeshift into that instance
Closes #1076 and possibly others

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-13 18:32:56 -05:00
Nay
a28742bffe Core/BG: When starting a battleground teleport the player to start location if it goes outside of the allowed "waiting" area (for example, getting out of the "bubble" in EotS)
Allowed waiting area is calculated as the distance specified in database (battleground_template.StartMaxDist) and the battleground start point for each team
A distance of 0 is ignored (not used in SotA nor arenas)

The values in DB might need some tweaks, open a pull request if you calculate better ones

Closes #180

Initial patch and idea by Rat

Also added validation (DBError log) to some fields in battleground_template table
2012-04-13 20:51:07 +01:00
Subv
b9c50a8b6e Core/Spells: Prevent Siphon Life from proccing on Corruption apply.
Closes #6150

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-13 13:37:32 -05:00
Shauren
c055a8617d Scripts/Icecrown Citadel
* Fixed Professor Putricide Tear Gas stunning himself
* Fixed visual of Unstable Experiment
* Fixed oozes not picking new targets after hitting old
* Fixed Gas Cloud not using melee attack
* Removed ooze summon position hack

Closes #4301
Closes #2726
Closes #5119
Closes #4464
Closes #2874
Closes #4407
Closes #2421
Closes #4899
2012-04-13 19:56:00 +02:00
Subv
5466092d23 Core/Spells: Fixed Recklessness charges being dropped twice.
Closes #932
2012-04-13 11:54:36 -05:00
Shauren
4b81de9d3a Core/Movement: Changed casting check in TargetedMovementGenerator to be able to freely manipulate cast+move interaction in scripts 2012-04-13 18:32:47 +02:00
Subv
6400c13fcb Core/Loading: Make GameObject loot loading faster by removing an unneeded call to an expensive method.
Thanks Manuel for pointing it out
2012-04-12 20:19:23 -05:00
Subv
491999280e Core/Spells: You should not be able to cast Create Healthstone if you already have one in your inventory
Closes #1498
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 20:18:07 -05:00
Subv
c04e92564b Core/Spells: Apply Lifebloom's final bloom bonus from Empowered Rejuvenation also on expire. thanks @3kids for noticing 2012-04-12 18:39:40 -05:00
Kandera
e88e0f08d1 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-04-12 13:29:51 -04:00
Kandera
305cd14e86 Core/Spells: Fix Unrelenting assault proc only on players. 2012-04-12 13:29:28 -04:00
kaelima
71bf2684be Core/Script: Use DoMeleeAttackIfReady in default ScriptedAI::UpdateAI method (fixes offhand attacks if not UpdateAI is overridden) 2012-04-12 17:53:52 +02:00
Shauren
7405202023 Removed unused file 2012-04-12 15:44:41 +02:00
Kandera
dda7fab230 Core/SpellScripts: Fix crash caused by 6cb8d607ce 2012-04-12 09:15:36 -04:00
Subv
20a09c5857 Core/Spells: Fixed Lifebloom's final bloom benefit from Empowered Rejuvenation
closes #244
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 05:54:33 -05:00
Subv
6cb8d607ce Spells/Scripts: Allow OnEffectAbsorb to call PreventDefaultAction in AuraScripts
closes #6172

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 05:52:20 -05:00
Subv
f7aadf51ee Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2012-04-12 05:51:50 -05:00
Machiavelli
74b5b3bd8e Core/Commands: Remove recently defunct .hover command. All this spell did before hoverheight changes was .cast/.unaura spell 11010. And since we do not have .autoattack, .steadyshot, .heroicstrike, .shootwand etc. either, there's no place for this command in the core (there never was). 2012-04-12 12:04:04 +02:00
Subv
2e5962725d Core/Spells: Corrected Rupture critical hits, it wont make other dots (incorrectly) crit any longer
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-11 18:53:24 -05:00
Subv
397ee8ceb5 Core/Spells: Execute spell procs after the healing effects of a spell
Closes #216

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-11 17:41:36 -05:00
Subv
54039b917c Battlegrounds/WS: Fixed doors
Closes #6170

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-11 16:34:26 -05:00
Shauren
c2948f6352 Scripts/Trial of the Crusader: Fixed spell_powering_up_SpellScript once again 2012-04-11 22:47:54 +02:00
Machiavelli
c38820c3bd Scripts/Twin Valkyr: Fix a crash in spell_powering_up_SpellScript. Author: Vincent-Michael 2012-04-11 22:35:23 +03:00
Shauren
da8c7d2344 Core: Fixed warning C4263: 'bool Creature::SetDisableGravity(bool,bool)' : member function does not override any base class virtual member function 2012-04-11 21:30:56 +02:00
faramir118
ccf50f4c3d dead code 2012-04-11 20:01:27 +02:00
faramir118
b1c4e8202e Scripts/Karazhan/Midnight: Fix timer logic
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-04-11 20:00:51 +02:00
faramir118
7ae0cf8c35 fix mistaken fallthrough 2012-04-11 19:59:44 +02:00
faramir118
d3c9817c60 make some dtors virtual
this will prevent potential for future memory leaks
2012-04-11 19:58:53 +02:00
faramir118
e3f198ca56 couple wrong return types 2012-04-11 19:58:12 +02:00
faramir118
c09cd26739 wrong signature in a few overrides 2012-04-11 19:56:05 +02:00
faramir118
f9ae8e6810 Core/DBLayer: incorrect use of va_start
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-04-11 19:51:26 +02:00
Kandera
6407582667 Core/Attributes: change some attribute names to better describe what they are 2012-04-11 11:56:35 -04:00
Shauren
be5b91f6bb Scripts/Icecrown Citadel: Fixed crashes on despawning abominations during Professor Putricide's phase transition 2012-04-11 17:53:55 +02:00
Shauren
0506877e2a Core/Vehicles: Use DespawnOrUnsummon in Vehicle::Dismiss to call AI despawn hooks. 2012-04-11 17:52:44 +02:00
Kandera
7cc2c6109a Core/Spells: Fix vigilance taunt cooldown spell targeting. cleanup some whitespace 2012-04-11 10:24:51 -04:00