Commit Graph

3965 Commits

Author SHA1 Message Date
Bootz 81c0a3a847 REPO: code-style clean-up
* Fixed pPlayer->player
* Fixed pCreature->creature

~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Bootz 96d7a1e970 REPO: code-style clean-up
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Bootz f1ccb83dc0 REPO: Code-style change
* Fixed pUnit-unit
2011-10-07 10:48:56 -05:00
Rat e23fe1845f Core/SmartAI: Updated SMART_ACTION_RESPAWN_TARGET, should work for GOs as intented. Param1 is to set GO respawn time. 2011-10-07 14:12:09 +02:00
Machiavelli 1eb5bf1a65 Scripts/Ulduar/Flame Leviathan: Make both dummy effects apply on the same target, and boost range of spell Pursue to 50000yds to prevent boss reseting during the encounter. 2011-10-07 13:47:03 +02:00
sarjuuk 8306c8299e Core/Spells: Swift Flight Form speed is set to 310% if a coresponding mount is owned. 2011-10-06 18:21:24 +02:00
Shauren fc9926a97e Scripts/Icecrown Citadel
* Properly remove glow aura during outro from Tirion
* Improved Wicked Spirit behaviour & visibility on heroic mode
* Removed gossip npcflag from Tirion after LK death
2011-10-06 17:57:28 +02:00
Shauren 0ef92d85b7 Scripts/Icecrown Citadel
* Fixed Mutated Abomination for Professor Putricide
* Tweaked a bit Bone Storm damage formula and fixed its damage (fix by Havenard)
2011-10-06 15:27:47 +02:00
Shauren 4eaa4ce401 Scripts/Icecrown Citadel: Fury of Frostmourne debuff will now be removed correctly 2011-10-06 14:30:33 +02:00
Shauren 4c441af07b Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-10-06 14:22:38 +02:00
Shauren 8919b9cb4c Core/Spells: Fixed typo breaking SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE and SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE 2011-10-06 14:22:11 +02:00
Kaelima 2f5e10c1ba Merge pull request #3304 from DemiDroL/patch-1
Core/Script: Fix possible crash in achievement_defenseless.
2011-10-06 01:59:33 -07:00
Machiavelli 8b1d5128f7 Merge pull request #3357 from idostyle/shatteredbarrier
Core/Spell: Shattered Barrier should obey proc chance of talent ranks
2011-10-05 21:56:58 -07:00
Shauren b3d2552937 Scripts/Icecrown Citadel
* Terenas Menethil should start at 50% health
* Fixed melee damage in The Lich King encounter
2011-10-06 00:54:15 +02:00
Shauren 60efe048a5 Removed more debug code 2011-10-05 21:27:30 +02:00
Shauren bb5effa3b1 Oops, thats no longer valid 2011-10-05 20:55:09 +02:00
Shauren 2ff1c28c4c Scripts/Icecrown Citadel
* The Lich King
2011-10-05 20:48:34 +02:00
Shauren 34678d8d39 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-10-05 16:44:08 +02:00
Shauren 8a3ced48c1 Core/Scripts: Limited possible phase number for EventMap to prevent overflows 2011-10-05 16:43:43 +02:00
idostyle@zoit ae63e8b4f6 Core/Spell: Shattered Barrier should obey proc chance of talent ranks 2011-10-05 14:41:10 +02:00
tobmaps ce54465d19 Core/Spells: Fix Restricted Flight Area
Closes #3354
2011-10-05 18:07:44 +07:00
Shauren 26c76bf388 Core/Spells: Implemented SPELL_AURA_BLOCK_SPELL_FAMILY 2011-10-02 16:23:52 +02:00
DemiDroL 832062589b Crashfix: GetInstanceScript() if target is NULL in achievement_defenseless 2011-10-02 22:53:57 +10:00
Discover- bc030cc9ee Scripts/Dustallow: Fix quest Prisoners of the Grimtotems
Closes #2904
2011-10-02 02:03:16 +01:00
Nay 03a17b2461 Core/Scripts: Tallhorn Stag should melee attack, by Discover-.
Closes #2623
2011-10-01 19:15:49 +02:00
Nay 8373e6c32e Core/Creature: Do not attack non-combat pets.
Fixes an issue where non-combat pets were aggroing other creatures
2011-10-01 16:57:10 +01:00
Nay 0f7d9e4837 Core/SAI: Fix an issue where SAI was ignoring civilian and passive unit flags
Closes #2526
Disclaimer: This was not thoroughly tested; report any issue caused by this change.
2011-10-01 16:29:23 +01:00
Lopin 62980da8df Scripts/Ulduar: Crashfix 2011-09-30 22:49:21 +02:00
Shauren 2a34c5e4c8 Core/Auras: Fixed crashes in Infusion of Light and Frozen Power proc handlers
Closes #3271 & #3272
2011-09-30 18:45:49 +02:00
Shauren 8305b0240b Core/DB: Fixed a crash on shutdown under msvc compiler 2011-09-30 18:42:26 +02:00
Shauren 5d37116ea6 Core/Spells: Allow ProcessEvent hook to run in EffectSendEvent when spell caster is a player 2011-09-30 18:41:30 +02:00
Shauren cde2427cab Core/Movement: Players should not get instantly teleported to graveyard when falling under map 2011-09-30 18:40:09 +02:00
Shauren da54fb92d5 Core/Movement: Fixed knockback visibility for other players (no more "teleport") and knockback strength from creature spells (this does not fix knocking creatures back) 2011-09-30 18:24:12 +02:00
Spp 18aad847e1 Fix a typo in 8b820baa73 2011-09-29 13:25:37 +02:00
Spp b16d2245bb Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces

Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp 8b820baa73 Core/Battleground: Use a general solution for MSG_BATTLEGROUND_PLAYER_POSITIONS 2011-09-29 10:21:33 +02:00
Spp 9e517c963b Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*" 2011-09-29 09:32:55 +02:00
QAston 8dd88fa43c Core/Spells: fix a typo which caused to display unneeded error message (invalid target) during cast of some spells (like warrior charge). 2011-09-28 18:59:55 +02:00
Machiavelli 8cde717e76 Core/Achievements: Fix gender-specific Matron/Patron title reward.
Closes #1406
2011-09-28 16:27:08 +02:00
Spp be12603150 Configuration/ConfigMgr: converted from singleton to namespace with free functions. 2011-09-28 13:00:43 +02:00
Spp 71228f90bb Core/Weather: Move static function to WeatherMgr. 2011-09-28 11:55:25 +02:00
Machiavelli d0ce7d2367 Scripts/Ulduar/Razorscale: Fix event starting 2011-09-28 11:49:28 +02:00
Machiavelli 18665d19b4 Core/Scripts: Add an additional parameter to DoZoneInCombat to define the max range to find a target in to engage (instead of hard coded 50 yards). 2011-09-28 11:49:25 +02:00
Spp b93067350c Core/WeatherMgr: singleton converted to namespace with free functions. Note how RAII saves your life and removes the need in explicit delete :) 2011-09-28 11:38:56 +02:00
Spp cc06c41887 Core: Move FormationMgr to namespace
Also...
- Warning fixes
- Make Singleton constructors private
2011-09-28 11:11:38 +02:00
Spp 852ffcc139 Core/Scripting: Remove unnecesary reference in param function OnMemberRemove 2011-09-28 10:35:59 +02:00
Machiavelli 88d30aaa65 Merge pull request #3174 from Souler/pull
Scripts/Ulduar: Make Ignis enter evade mode if pulled out from his fight area.
2011-09-28 01:32:33 -07:00
megamage eb946691c7 Unlink Battleground and BattlegroundMap when one of them is deleted. Fix crash #3239. 2011-09-27 17:26:13 -04:00
QAston 5f043e6291 Core/Spells: Bring back workaround removed in cd7060c65a - it's needed for compatibility with some scripts. 2011-09-27 22:04:26 +02:00
Shauren 7040ef5877 Scripts/Icecrown Citadel: Mark of the Fallen Champion will ignore armor now 2011-09-27 21:44:29 +02:00