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
VladimirMangos
78a4460501
[11535] More wide use IsFitToFamilyMask
...
Simplify check for one from cases base at recheck spell data.
2011-05-25 04:06:55 +04:00
NoFantasy
b46237b643
[11519] Fix player totem icons (those under player portrait)
...
SMSG_TOTEM_CREATED must be sent before totem added to map.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-21 10:32:07 +02:00
NoFantasy
569d7cdc42
[11518] Add script effect of spell 48810 and 48811, dummy aura of 48143
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-21 08:15:12 +02:00
VladimirMangos
6237c115a5
[11495] Implement damage taken reduce part of spell 20911, 25899.
2011-05-16 20:47:14 +04:00
VladimirMangos
575584ad9b
[11494] Implement spell 1842 and similar.
2011-05-16 17:17:14 +04:00
VladimirMangos
249fb836ca
[11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
...
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.
Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
stfxpi
5b128243c5
[11480] Avoid use 2 random call in dummy 14537
...
For random generators use in same calculation 2 random roll calls can
expose internal dependences in pseudo-random generation algo
and in result generated values will not so random as expected.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-13 15:08:00 +04:00
Xfurry
4bdf829064
[11471] Implement dummy effect 21147
...
Also simplify addThreatPercent but in same time avoid rounding in -100% case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-11 23:06:04 +04:00
VladimirMangos
ef6a48fe03
[11465] non-ObjectGuid guids in random places.
...
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
2011-05-10 21:27:49 +04:00
VladimirMangos
31c34a940d
[11462] Missing ObjectGuids in spell code.
2011-05-10 13:05:39 +04:00
VladimirMangos
44f2c26389
[11459] More ObjectGuid using in Aura/SpellAuraHolder code.
...
Also fix build in PetAI code. Thanks to rsa for fix code.
2011-05-09 23:17:39 +04:00
VladimirMangos
1d781cd431
[11457] Use ObjectGuid way work with PLAYER_DUEL_ARBITER.
2011-05-09 20:40:21 +04:00
stfxpi
0c33b7bedf
[11452] Implement spell 14537 effects.
...
Also re-add in correct way sql update for prev. commit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 05:30:46 +04:00
NoFantasy
fac122184f
[11449] Correct script effect of spell 50218
...
Also for related copy weapon/copy offhand weapon
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-09 00:06:30 +02:00
NoFantasy
18605354f7
[11427] Add dummy effect of spell 48790
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-03 19:06:44 +02:00
NoFantasy
635d132ea8
[11426] Call JustSummoned (gameobject case) also from EffectSummonObject
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 23:55:55 +02:00
NoFantasy
0b2f34f93b
[11422] Fix bug in spell dummy for 46485, looking up by wrong field
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 19:28:13 +02:00
NoFantasy
73985bca70
[11421] Minor adjustment of spell dummy effect for 46797
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 18:28:06 +02:00
NoFantasy
df1376b14b
[11418] Add CreatureAI call JustSummoned version for GameObject*
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 10:18:11 +02:00
NoFantasy
9aaa8069e2
[11417] Add dummy effect of spell 45583
...
Another dummy that need static Gameobject spawns in database.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 08:39:51 +02:00
NoFantasy
ed6bc11c76
[11416] Add dummy effect of spell 46171
...
Another case of respawning GO from database, DB devs be aware.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 00:37:30 +02:00
NoFantasy
d8ea895a20
[11413] Extend dummy effect for spell 52369 and 52371
...
Search for gameobject near target and respawn if not already spawned.
Att. DB devs: gameobject should be added to database, with negative spawntimesecs.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-01 16:49:19 +02:00
NoFantasy
f076575a7b
[11412] Add dummy effect of spell 52369 and 52371
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-01 10:38:51 +02:00
Xfurry
4bdc02509a
[11407] Add dummy effect of spell 17950
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-30 10:55:54 +02:00
DasBlub
0f7aaa865a
[11395] minor code cleanup for spell 26275
2011-04-24 23:09:33 +02:00
DasBlub
dd0b464a87
[11394] the spell ids 26275 and 38358 were out of order in the switch(). moved them to the correct place.
...
thanks to vladimir for pointing out!
2011-04-24 23:05:49 +02:00
megamage
119d7d9f48
[11392] implement spell 38358 which casts 38353
...
Original patch created by megamage, modified by stfx and Schmoozerd. Thanks!
Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-04-24 22:33:08 +02:00
TOM_RUS
730a907252
Use enum InventoryResult as return type for few functions.
2011-04-24 02:48:35 +04:00
NoFantasy
c4f2b30205
[11387] Add dummy and script effect of spell 45958 and dummy aura of spell 45963
...
Thanks dpedroia15 for parts of 45958.
Note: spell 45958 may be processed further with DB table spell_scripts.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-20 23:41:00 +02:00