Commit graph

719 commits

Author SHA1 Message Date
VladimirMangos
98adbbc3d3 [9206] Some code cleanups.
* UNIT_STAT_SEARCHING not used
* Remove some commented wrong code
* WaypointMovementGenerator<Creature>::Initialize() not have code
2010-01-18 09:13:50 +03:00
VladimirMangos
6704929d56 [9186] Templated functions for apply some code to all controlled units.
Also fix some related problems with not updates totems/etc
2010-01-16 04:41:44 +03:00
NoFantasy
dbf0fafbfe [9182] Replace 0 with NULL in a few CastSpell calls (removed where not needed)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-15 01:43:02 +01:00
sixsixnine
b29f53e6e9 [9162] Allow SPELL_AURA_PERIODIC_LEECH to crit if able to.
This allow DoT crits from 2944 and ranks for example.

(based on commit be72957)

Also included improvement from Lynx3d for resilence and crit threat affect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 14:29:40 +03:00
KAPATEJIb
171a2e02d7 [9150] Fixed some paladin spell bonuses
* Use stack size in additional spell damage for 31803/53742.
* Use in code calculation for additional spell 20187/20375 damage

Thanks to MrLama for small cleanups and patch updating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 02:30:15 +03:00
VladimirMangos
a0c6850553 [9138] Implement glyph 45783. 2010-01-10 09:31:45 +03:00
VladimirMangos
dc643371c8 [9136] Merge branch '330' - Switch to support client version 3.3.0A
You need extract new dbc.

Also recommended extract new map/vmaps.

And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-01-10 07:29:44 +03:00
laise
96fbeab3e9 [9133] Fixes in talent 11129 work.
* Restore after client switch talent triggering.
* Propertly remove triggred auras stack or main spell aura at expire/cancel.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-10 00:45:29 +03:00
VladimirMangos
89939fe7b3 Fixed mangos.sql data for branch and partly related code.
* Drop outdated data for 1535 (old totem summon, now instant area cast)
  Still need implement new way work.
* Restore work broken in branch glyph 45785 with updated functionality,
2010-01-09 06:58:50 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
NoFantasy
17c0ea7020 [9117] Add dummy effect at aura removal for spell 32286
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 16:17:31 +01:00
NoFantasy
ed0f04bce4 [9099] Implement periodic dummy aura for spell 55592
Also correct second cast, expected for spell 53520

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 21:26:57 +01:00
NoFantasy
f9ec746123 [9097] Implement periodic dummy aura for spell 53520
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 19:02:06 +01:00
NoFantasy
56407bdb32 [9096] Implement periodic dummy aura for spell 52441
Note speed is not really reduced as expected, this need correction in other parts of code.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 18:35:35 +01:00
NoFantasy
15193ab9c3 [9094] Implement periodic dummy aura for spell 46041
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 15:16:33 +01:00
NoFantasy
65f4e7d278 [9093] Implement periodic dummy aura for spell 48630 and 59275
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 13:10:23 +01:00
VladimirMangos
e5dfeea31e [9090] Implement tick counting in periodic auras.
This can be used for some tick number dependent aura effects.
Also in some cases impossible claculate tickes count pass,
for example for infinity duration auras.
2009-12-31 17:52:43 +03:00
tomrus88
33cd1a0aca Merge remote branch 'origin/master' into 330 2009-12-30 01:16:15 +03:00
NoFantasy
468295392d [9086] Limit maxTargets for spell 33711 and 38794
Also remove not strict required difficulty check for some spells and add lost comment from [9085]

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-29 20:14:48 +01:00
NoFantasy
4f54e09134 [9085] Implement periodic dummy aura for spell 50824
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-29 19:01:23 +01:00
NoFantasy
fcbd0cdaa5 [9084] Implement periodic dummy aura for spell 50789 and 59860
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-29 17:24:14 +01:00
Lightguard
9c98bd92e2 [9077] Fixes for pet work in case mounted owner.
* No unsummon temporary pet at non-fly mounting.
* Implement client side disable pet's action bar for mountted owner time

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

