QAston
7a261ff9b8
Core/Spells: Use right function for obtaining spell target type. Fixes assertion failures.
2012-02-22 10:34:08 +01:00
QAston
2a1ffc1cd9
Core/Spells: Fix a typo in f09b5a6bea - call right function for target dest case.
...
Closes #5357
2012-02-22 10:21:02 +01:00
Spp
1e246cb66c
Fix build (gcc) and fix warnings
2012-02-22 09:15:57 +01:00
QAston
f09b5a6bea
Core/Db/Conditions:
...
-Drop condition CONDITION_SPELL_SCRIPT_TARGET, use other condition types instead
-Change CONDITION_SOURCE_TYPE_SPELL_SCRIPT_TARGET to CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET:
--allow using this condition for more spell implicit target types (not just ENTRY)
--SourceGroup value for this src type is now effMask and it's now required
Core/Spells: Unify the way implicit targets are handled, fully implement some partially implemented target types, fix some minor bugs found on the way, general improvements and cleanup.
2012-02-21 20:17:45 +01:00
click
dce3bc01ac
Core: Fix non-PCH building
2012-02-19 16:57:07 +01:00
QAston
9abc47736f
Core/Spells: Changes in code related to spell explicit target redirection (cleanups, added target validation, prevent unexpected behaviour in some cases)
2012-02-19 00:40:55 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Kandera
c517806a23
Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts.
2012-02-18 12:12:49 +01:00
Subv
b3f729274a
Core/Spells: Fixed an error in the logic of the AuraEffect constructor, thanks @A-Metaphysical-Drama for noticing
2012-02-17 17:19:23 -05:00
QAston
cd3ed111c9
Core/Spells: Fix recently broken feral spirit and force of nature. Closes #5278 .
2012-02-17 11:45:21 +01:00
kaelima
7ce7853606
Core/Spells: Revert part of 65d269f6de. Solves some recent instant spell casting issues.
2012-02-16 20:38:48 +01:00
QAston
0d5ae5784c
Core/Spells: Make channeled auras stackable by default with other auras.
2012-02-16 17:14:32 +01:00
Spp
03c34ee507
Fix a lot of warnings
2012-02-16 13:56:28 +01:00
leak
1b506c18ee
Core/Spells: Remove pointless check
2012-02-15 17:06:31 +01:00
Shauren
65d269f6de
Core/Spells: Allow dead players as valid objects for RaiseDeadObjectCheck (enables Raise Dead on players that have not yet released spirit)
...
TODO: Allow all corpses
2012-02-15 00:46:08 +01:00
Subv
7d30b061f0
More compiler error fixes
2012-02-14 14:06:31 -05:00
Subv
d55126aacb
Core/Spells: Revert erroneous interruption added in 5ea49613d2 - more research required
2012-02-14 13:14:51 -05:00
Subv
8a72aede16
Codestyle: Renamed some variables to fit codestyle, corrected order in structure/class fields to match alignment (they use slightly less memory now)
...
Signed-off-by: Subv <[email protected] >
2012-02-14 12:46:26 -05:00
Subv
5ea49613d2
Core/Spells: Spell casts should be interrupted if the target goes out of LoS.
...
Signed-off-by: Subv <[email protected] >
2012-02-12 15:30:16 -05:00
Subv
ff9830c18d
Core/Spells: Blink wont be able to trespass solid objects anymore (walls/doors)
...
Refactored some code
Signed-off-by: Subv <[email protected] >
2012-02-11 19:23:18 -05:00
QAston
ce4a4ffe50
Core/Db/Conditions: Add ContidionTarget column which allows selection of objects which will be checked by condition, depending on SourceTypeOrReferenceId.
...
So far usable only with CONDITION_SOURCE_TYPE_SPELL:
ContidionTarget = 0 - check caster
ContidionTarget = 1 - check explicit target
2012-02-10 23:42:08 +01:00
QAston
8713b44ee7
Core/Db/Conditions: Prepare conditions system to work on objects of different type than players.
...
Warning: API has changed a bit:
ConditionScript::OnConditionCheck(Condition* condition, Player* player, Unit* invoker) is now
ConditionScript::OnConditionCheck(Condition* condition, WorldObject* object, WorldObject* invoker)
2012-02-10 14:18:59 +01:00
Shauren
5251daf01a
Core/Spells: Summoning players will now teleport them directly on summoner, not near him
2012-02-10 11:32:33 +01:00
Subv
4ba341e892
Core/Spells: Removed deprecated code, fixed duration bonus of the Glyph of Dancing Rune Weapon
2012-02-09 15:27:12 -05:00
QAston
800cf73750
Core/Spells: Fix some problems with spells summoning to many objects.
2012-02-09 20:27:26 +01:00
Subv
9791bb599a
Merge pull request #5160 from TrinityCore/dynamic_vmaps
...
Added Dynamic Vmaps, RE-EXTRACT YOUR VMAPS
2012-02-09 11:17:05 -08:00
Subv2112
93d199f043
Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
...
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
Shocker
4623db0abe
Merge pull request #5052 from devilcoredev/fix_003
...
Core/Spells: Check line of sight for AoE targeted spells
2012-02-09 10:29:45 -08:00
Shocker
493ff0fbb2
Merge pull request #5148 from elecyb/impharmstring
...
Core/Spells: Remove incorrect diminishing group check for Improved Hamstring
2012-02-09 10:26:15 -08:00
QAston
b4022acdf3
Core/Spell: move conditions check to Spell::CheckCast.
2012-02-09 18:35:52 +01:00
elecyb
d585c68814
Core/Spells: Removed incorrect diminishing group check for Improved Hamstring.
2012-02-08 21:35:00 -03:00
Jorge
f2281f43c6
Merge pull request #5061 from Souler/fix_tournament_quests
...
Argent Tournament Quests: Mastery of...
2012-02-07 01:56:42 -08:00
Souler
43a74f0101
Scripts/Quests: "Mastery of Melee", "Mastery of Shield-Breaker" and "Master of Charge"
2012-02-05 13:17:10 +01:00
QAston
84fa96efc6
Once again - a typo fix in 22bd06fc57 - rush is not the best advisor.
2012-02-05 09:18:39 +01:00
QAston
22bd06fc57
Typofix. Sorry for that :(
2012-02-04 18:28:56 +01:00
QAston
9d185c5d66
Core/Spells: Fix immunity checks on apply aura - original patch by devilcoredev, changed a bit so immunity checks are grouped together instead of being spread.
2012-02-04 15:27:47 +01:00
QAston
6b12f39b35
Merge pull request #4821 from devilcoredev/fix_001
...
Core/AuraScript: Add OnDispel and AfterDispel hook to AuraScript
2012-02-04 06:09:57 -08:00
Giuseppe Montesanto
271feb587f
Add hook on AuraScript called when an aura is dispelled
2012-02-04 13:32:40 +01:00
QAston
7e99e5f094
Core/Spells:
...
- rename SpellInfo::IsAOE to SpellInfo::IsTargetingArea due to ambiguity of old name.
- add IsAffectingArea function to check whenever spell or it's effects are affecting objects in area and use new function to fix problems with hunter flares.
Closes #3310 . Thanks to Kaelima and Warpten for research.
2012-02-03 22:24:03 +01:00
QAston
c7ea952a47
Core/Entities: Rename UNIT_FLAG_OOC_NOT_ATTACKABLE and UNIT_FLAG_PASSIVE to UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC respectively. New names tell much more about what those flags do.
2012-02-03 18:46:05 +01:00
Shocker
08be716ef8
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:02:17 +02:00
Giuseppe Montesanto
16300d0914
Check line of sight for spell with dest
2012-02-02 19:06:28 +01:00
Subv2112
9b524b43fa
Core/Spells: Spells with SPELL_AURA_PERIODIC_MANA_LEECH should skip unit target checking if the Targets are area targets, they are filled/validated later
...
Signed-off-by: Subv2112 <[email protected] >
2012-01-31 20:27:22 -05:00
Souler
75992143c1
Scripts/Spells: Fix Argent Tournament mount spells:
...
* Break-Shield
* Charge
* Defend (visual)
* Mounted duel
* Faction Pennants when riding argent tournament mounts
Closes #4917 .
2012-01-30 00:21:42 +01:00
Subv2112
3d4f55723c
Core/SAI: Linked events should be executed after the event that linked them is executed.
...
Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target
Signed-off-by: Subv2112 <[email protected] >
2012-01-22 20:36:01 -05:00
Vlad
0f383e9cdd
Core/Movement: properly set mover for possess/vehicles
2012-01-20 05:11:52 +03:00
QAston
b754f7c91d
Core/Auras: Add some documentation to new proc system code to avoid confusion.
2012-01-17 21:35:27 +01:00
Machiavelli
dbbac0bdaa
Core/Movement: Implement spline movement subsystem.
...
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.
Technical changes:
* Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
* Precission increased. There are no more position desync issues since client's position calculation formulas used.
* Now possible to move by paths with multiple points, send whole path to client.
--
Original author of research and implementation: SilverIce. Massive kudos.
Original port for Trinity (ref #4629 ) Chaplain and Venugh
With the following incremental fixes during my review:
- Restore flightmaster end grid pre-loading
- Fix uninitialized Creature::m_path_id
- Add missing trinity_string entries for .movegens command
- Fix a bug in WaypointMovementGenerator that would trigger unexpected pausing at waypoints for various amounts of time
Known issues:
- Errors like WaypointMovementGenerator::LoadPath creature XXX (Entry: YYYYY GUID: ZZZZZZ) doesn't have waypoint path id: 0.
This is caused by bad DB data. This commit didn't "break" it.
Do not forget to re-run CMake before compiling.
2012-01-14 15:36:07 +01:00
QAston
798677ca54
Merge pull request #4800 from Chaplain/cleanup
...
Core/Spells: Fix issue in CAST_FLAG_ADJUST_MISSILE handling. Thx rsa (R2) for pointing.
2012-01-14 04:43:08 -08:00
Chaplain
a535e451a8
Core/Spells: Fix issue in CAST_FLAG_ADJUST_MISSILE handling. Thx rsa (R2) for pointing.
2012-01-13 19:18:13 +03:00