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
DiSlord
c9ae3b8b5c
Apply diminishing only on 1 spell aura add/begin timing only on last spell aura removed
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-19 02:49:47 +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
ApoC
5d63453deb
BattleGroundMgr::RemoveBattleGround inlined.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:14:07 +01:00
ApoC
aa2a454ca1
Little clean up in BattleGroundMgr.h
...
Changed uint64 in method parameters to be passed by const reference.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:14:07 +01:00
ApoC
c4dba30b51
Use configuration values for arena directly instead of values cached in local variables. This should fix reloading arena configuration in runtime.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-18 21:14:06 +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
DiSlord
39754133aa
Code for Diminishing Returns optimize
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-18 21:08:28 +03: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
DiSlord
c01fe58723
Implement some dummy triggers
...
Warior 42770, 58872 and ranks
Warlock 47230 and ranks, for 39372 use m_amount instead hardcoded value
Rogue 51669 and ranks, 51625 and ranks
Hunter:
53290 and ranks (need handle regen amount for 57669)
56342 and ranks (from periodic)
53228 and ranks (only mana regen part)
Shaman:
58877 (aura should on summoned wolf)
51556 and ranks (need handle dummy for 52759)
16180 and ranks, 51525 and ranks
Death Knight 50365 and 50371, 48979 and ranks, 49005, 61257, 49217
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:36 +03:00
DiSlord
a17dd3c0a0
Fix one palain seal damage calculation (remove dead code)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:31 +03:00
DiSlord
2cd801a9ef
Prevent (in some cases) remove aura state flag if exist similar aura.
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:26 +03:00
DiSlord
17e2bcc81d
Enable triger from rogue poisons (need for some talents)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:22 +03:00
DiSlord
7e6f7bf6e4
Fix/prevent cast if client send incorrect target for some spells
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:19 +03:00
DiSlord
9f08095c26
Allow stack passive and not passive auras in all cases
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:12 +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
VladimirMangos
ed14e59de4
Fixed typo in log output and misc code cleanups.
2009-01-16 18:11:58 +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
DiSlord
7cd3fa8680
Rename some UnitFlags
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-15 19:55:26 +03:00
DiSlord
d6c58df0e6
Allow use .modify bit on units
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-15 19:54:54 +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
VladimirMangos
c0824b35c6
Fix item Unk0 field type as expected signed and related log output.
...
Also restore item class check at server loading but not subclass check. Problems only with subclass check case.
2009-01-15 03:08:25 +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
arrai
022e7ad2b5
Removed Unit::waterbreath. This information is not needed for creatures and can be obtained for players by Unit::HasAuraType(SPELL_AURA_WATER_BREATHING) in constant time
2009-01-15 00:17:02 +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
DiSlord
09659a0377
Implement paladin 53601 dummy proc
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:48:45 +03:00
DiSlord
c38db592ba
Fix Night Elf race ability on stealth path by Kirix
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:48:36 +03:00
DiSlord
b64ce9ea34
Fix pladin some abiblty - patch by Kirix
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:48:26 +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