* implement server side action disabled case (action bar modify, aggro reaction and autocast)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-28 16:00:55 +03:00
NoFantasy
ec1e30490b [9072] Implement periodic dummy aura for spells 50792, 59859, 50801 and 59858
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-27 15:29:21 +01:00
PSZ
722634770b [9063] Add one more expected spell cast at spell 28169 debuf expire.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 16:57:59 +03:00
darkstalker
67dd48e2d4 [9061] Fixed SPELL_AURA_MOD_CRIT_DAMAGE_BONU (163) use in calculations.
* Renamed from SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE
* Also apply to non-melee damage also

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 06:11:10 +03:00
yavi
9ab5276eb9 [9059] Implement expire effect for spell 28169
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 05:08:43 +03:00
VladimirMangos
0fec3c06d8 [9058] Implement spell 7057 2009-12-25 00:26:44 +03:00
tomrus88
d98300b500 Merge remote branch 'origin/master' into 330 2009-12-24 15:52:11 +03:00
tehmarto
bfca1ca7fa [9055] Fixed charge amount for spell 64823 to expected 1
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-24 04:49:37 +03:00
Astellar
ce26fcf4aa [9054] Implement expire/dispell damage for spell 44457 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-24 03:25:42 +03:00
Insider
0e42b18946 [9051] Fixed typo in [8959]
(backported from commit eedbc3f)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-23 21:19:59 +03:00
VladimirMangos
5e081196b1 [9049] Additional fixes for talent 17056 and ranks.
Thanks to Sarjuuk for clarify existed problems and help in prepare fix.
2009-12-23 19:48:14 +03:00
tomrus88
c83b72da90 Merge remote branch 'origin/master' into 330 2009-12-22 05:13:25 +03:00
MrLama
d432c34307 [9045] Implement talent 48539 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also some typos in mangos.sql field order fixes (sql updates in past ahe been correct)
2009-12-22 00:16:31 +03:00
tomrus88
d69abfcae1 Merge remote branch 'origin/master' into 330 2009-12-21 17:06:32 +03:00
tomrus88
8607a9d618 More enum/struct fixes. 2009-12-21 17:05:54 +03:00
VladimirMangos
a01f2e1f72 [9043] Fxied build at *nix systems. 2009-12-21 02:02:27 +03:00
laise
70c7d955f9 [9040] Update code for talent 17056 and ranks correct work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-21 01:28:49 +03:00
VladimirMangos
15de428242 [9037] Cleanups in spellmode apply code.
* Add constructores for spellmode creating instead explcit fields init
* Use uint32 for family mask 2 instead unneded uint64

Also drop one from manual applies for uno-existed now spell.
2009-12-20 19:47:14 +03:00
VladimirMangos
49bfec94e4 [9033] Fixed percent mana regneration from spell 53228 and ranks buff. 2009-12-20 01:14:18 +03:00
VladimirMangos
239dd33e22 [9031] Fixed: remove talent 44404 buff at spell mod apply triggering. 2009-12-20 00:27:04 +03:00
VladimirMangos
29a096a348 [9023] Fixed some hunter sting affects.
* spell 1978 and ranks RAP bonus
* spell 53209 affect from spell 3034 dot.
2009-12-19 02:51:14 +03:00
laise
a8d4254d33 [9021] Implement item 21213 effect work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-18 22:26:15 +03:00
balrok
0502de55af [9013] shapeshift spells
some shapeshift forms will give the player spells
so we need to tell the server that the player has those new
spells else he can't cast them since the server is thinking the player is
cheating

ps forms with spells:
FORM_GHOUL
FORM_THARONJA_SKELETON
FORM_TEST_OF_STRENGTH
FORM_BLB_PLAYER
FORM_TEST
FORM_ZOMBIE

--
so this mostly won't affect any ingame experience.. but good to have this
feature anyway.. :)

also changed errormessage if player has no reagents for spell..
thx to nofantasy
2009-12-17 14:02:59 +01:00
balrok
16b39c1ebf [9008] modelids for shapeshifts from dbc
this will correct some modelids:
form         old model, new model
FORM_TRAVEL: 632   --> 918      (now a bit smaller)
FORM_GHOUL:  10045 --> 25527    (whisp --> ghoul)
FORM_CREATUREBEAR: 902 --> 2281 (old brown horse -> bear)

implement shapeshift for spell 24347

this commit also
fix the errormessages with: "Race %u not found in DBC: wrong DBC files"
which were triggered from this code
and will fix the modelid for creature 2038
since it's also using a shapeshift aura and only got the horde-modelid

+ some new entries in ShapeshiftForm-enum
+ some research for the shapeshift.dbc
2009-12-16 21:09:42 +01:00
freghar
a13fa7f873 [9006] Trailing whitespace cleaning
Sorry for a (bit) delayed commit.

Signed-off-by: freghar <compmancz@gmail.com>
2009-12-16 15:38:08 +01:00
darkstalker
b59052ab42 [8986] Implement resilience on periodic crits
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-13 22:30:20 +03:00
VladimirMangos
a27ca31ce0 [8984] Fixed max channaled spell distance check at aura update.
Radius for target applied chanmaled auras around affect, not for caster diatance check.
So use spell range and _only_ for explicit pointed channled target for spell.
2009-12-13 18:52:35 +03:00
Splinter
fc3a721848 [8983] Implement item 42988 buf expire effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-13 02:31:43 +03:00