Commit graph

955 commits

Author SHA1 Message Date
sixsixnine
e738c27714 [11911] Use mmaps for Spline Movement 2012-02-06 23:18:16 +01:00
Xfurry
d8466dc392 [11883] Implement spells 32300, 32301
Based on research done by Bugfix at SD2 forums
Also reorder a few case spell_id in this area

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-24 19:19:01 +01:00
Xfurry
de3bdc0ed0 [11881] Implement ScriptEffect of spell 49405
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-23 22:10:00 +01:00
faramir118
eca3586d74 Fix some combat behaviour of NPC-Pets
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-01-20 00:42:59 +01:00
Schmoozerd
177bc78108 [11879] Inform AI function of original caster in some cases
Inform the AI of an original caster for JustSummoned and SpellHitTarget.
This should make scripting some hard cases easier.
Remark that _both_ caster and original caster will be informed (if they are different).

Check your scripts that they still behave as expected!
2012-01-19 00:05:38 +01:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
Xfurry
8f95cbab1a [11869] Implement ScriptEffect of spells 49380, 59803
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 18:11:01 +01:00
Xfurry
6b8c38884d [11868] Implement DummyEffect of spell 54850. Original patch by Reve
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-21 18:07:24 +01:00
Schmoozerd
fe79f593ca [11858] Implement ScriptEffect of spell 43375. Thanks to Klark20 for research
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-12-09 21:55:11 +01:00
Xfurry
83e85416f4 [11851] Implement spell effects for Kalecgos
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-29 21:36:22 +01:00
Sergey
93c419460f Update src/game/SpellEffects.cpp 2011-11-28 09:49:37 +06:00
Alex
3199d72422 check unitTarget pointer 2011-11-28 09:22:23 +06:00
Schmoozerd
9eb96b7811 [11849] Add missing pointer check for spell 45989.
Thanks to stfx for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-25 22:51:49 +01:00
Schmoozerd
a427718cab [11847] Fix teleport spells with TargetType (TARGET_TABLE_X_Y_Z_COORDINATES, NO_TARGET)
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-15 19:55:55 +01:00
Sergey
b35dea1703 Update src/game/SpellEffects.cpp 2011-11-11 10:33:56 +06:00
Xfurry
8793abd2c4 [11845] Implement ScriptEffects for spells 45141, 45151, 45206 for Brutallus
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-10 21:25:03 +01:00
Xfurry
d034710e38 [11844] Implement spells 45976, 46177, 45989 for M'uru encounter
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-11-09 16:58:41 +01:00
Sergey
5880014d93 Edited src/game/SpellEffects.cpp via GitHub 2011-10-10 09:21:48 +06:00
Xfurry
a59d1f06cc [11816] Implement spell 64456 for Auriaya encounter
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-10-08 15:58:59 +02:00
Schmoozerd
379ef94aa7 [11811] Really fix spell 67009. Thank you all for contributing
I really should start to learn to count, sr for the inconvenience

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-27 14:31:05 +02:00
Schmoozerd
d55e1b3edb [11809] Implement ScriptEffect for spell 67009
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-26 23:40:09 +02:00
SilverIce
7a67f27ab3 [11806] A bit gameobject code refactoring 2011-09-26 00:12:12 +03:00
Schmoozerd
2baf5f8c6e [11802] Implement quest-credit for spell 51858
Note: Many other dummy spells should work the same, please inform about them

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-24 16:35:54 +02:00
Xfurry
46e869a454 [11801] Implement spell 43498
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-24 15:40:06 +02:00
bastili
b8b1676aaf [11800] Implement spell 29395
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-20 01:32:47 +02:00
Schmoozerd
6baf677a63 [11792] Implement spells 68912, 68871, 68875 and 68876
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-11 12:52:20 +02:00
Schmoozerd
0bb3a4c84d [11791] Implement spells 69048, 69051 and 69023
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-11 12:33:32 +02:00
zergtmn
e7873b8ad8 [11787] Clean up some redundant GetSpellDuration calls 2011-09-05 20:00:32 +06:00
virusav
cb685b3214 [11770] Implement dummy effect of spell 40962
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-08-07 00:34:47 +04:00
Laise
e178c79d51 [11748] Replace SpellModifier struct by direct aura access (this should fix charge drops of 36032) also revert [11740] 2011-07-20 15:41:39 +03:00
Lynx3d
35e8af7195 [11729] Improve fishing bobber placement and send more correct error messages. 2011-07-10 03:56:06 +02:00
SilverIce
fc0eb7e9fa [11721] Simplify walk/run movement mode selection code 2011-07-08 19:30:00 +03:00
SilverIce
9d566398ad [11720] 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:

 1. Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
 2. Precission increased. There are no more position desync issues since client's position calculation formulas used.
 3. Now possible to move by paths with multiple points, send whole path to client.
