Commit graph

2365 commits

Author SHA1 Message Date
VladimirMangos
71f8f1b5a1 [9015] Fixed spell 34914 ranks dispel damage and spell 29722 and ranks bonus damage.
In both cases not expected additional spell damage bonus apply.
2009-12-17 22:11:42 +03:00
VladimirMangos
27f37ba4dc [9014] Fixed unexpected error output for "unused" db_script_string.
When it reallt used in `gossip_scripts`.
2009-12-17 16:54:02 +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
7c4acf31e2 [9012] fix crash when achievement is completed and player isn't in world
also don't divide money loot for players who are not inside the
same map..
and player shouldn't be able to reclaim his corpse if it isn't in same map

and some other related cleanups
2009-12-17 14:02:48 +01:00
VladimirMangos
6057be2656 [9011] Drop unused enum. 2009-12-17 15:32:49 +03:00
Laizerox
022524c1bb [9010] Implement realmd support realms for different client versions
* Supported 1.12.1, 1.12.2, 2.4.3, 3.2.2a in same time as relams in same realmlist
* mangosd by self check correct for it client build and reject all incorrect cases
* realmd know from mangosd what builds supported each realm and
  if realm not support it then in relamlist for specific client this relam show as offline.
  Not need any manual settings for this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-17 03:40:29 +03:00
Arthorius
41b0b88674 [9009] More fixes in pet action bar buttons swap.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-16 23:18:10 +03: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
jorooo
4b8664ab5a [9007] Set internal cooldowns for trinkets and some other items/spells.
Including items: 27683, 28418, 30619, 30626, 43134, 38579, 38212, 40767,
                 37559, 40865, 38071, 38072, 43462, 43470, 43573, 43829,
		 28190, 49076, 40682, 28034, 37220, 37390, 37064, 44308,
		 37660, 37264, 39229, 37657, 40258, 40382, 41385, 43838.

Also included data prepared by co-authors: Sephiroth1983, nos4r2zod, Sarjuuk, oc_redfox, Alez.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-16 21:29:48 +03: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
laise
7ee3d3a22c [9005] Add internal cooldown for item 40373 effect.
Thanks to Splinter for cleanup query.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-16 17:32:56 +03:00
Splinter
ffd713cc55 [9004] Drop dead code case
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-16 17:11:01 +03:00
VladimirMangos
3226d35f03 [9003] Revert "[9000] Reset time in more proper way."
This reverts commit 8e8f7710e8baf29196256c6e0afcce1b7d3f3671.

Main reason: unexpected work in debug with breakpoints.
Also have other reports with strange effects.
2009-12-16 16:38:00 +03:00
VladimirMangos
a204201e81 [9002] Make 8923_01_mangos_gossip.sql more propertly work
if rename target table exist by some reason.
2009-12-16 16:09:58 +03:00
Splinter
11f0086b77 [9001] Add internal cooldown for for item 42987 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-16 15:55:22 +03:00
SilverIce
716aad6aaa [9000] Reset time in more proper way.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-16 14:15:13 +03:00
VladimirMangos
562ad128d3 [8999] Make creature wild summoned by item 49040
This make it usable by other players, not only owner.
Also sort summon types by value in switch.
2009-12-16 13:59:06 +03:00
NoFantasy
03c65f5a75 [8998] Allow pet guid to have gossip options like creature guid.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-16 11:12:09 +01:00
VladimirMangos
e17d3043ea [8997] Implement SUMMON_PROP_TYPE_REPAIR_BOT(12) support
Used only for item 49040 summon. Need DB support for proper work summoned creature.
2009-12-16 01:28:21 +03:00
VladimirMangos
457807eb80 [8996] Implement 2 items effect from itemsets 803/-33
Original patch provided by Splinter.
2009-12-16 00:51:32 +03:00
Splinter
7ce03aaf51 [8995] Overwrite wrong proc flags for glyph 43539 triggering.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-15 23:13:43 +03:00
VladimirMangos
be79375b56 [8994] Re-implement remove auras from channeled target
* Old way have problem with auras that have last tick avent at one from caster/target:
  depndent from auras update order in caster/target pair ti can wrongly not triggered.
* Fxied possible problem with remove same spell non-caster auras at target/caster at spell cast cancel
* Also fix memory lost in old deleted auras cleanup.
2009-12-15 18:50:45 +03:00
Lynx3d
e0d8c8fcd8 [8993] Fixed spell family mask 53817 one more time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-14 18:42:48 +03:00
pasdVn
a108dc0d39 [8992] Fixed spell proc data for
* 19184 and ranks
* 53290 and ranks
* 34506 and ranks
* 35100 and ranks
* 46913 and ranks
* 51521 and ranks (use cooldown for prevent triggred spells proccessing)
* also 34457, 20784

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-14 17:34:43 +03:00
VladimirMangos
2defba515e [8991] Merge 2 switch in Unit::HandleProcTriggerSpell 2009-12-14 17:06:40 +03:00
NoFantasy
98dd3296e8 [8990] Correctly return DEFAULT_GOSSIP_MESSAGE and never 0 as gossipTextId
Fixes problem with summoned and gossip and where no textId is defined in database

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-14 10:45:54 +01:00
NoFantasy
1eafc8dfc4 [8989] Clean up parts of WaypointMovementGen code for better readability
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-14 09:31:00 +01:00
VladimirMangos
1057f6fd28 [8988] Overwrite default wrong class family mask for spell 53817. 2009-12-14 09:51:13 +03:00
Arthorius
4e55757a94 [8987] Allow swap spell and command/reaction in pet action bar.
* Also prevent command/action drop from action bar
* Pet action bar will recetn at this revision use single time for all pets.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-13 23:04:12 +03:00
darkstalker
b59052ab42 [8986] Implement resilience on periodic crits
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-13 22:30:20 +03:00
Ebrithil
cbb5143348 [8985] Remove morph from spells including aura SPELL_AURA_MOD_PACIFY_SILENCE
This fix at damage transformation remove for spell 51514/47585 and ranks.

Thanks to KAPATEJIb for prepare compatible version for current sources.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-13 21:23:57 +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
NeatElves
807cd94166 [8981] Re-apply sql update from [8211] that not included in mangos.sql in past.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-12 23:45:22 +03:00
The_Game_Master
432944fd75 [8980] Avvoid apply spell bonuses to glyph 42408 heal amount.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-12 23:35:16 +03:00
VladimirMangos
b109d0886a [8979] Remove unexpected added lines in prev. commit. 2009-12-12 22:28:32 +03:00
VladimirMangos
1d608c482f [8978] Fix wrongly apply weapon damage mods to broken weapon. 2009-12-12 21:12:43 +03:00
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
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