Commit graph

4170 commits

Author SHA1 Message Date
NoFantasy
f47492ad24 [8977] Not send npcflag stablemaster to non-hunter player
Also check for player class vs stablemaster flag in GetNPCIfCanInteractWith()

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-12 18:38:27 +01:00
NoFantasy
4f5ed57fc2 [8976] Implement CONDITION_RACE_CLASS
Condition has independent value1 (race mask) and value2 (class mask) fields and can be used with one or both.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-12 17:53:27 +01: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
2d7441b5a1 [8974] Increase z limit for at transport coordinates for bettr support big height lifts. 2009-12-12 05:41:01 +03:00
VladimirMangos
0d927f6c89 [8973] Clarify ICON_POI_* changes from 2.4.3 in comment. 2009-12-12 03:53:41 +03:00
VladimirMangos
53680ec3b6 [8972] Some hacks to our hackish IsPositiveEffect function.
In attempt improve positive spells detection.
2009-12-11 22:11:08 +03:00
tomrus88
7c6cae1af7 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/ObjectMgr.h
2009-12-11 21:50:24 +03:00
NoFantasy
fe12e08f08 [8971] Correct mangos.sql after changes to creature_template in rev 8923
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-11 19:43:15 +01:00
NoFantasy
fb6712f3a3 [8970] Implement CONDITION_AREA_FLAG
Value1 is for "include flag", Value2 for "not include flag"

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-11 18:37:57 +01:00
VladimirMangos
5e2c6e6b86 [8969] Ignore in stacking check pure dummy spells.
One more hacks to SpellMgr::IsNoStackSpellDueToSpell
This fix for example 53601 with 20911 stacking.
2009-12-11 15:25:29 +03:00
NoFantasy
f0e7f01a7b [8968] Implement gossip menu options for GameObject
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-11 11:08:27 +01:00
Sarjuuk
25688fc8eb [8967] Fixed division by zero in Unit::CalcAbsorbResist.
This also fix spell 31662 work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-11 02:33:31 +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
a2bb655501 [8965] Implement quit command for close RA connection.
World only in RA comandline.
2009-12-10 19:20:59 +03:00
VladimirMangos
b6cd243cef [8964] Return in TeleportToHomebind return result from TeleportTo 2009-12-10 12:31:20 +03:00
VladimirMangos
ed7d561597 [8963] Make bindpoint field private and add required functions for use. 2009-12-10 12:22:17 +03:00
NoFantasy
4a2dc2438c [8962] Check player class instead of just active pet for gossip stable option
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-10 01:53:59 +01:00
VladimirMangos
6f083e0c31 [8961] Prevent crash in Aura::HandleAddModifier for far group member 2009-12-10 01:07:33 +03:00
balrok
ba835f1d30 [8960] fix crash introduced with 8805
or actualy i didn't introduce a new crash there.. the old crash
just changed a bit..
after we force the player to logout without valid mapcoords the player wasn't in
world anymore and through that Getplayer()->GetMap()->RemoveFromWorld()
caused a crash..

i changed now the error handling inside farteleport there.. instead of forcing
a logout without saving, i just port him to his homebind
which will be much nicer

(minor cleanup with the other homebind teleportation.. we don't need to check
for the error there.. homebind realy should be a valid coord)
2009-12-09 22:57:28 +01: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
qsa
aad9e12a70 [8958] Inlcude 15407 and ranks damage in talent 15286 affect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 21:26:21 +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
NoFantasy
d3b19f8aa4 [8955] Check gossip_menu_option table for GOSSIP_OPTION_NONE and output error if exist
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-09 12:52:17 +01:00
LordJZ
08e0658430 [8954] Implement spells 65495 and 65386.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 13:58:40 +03:00
Quriq14
8d519d7219 [8953] Apply spell mutiplier to final damage for health calculation in Spell::EffectHealthLeech.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 00:29:55 +03:00
NoFantasy
4ca8b0defc [8952] Use default gossip menu options if no options exist for "top level" menu.
Also not close gossip menu in cases where no action_menu_id is set.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-08 21:52:05 +01:00
Qowyn
d604b0a120 [8951] Fixed loading locales_gossip_menu_option.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-08 22:15:04 +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
VladimirMangos
c6bf3a2cdc [8948] Not check victim at apply SPELL_AURA_MOD_SPELL_CRIT_CHANCE_SCHOOL for ranged spells
In same way as for other cases. For consistance.
2009-12-08 21:33:13 +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
VladimirMangos
87cc1412f8 [8946] Implement talent 57499. 2009-12-08 10:48:14 +03:00
MrLama
51bdaa6b0e [8945] Update work triggered effect for 20271
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-08 09:58:19 +03:00
qsa
ffca4301d0 [8944] Use DBC data for summon effect functionality.
Also some more local fixes:
* Alow multiply same type guardians req. for some spells.
* Apply spell duration mods to summons

Many summon spells must start work.

Great work qsa! :)

Thanks The_Game_Master for updaing patch to recent sources.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 23:40:10 +03:00
Shad00w
e8b1905630 [8943] Add spell_chain data for 24604 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 22:31:42 +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
Nick Nitro
65f1d6ba14 [8941] Limit used energe as expected for spell 22568 and ranks.
Thanks also to Sarjuuk for code simplification.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 18:08:02 +03:00
VladimirMangos
1f7163f449 [8940] Make players and totems always immune to taunt. 2009-12-07 17:26:13 +03:00
Corfen
17e9cafecf [8939] Fixed talent 49200 and ranks triggered spell for arcane school.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 16:13:59 +03:00
VladimirMangos
a4c972faec [8938] Implement talent 50880 and ranks. 2009-12-07 15:45:22 +03:00
VladimirMangos
4ee8cb3504 [8937] Small lost change, just more correct code by form. 2009-12-07 14:47:24 +03:00
VladimirMangos
b0a6993031 [8936] Implement spell 48743 2009-12-07 14:12:47 +03:00
MrLama
338375c16d [8935] Implement talent 51480 and ranks buff at dispel 8050 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 23:34:33 +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
014f92870d [8933] Fxied typo in mangos.sql gossip_menu_option 2009-12-06 22:31:08 +03:00
przemratajczak
32dda71cd8 [8932] Add spell_chain data for spell 50518 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 22:28:11 +03:00
Syn
98a83f7270 [8931] Fixed typo om spell_bonus_data for spell 172
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 22:09:24 +03:00
MrLama
258e0d7389 [8930] Implement bonus periodic heal part for spell 19750 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also code ordering and cleanups.
2009-12-06 21:55:44 +03:00