Commit graph

5375 commits

Author SHA1 Message Date
ApoC
220aa56fed [7124] Removed virtual keyworld from Map::CanUnload method. This method needn't to be virtual. Method moved all into header file to be inlined.
Fixed problem when instance never unloaded in case low population servers where update time always fit into WORLD_SLEEP_CONST and unload time is multiple of this constant.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 20:54:23 +01:00
Balrok
ce384c5278 [7123] Cleanup in using STD's containers erase method.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 20:07:44 +01:00
VladimirMangos
8171c9c61a [7122] Initilize UnitActionBarEntry fields. 2009-01-20 15:32:34 +03:00
arrai
6ef0e056b0 [7121] Fixed ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_ACHIEVEMENT 2009-01-20 01:57:15 +01:00
Wyk3d
dffdb47fb9 [7120] Revert "Reduced number of cells (doubled max visibility distance)." 2009-01-20 01:33:59 +02:00
Wyk3d
a97d49bdc5 [7119] Fixed some typos that caused a freeze 2009-01-20 00:50:04 +02:00
VladimirMangos
dab1f96f66 [7118] resolve problems with partly appied [7117] 2009-01-20 00:35:02 +03:00
VladimirMangos
ee6072f232 [7117] Implement explicit recipe discovery abilities.
* Implement SPELL_EFFECT_CREATE_ITEM_2 (157). This alos let work many item creating spells.
* Add `skill_discovery_template`.`reqClass` for allow clas specific racipes storing in table.
* Make primary key for `skill_discovery_template` pair (spellId,reqSpell) that allow have duplicate recipes for different reqSpells.
* Implement SPELL_EFFECT_SCRIPT (77) cases for explicit recipe discovery spells with learn spell selected by `skill_discovery_template` data.
Note: as expected explicit recipe discovery abilities always return some spell while exist any not learned yet for player class.
2009-01-20 00:07:43 +03:00
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