2011-07-08 17:25:13 +03:00
Xfurry
b3b1257625 [11696] Implement spell 51336
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 19:56:10 +04:00
Schmoozerd
26ccba0a8a [11694] Implement spell 28560
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 16:24:02 +04:00
virusav
7e625de523 [11693] Send main spell info in EffectForceCast
This help in proper reagents use in related triggered spell.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 15:54:46 +04:00
VladimirMangos
d8a3f4b925 [11674] Fixed names of pets summoned by npc.
* Add check to make sure that creature controlled pet use default name from template.
* Add localization support to pet name query for above pets type.
2011-06-25 20:45:48 +04:00
zergtmn
ba7ce1d7c3 [11655] Add script effect of spell 62678 and 62688
Target 91 may require further adjustments.
2011-06-19 22:00:41 +06:00
zergtmn
83de12fa75 [11653] Add script effect of spells 62521, 62524 and 62525 2011-06-19 21:21:17 +06:00
VladimirMangos
a97370a7f0 [11645] Fixed work EffectSummonChangeItem, for example, for item. 17223
Also
* Move item comvert code from spell effect to new function.
* Some code style cleanups.
2011-06-18 21:09:42 +04:00
VladimirMangos
f7e3b33eaf [11635] Revert "[11615] Apply normal stealth at expire spell 1856 and ranks"
This reverts commit 1c0bd32c22b7d0116fab8d32b3b7e4f92c039b38.

Thanks to SeT for providing proves for commit wrong way work.
2011-06-17 21:04:59 +04:00
DaC
7dbbd514c8 [11629] Item 8345 energy part.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-13 06:37:27 +04:00
VladimirMangos
c686697c2d [11623] Implement ClassFamilyMask as wrapper for uint64+uint32 spell family masks
Inspired by patch suggested by darkstalker

Also
* Remove existed enums for family masks as contra-productive for developement.
* Drop one from horrible hack checks in SpellMgr::IsNoStackSpellDueToSpell
  (spells for any fimilies with exactly 0x800 mask) I fail find useful cases
  for current spell data with this check. All cases expected work correct without it.
  If will some problems detected with this please report for fix in less strange way.
2011-06-11 21:20:42 +04:00
VladimirMangos
0d9e3c8e43 [11615] Apply normal stealth at expire spell 1856 and ranks
Instead current at apply mode.
2011-06-06 17:38:05 +04:00
NoFantasy
3788348b46 [11584] Add script effects of spell 48724, 48726, 48728 and 48730
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-06-01 12:12:12 +02:00
Sid
8251b3febc [11580] Redundent assigns UNIT_FIELD_FLAGS for pet
Field initilized in Pet::InitStatsForLevel.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-01 05:34:21 +04:00
VladimirMangos
4a087e6bda [11557] Duel related fixes
* Implement duel allowed check base at proper area flag AREA_FLAG_DUEL (0x00000040)
  This allow duels for example in capital area 4570 and allow/fogbid correctly some other zones and areas.
* Implement duel cancel at leave duel allowed area
* Fixed code for duels work in sunctuary if area allow duels.
2011-05-29 03:57:15 +04:00
Schmoozerd
3beb20b67d [11553] Implement script effect for spell 68861.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-28 06:37:31 +04:00
Xfurry
325e610b2a [11546] Implement script effect for spell 72034/72096
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-27 01:10:30 +04:00
Xfurry
c117acc926 [11545] Implement spell 24320
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-26 21:51:35 +04:00