Commit graph

317 commits

Author SHA1 Message Date
arrai
9af1caccd8 [7116] added support for spell 50977, still requires entry in spell_target_position for triggered spell 53822 2009-01-19 22:00:52 +01:00
VladimirMangos
e188a0a505 [7115] Sort spells by spellfamily cases for speedup most common (check fail) case. 2009-01-19 15:55:24 +03:00
VladimirMangos
9e590f7ceb [7114] Code cleanups.
Remove redundant `inline` for in-class function definitions.
Fixed float -> int implicit casts.
2009-01-19 15:13:57 +03:00
VladimirMangos
9fba64aeae [7113] Not update/store achievement progress for counter == 0 2009-01-19 13:30:18 +03:00
ApoC
be051a706c [7112] Fixed glyphs apply on character load.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-19 02:10:06 +01:00
DiSlord
17004d59d4 [7111] Fixes in Spell Effect immunes
Correct totem immunes for dot/leech/Fear/Transform auras (immune only to effect)
Correct log if all effects immuned by Effect Immune
Move check for IMMUNITY_STATE to Unit::IsImmunedToSpellEffect

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-19 02:57:50 +03:00
ApoC
d469a604eb [7110] Make some methods in BattleGroundMgr static.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:25:18 +01:00
GriffonHeart
a5e948280b [7109] Correct show percentes at DBC loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-18 23:02:53 +03:00
VladimirMangos
148b7fd3ab [7108] Allow use shift-links to creature entries (from .lookup creature) in .npc add command. 2009-01-18 22:18:34 +03:00
VladimirMangos
64073f65c0 [7107] Output skill points (current, max, perm/temp bonus) for known skill in .lookup skill. 2009-01-18 22:18:13 +03:00
ApoC
e3ccd4b4b7 [7106] Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 19:54:27 +01:00
ApoC
6428d29cd5 [7105] Compile fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 19:37:34 +01:00
ApoC
125416d242 [7104] Fixed creatures are not attacking with taunt aura.
Improved target selection if more taunt auras are on target.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 18:44:08 +01:00
arrai
383239b595 [7103] replaced wrong delete by delete[] 2009-01-18 15:07:34 +01:00
McBen
1d80a7a788 [7102] Fixed .showarea/,hodearea commands.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-18 05:07:39 +03:00
VladimirMangos
c138b5462d [7101] Fixed build at VC80/VC90 x64 with proper call getrevision.exe 2009-01-18 03:36:45 +03:00
Snow
bd30c12169 [7100] More cleanups for character_spell from outdated data.
Signed-off-by: Neo2003 <Neo2003@getmangos.com>
2009-01-18 01:51:45 +03:00
DiSlord
4add3d2128 [7099] Implement some item/enchants mods from 303:
ITEM_MOD_ATTACK_POWER
 ITEM_MOD_RANGED_ATTACK_POWER
 ITEM_MOD_FERAL_ATTACK_POWER
 ITEM_MOD_SPELL_HEALING_DONE
 ITEM_MOD_SPELL_DAMAGE_DONE
 ITEM_MOD_MANA_REGENERATION
 ITEM_MOD_SPELL_POWER

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-18 01:34:50 +03:00
arrai
cfde5746cb [7098] Changed build system of contrib/extractor to CMake 2009-01-17 20:53:51 +01:00
DiSlord
a9476381bc [7097] Fix some triggers changed on client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:04:22 +03:00
VladimirMangos
333395f90a [7096] Fixed unexpected expirience gain in starting zones for expansion 1 races. 2009-01-17 19:39:50 +03:00
KiriX
778d4f9741 [7095] Experience basic gain coefficient for expansion 2 zones.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-17 17:22:31 +03:00
arrai
2cfebd6a57 [7094] Implemented spell interrupt flag 0x10 2009-01-17 02:37:44 +01:00
VladimirMangos
a1e0900d37 [7093] Speedup spell learning code. 2009-01-17 00:23:48 +03:00
DiSlord
014ab283dd [7092] Work vs XP per level data
Add new table "player_xp_for_level" for this
Fill table data 1-79 level
Remove old code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-16 01:00:41 +03:00
DiSlord
7cded2ed9c [7091] Work vs spell attributes (compare 303 and 308)
Add some comments
Use correct flag for SPELL_ATTR_EX_NO_INITIAL_AGGRO

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-15 21:31:10 +03:00
delavega
b7d11eb418 [7090] Crash fix CMSG_REQUEST_ACCOUNT_DATA in case empty data string.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-15 03:13:41 +03:00
VladimirMangos
633cad5a56 [7089] Implement ITEM_ENCHANTMENT_TYPE_USE_SPELL support.
This allow cast spells at item used from engineering recipes 54999, 54736, 54998, 55002, 55016, 54793.
2009-01-15 03:08:45 +03:00
arrai
b19c0da601 [7088] Cleaned up Player::m_isunderwater, fixed a bug which caused SPELL_AURA_WATER_BREATHING to prevent lava damage 2009-01-15 00:42:12 +01:00
VladimirMangos
c7a5537bac [7087] Use signed type as expected for item material field. This also fix -1 value output for it.
Also disable Class/Subclass item_template check by dbc data for avoid unexpected log spam (dbc have some wrong values for this fields).
2009-01-15 00:12:48 +03:00
DiSlord
1b7b00a1f5 [7086] Revert (remove not need code) from last commit (not need apply/remove racial passive aura)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 23:09:14 +03:00
DiSlord
31722c1c0c [7085] Restore work 12975 after client switch, patch by MaS0n
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:49:37 +03:00
NoFantasy
f876d66d74 [7084] Fix 2.4.3->3.0.3 item conversion for gem sockets problems.
This is avoid problem only for not converted items at conversion.
Fix can't be applied to already converted DB. Near to impossible sort items
in already converted DB to converted (and required fix) and newly created (and corrupted by fix).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-14 13:04:01 +03:00
VladimirMangos
950df723d7 [7083] Implement support for cast-spells in trainer lists for riding also. 2009-01-14 02:41:19 +03:00
DiSlord
7b6b0bb816 [7082] Implement paladin 53407, 20271, 53408
Remove dead code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 02:00:21 +03:00
VladimirMangos
d3615532b5 [7081] Fix comments in recent added code. 2009-01-14 00:33:03 +03:00
VladimirMangos
d53b43024a [7080] More item_template data checks at loading.
Not all checks can be 100% correct result possible. Plerase, report proved wrong output and this checks part will disabled.
2009-01-14 00:29:32 +03:00
ApoC
e8d32763a6 [7079] Redundant sSpellStore looking removed.
Removed not used variable in for cycle.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-13 21:34:38 +01:00
DiSlord
08864a7288 [7078] Restore work rogue 14185 after client switch
Add data to proc table
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 22:04:55 +03:00
VladimirMangos
5b50e2f9e8 [7077] Implement support castable trainer spells for profession ranks. 2009-01-13 21:09:43 +03:00
DiSlord
fa9daa3fb7 [7076] Implement shaman 60103 dummy
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 01:17:40 +03:00
VladimirMangos
aff0fa1489 [7075] Remove outdated original spells from character_spell. Update spell_learn_spell for one from original spells. 2009-01-13 01:02:22 +03:00
Seize
f1b8c677fc [7074] Update playercreateinfo_spell for old classes.
Signed-off-by: Neo2003 <Neo2003@getmangos.com>
2009-01-13 00:52:37 +03:00
DiSlord
bdac9e6e8f [7073] Better detect hunter aspect/tracker spells (also fix it)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-12 21:29:53 +03:00
VladimirMangos
16dc210e24 [7072] Fixed typo in prev commit. :/ 2009-01-12 02:02:55 +03:00
VladimirMangos
76f7a25f2d [7071] Fixed recent problem with pacified aura for druids with flight forms. Cleanups code. 2009-01-12 01:50:03 +03:00
VladimirMangos
8b87829099 [7070] Use IsInWorld() check instead explcit loading args in spell learning code. Learn default spells at loading also.
At player loading known spells (full list) send to client at adding player to map,
so !IsInWorld() is most correct way check when spell learn packets not need send and wait seniding full spell list.
2009-01-12 01:15:01 +03:00
arrai
22db1a3d39 [7069] Implemented dismantling, engineer version of skinning 2009-01-11 20:58:23 +01:00
DiSlord
dd2a59f56d [7068] Use area aura duration for apply aura on unit in area
Allow remove SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE spells by 31224

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-11 21:15:45 +03:00
VladimirMangos
f956a3bf10 [7067] Move inactive form/stance passive spells from playercreateinfo_spell to spell_learn_spell with active field.
This let have in `playercreateinfo_spell` only expected at character creating spells for simplify updating.
2009-01-11 02:09:03 +03:00