Commit Graph

10930 Commits

Author SHA1 Message Date
Anubisss
80da87f015 Add one more check to EffectDispel.
Passive auras are not dispelable.
This fixes a bug like spell Omen of Clarity (16864) can be dispelled by Purge (370) if you have a non passive aura like Mark of the Wild (1126).

Signed-off-by: Anubisss <anubisss210@gmail.com>
2011-01-02 22:43:36 +01:00
Shauren
9c0cd63e93 Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon 2011-01-02 21:33:37 +01:00
Shauren
c2f98606b2 Scripts/Trial of the Crusader: Reverted temporary crashfix from 51b46987c3 and fixed it properly 2011-01-02 21:09:39 +01:00
Shauren
a3eff12b33 Core/Auras: Fixed transform aura stacking logic 2011-01-02 17:22:45 +01:00
Shauren
eec299e605 Core/Spells: Cleaned up Shaman 4P Enhancement and Paladin 2P Retribution set bonus code
SQL: Added missing sql for that revision, thx cyberbrest

Closes #12
2011-01-02 16:27:38 +01:00
leak
a7dadcb51c Prevent infinite absorption (and spell damage from Incanter's Absorption) when Chaos Bolt hits Mana shield. Patch by johnholiver.
Fixes #7
2011-01-02 13:42:14 +01:00
Shauren
659c8f8db9 Scripts/Icecrown Citadel: Fixed boss requirement check logic, thanks JohnHoliver for pointing it out
Signed-off-by: Shauren <shauren.dev@gmail.com>
2011-01-02 12:50:40 +01:00
John Holiver
2b42dcadf7 Fix T10 Bonus for:
- Paladin 2P Retribution
- Shaman 4P Enhancement
2011-01-02 12:40:07 +01:00
leak
a1d185cc44 Restore sql patch numbering 2011-01-02 12:25:45 +01:00
Shauren
039d87bbc9 Scripts: Implemented virtual function DoCastSpellOnPlayers (self-explanatory) and CheckRequiredBosses checking states of other bosses before allowing combat with selected one
Scripts/Icecrown Citadel: Added checks to prevent skipping bosses
2011-01-01 23:37:35 +01:00
Machiavelli
ce76f10bc8 Core/Vehicles: Fix a typo in AddPassenger.
Thanks to cyberbrest
2011-01-01 23:20:08 +01:00
Dark0r
81c358d6dc Scripts/Pit of Saron: Rewrite Pit of Saron instance
Signed-off-by: Shauren <krzysiek.7.5.4@gmail.com>
2011-01-01 19:13:59 +01:00
Machiavelli
957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
click
b342e4ce16 Buildsystem: Minor correction on the BUILD_DIRECTIVE definition on OSX - now with extra testing behind it. 2011-01-01 09:49:23 +01:00
click
b1f525ba7a Core: Fix non-PCH building 2011-01-01 04:10:07 +01:00
Shauren
cf62d7b776 Core/Items: Implemented spell penetration stat on items and use it from enchantments, original patch by zergtmn 2010-12-31 22:59:36 +01:00
Machiavelli
8ab453b465 Missing changes from 72a115f242 2010-12-31 18:24:35 +01:00
QAston
42d3130a56 Core/Auras:
Fix a crash with spell 33499 - BIG thanks to Shauren for finding the reason of this crash
 Corrections in managing stacked auras which change unit model.
2010-12-31 18:12:20 +01:00
Machiavelli
72a115f242 Core/Vehicles: Store guids in vehicleseat structures instead of pointers. Fixes a crash with vendor-carrying Mammoth mounts. 2010-12-31 17:23:51 +01:00
QAston
1b18a0ac65 Core/Auras: Fix aura positivity check after rev bb4bd46d21. 2010-12-31 16:12:29 +01:00
QAston
dd5a77bebc Core/Auras: Recheck aura presence on target after calling linked events in charm and vehicle aura effect handlers. 2010-12-31 15:37:44 +01:00
QAston
4eccbb81af Core/Auras: Recheck aura presence on target after calling linked events in aura effect handlers. Prevents undefined behavious when aura effect remove handler is called before apply handler is finished. 2010-12-31 14:39:18 +01:00
QAston
c220fbbc45 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2010-12-31 12:52:37 +01:00
QAston
bb4bd46d21 Core/Auras: Do not recheck aura positivity every aura effect apply/remove. 2010-12-31 12:50:17 +01:00
Shauren
82b79080c0 Core/Quests: Fixed repeatable quests not being available when belonging to an exclusive group (usually dailies) 2010-12-31 11:21:37 +01:00
silinoron
dcb0902e61 Core/Player: Add a helper function in Player to get the number of grantable levels. For future use. Thanks Phazerz for helping me confirm this is the right value. 2010-12-30 21:15:11 -08:00
John Holiver
3a053c6cd3 Scripts/Trial of the Crusader:
1) Fix Leeching Swarm damage and create spell difficulty links to code. Closes  issue #4909 .
2) Fix Valkyr's Touch. Closes  issue #4553 .
3) Fix Permafrost aura difficulty check.
4) Reduce Slime Pool damage range.
5) Avoid Shaman Champion Heroism spam using 5 minutes (CD) as timer.
6) Fix many spell target selection to only select players (no more totens or pets).
7) Fix Anub'arak Spike being able to receibe the permafrost aura in order to cast spike fail, hopefully.
2010-12-31 06:01:01 +01:00
leak
d747b8063b And remove useless testing code again.. 2010-12-31 04:50:26 +01:00
leak
73fe85e6fd Core/Handlers: Allow gamemasters to send mails with customer support badge depending on gm mode (.gm off/on) 2010-12-31 04:47:57 +01:00
leak
c5a143547d Contrib: Helper scripts to receive the revision ID of the repository without running cmake. Need to be run inside the repository directory. 2010-12-31 02:55:38 +01:00
Machiavelli
4b0341c167 Core/Vehicles: Add an assert to trace down crash in Vehicle::RelocatePassengers 2010-12-31 01:40:31 +01:00
j4r0d
2cb1987a0a Core/Spells: Fix Sacred Shield proccing on attacker
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2010-12-31 00:10:49 +01:00
Machiavelli
9c7c62cc5e Core/Vehicles: Send transport X,Y,Z offsets as floats instead of uint32, fixes a possible client crash.
Thanks to j4r0d
2010-12-30 23:40:20 +01:00
Machiavelli
11cc3eac7a Core/Vehicles: Implement VEHICLE_SEAT_FLAG_B_CANSWITCH restriction, and do some cleanup. 2010-12-30 19:57:50 +01:00
QAston
6c56f9e1b7 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2010-12-30 19:47:28 +01:00
QAston
3fc69f8619 Core/Spells: Remove some incanter's absorbtion code forgotten in previous rev. 2010-12-30 19:44:13 +01:00
Machiavelli
fe8c893273 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2010-12-30 19:11:36 +01:00
Machiavelli
948a2136c4 Core/Vehicles: - Redefine VEHICLE_SEAT_FLAG_USABLE as VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT. This flag determines whether or not the player has control over entering/exiting a vehicleseat. Thanks to linencloth for help with research.
- Implement VEHICLE_SEAT_FLAG_CAN_ENTER_OR_EXIT exit restriction
- Remove MOVEMENTFLAG_ROOT on vehicle exit
2010-12-30 19:10:46 +01:00
QAston
8cd2c73e45 Core/ScriptSystem: Add OnEffectManaShield and AfterEffectManaShield hooks to AuraScript class. Usage of these is the same as similar Absorb hooks.
Scripts: Move Incanter's Absorbtion script from Unit::CalcAbsorbResist to AuraScript.
2010-12-30 19:05:19 +01:00
Machiavelli
71e959837b Core/Vehicles: - Prevent client ejecting passengers from non-ejectable seats.
- Chart some more VehicleSeatFlags and VehicleSeatFlagsB. Research by linencloth
2010-12-30 17:59:55 +01:00
Machiavelli
8c8f4a828b Core/Vehicles: - Prevent client ejecting passengers from non-ejectable seats.
- Chart some more VehicleSeatFlags and VehicleSeatFlagsB. Research by linencloth
2010-12-30 17:33:51 +01:00
click
2325e8b3d6 Buildsystem: Adjust XCode definition variable for _BUILD_DIRECTIVE
Fixes the "Expected ')' before 'Debug'" error during compile for XCode users.
2010-12-30 15:16:17 +01:00
click
50b29aeba8 Buildsystem: Use some small git-side tricks to create a "revision-id" for use in the worldserver and versioning-info
Thanks to Shauren for digging this out
2010-12-30 12:03:17 +01:00
silinoron
e522fbe7ce Core/WorldSession: Cleanup. 2010-12-29 20:20:09 -08:00
QAston
c8adcc95f9 Core/Unit: Move spell specific code from Unit::CalcAbsorbResist to AuraScripts. 2010-12-30 02:03:46 +01:00
Shauren
51b46987c3 Scripts/Trial of the Crusader: Despawn Snobold Vassals on Gormok death 2010-12-29 22:10:42 +01:00
Shocker
5f41699312 Core/Groups: Raid leader can't be kicked from group by raid assistants 2010-12-29 22:08:33 +02:00
leak
1c244cced5 Core/Entities: Fixed disarming and related exploits
- Disarm shouldn't deduct stats other than weapon damage
- Ferals shouldn't be affected by disarm
- Fixed meta gem stacking exploit
2010-12-29 17:18:29 +01:00
Machiavelli
1f7e888465 Core/Units: Units shouldn't be able to dodge while casting 2010-12-29 14:37:55 +01:00
Shauren
82f471cc13 Core/Quests: Fixed repeatable quest still showing as completable after completion
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2010-12-29 13:14:51 +01:00