Commit graph

439 commits

Author SHA1 Message Date
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
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
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
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
VladimirMangos
181ecdc20d [8982] Prevent infinity recusion at repally auras at sepllmod change.
Passive auras (in different area auras) not affected by another group member spellmods.
In different from owned unit case.
2009-12-13 01:21:22 +03:00
VladimirMangos
1d608c482f [8978] Fix wrongly apply weapon damage mods to broken weapon. 2009-12-12 21:12:43 +03:00
Maxxie
d897f55970 [8975] Spell 34914 and ranks will deals damage at dispel.
(cherry-picked from commit 6ff5b6a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-12 07:43:23 +03:00
VladimirMangos
f5895596c0 [8966] Restore full stack bufs from talent 51528 and ranks using unique aura type. 2009-12-11 02:06:58 +03:00
VladimirMangos
6f083e0c31 [8961] Prevent crash in Aura::HandleAddModifier for far group member 2009-12-10 01:07:33 +03:00
laise
39c16a8510 [8959] Implement talent 15318 and ranks and move talent 44745 and ranks code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-10 00:55:34 +03:00
Lightguard
d3ee1ecc3d [8957] Implement talent 53754.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 18:10:44 +03:00
Maxxie
0ec0f34be7 [8956] Implement aura SPELL_AURA_ALLOW_ONLY_ABILITY.
(cherry picked from commit f4d1e05)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 16:01:08 +03:00
LordJZ
08e0658430 [8954] Implement spells 65495 and 65386.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 13:58:40 +03:00
VladimirMangos
e150887b86 Remove trailing spaces 2009-12-08 22:09:41 +03:00
VladimirMangos
05d1dc40dc [8950] Implement talent 55198. 2009-12-08 22:07:07 +03:00
VladimirMangos
dbd3177121 [8949] Implement proper support spell auras with maxstack > 1 and charges > 0.
* Like auras expected to be proccessed in spell proc event code (not lost charge at use in spellmods code).
  Exist examples for like spells that affect value in spellmods but have different expire requirements.
* Propertly work with stacked auras in spell proc event code
  - remove only one auras from stack
  - in case charges exist in same time not touch charges but return expire
    (all really used auars with maxstack>1 and charges have 1 in one from this values)
2009-12-08 22:04:42 +03:00
laise
58551fb582 [8947] Implement aura SPELL_AURA_MOD_DURATION_OF_MAGIC_EFFECTS (245)
Used in spell 6117 (5/6 ranks)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-08 12:14:53 +03:00
MrLama
895c84b8b0 [8942] Spells 20911 and 25899 stats bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also stacking rule to prevent log spam.
2009-12-07 22:17:34 +03:00
darkstalker
486c628ce2 [8934] Implement aura PELL_AURA_MOD_MINIMUM_SPEED (305) and it used for FORM_GHOSTWOLF.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 23:06:16 +03:00
VladimirMangos
fef94f9b36 [8924] Implement reapply permanent area auras for group. 2009-12-06 08:25:09 +03:00
QAston
8b0ce112ba [8922] Implement telant 46859 and ranks additional debuff apply.
Thanks to xXxRRLxXx and KAPATEJIb for patch prepering.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 02:52:44 +03:00
Splinter
155ea6f40a [8920] Fixed glyph 42408 by move code to more correct place.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 00:39:04 +03:00
Splinter
2c17ba41f1 [8906] Implement 64127 and ranks in part of additional dispel.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-02 23:31:48 +03:00
VladimirMangos
840fad2d07 [8899] Implement glyph 43374
Original patch provided by Splinter.

Also sort Unit::HandleDummyAuraProc generic family spells in case.
2009-12-01 13:48:14 +03:00
VladimirMangos
1e3100d664 [8894] Add missing and avoid redundent Aura::GetCaster calls. 2009-11-30 10:59:53 +03:00
Sarjuuk
d542e25302 [8892] Implement spell 29166 and glyph 40908.
Original patch provided by bobaz.

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

Also add protection from wrong periodic heal at relogin.
2009-11-29 19:22:22 +03:00
VladimirMangos
d80b7a2de1 [8885] More correct animation for spell 48181 and ranks. 2009-11-29 04:41:08 +03:00
reeshack
df8d59b770 [8878] Update regent percent for spell 57669 and 61782.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-27 00:16:18 +03:00
VladimirMangos
e6efe02020 [8867] Implement expected combat stop with friendly faction
In case force reaction apply/remove.
2009-11-23 22:40:46 +03:00
Astellar
aa759d8161 [8854] Implement heal back part of spell 48181.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

I choice maybe less clear way store future heal amount, but with avoid use additional fields for auras.
2009-11-21 11:20:30 +03:00
VladimirMangos
398ca010ca [8831] Helper function add and move for diffficulties.
* Use regular naming for 0 spwanmode/difficulty for clean consistence names (used at well known wiki)
* Move difficulty related data access from InstancedMap to Map class.
2009-11-19 03:05:52 +03:00
VladimirMangos
37ba6623bb [8828] Independent instance reset time for different difficulties.
* Store reset time for map/difficulty pairs.
* Use DBC data for reset time and max players instead `instance_template` fields (dropped)
  for each existed map/difficulty pair.
* Fix some "heroic" related checks in spells/etc.
2009-11-18 10:08:41 +03:00
balrok
c3c7ab2f63 [8816] call uncharm for all units at delete
currently it was only done for players - but units
also can have charms which must be removed
2009-11-14 19:11:04 +01:00
crackm
d5ee544367 [8814] removed some spells which made creatures invisible for dead 2009-11-14 15:44:01 +01:00