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
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
7cd3fa8680
Rename some UnitFlags
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-15 19:55:26 +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
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
950df723d7
[7083] Implement support for cast-spells in trainer lists for riding also.
2009-01-14 02:41:19 +03:00
VladimirMangos
5b50e2f9e8
[7077] Implement support castable trainer spells for profession ranks.
2009-01-13 21:09:43 +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
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
VladimirMangos
e1a4ad241d
[7059] Drop spell slot fields as unused for characters and pets.
...
Also temporary fix spell slot setting in 7047_01_characters_character_spell.sql
2009-01-09 22:31:06 +03:00
DiSlord
71b33ca2f1
[7056] Proc system add
...
Add use autorepeat flag and set more corect triggers flag for ranged autorepeat spells
Restore work paladin 20210 and ranks after client switch
Add 6-7 scripted paladin shock spell (also add it in dummy and fix flag)
Hidden cooldown and hacky (need more fixes in triggers) fix for 33953
Remove not used code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 00:59:28 +03:00
VladimirMangos
7bae367084
[7039] Implement mangosd.conf options Death.Bones.* for disable bones creating from corpse in world zones or in arena/bg.
...
Note: in case apply insignia bones still created as required for looting.
2009-01-06 14:49:36 +03:00
VladimirMangos
1c5456324a
[7038] Fixing known taxi node save in 3.0.3. Cleanup code.
2009-01-06 14:13:05 +03:00
DiSlord
daf24ce90c
[7029] Some work vs aura charges
...
Move to protected: need use SetAuraCharges, GetAuraCharges, DropAuraCharge
Now m_procCharges == 0 if infinite charges, and > 0 for limit
Remove not need UpdateAuraCharges()
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 04:16:53 +03:00
GriffonHeart
5332b4496d
[7026] Current arena season id and state send and setting in mangosd.conf.
...
Also classes and DB data for new batlegrounds/arena.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-05 02:20:58 +03:00
VladimirMangos
977cb3f8d4
[7020] Initilize glyph order at loading/reset.
...
This must fix problems with glyph use for old(converted) characters.
Thanks to GriffonHeart for porblem research.
2009-01-04 18:43:11 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
VladimirMangos
ee505ec9da
[7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
...
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
arrai
88208bc9a7
[7010] Teleport players to the entrance of instances if they are in reset ones at login
2009-01-03 01:10:31 +01:00
VladimirMangos
4dbb744af4
[7006] Implement area limitations for spell 51721 (and auto apply for this in area) and 54055.
2009-01-02 19:32:36 +03:00
VladimirMangos
bd4fc1b0ae
[7005] Request Area/Zone Ids using 3D coordinates.
...
.map files not have 3D specifci area infor. So use hack way for update areaflag for some cases (areas 4281, 4342)
where exist area dependent auras.
2009-01-02 19:30:43 +03:00
GriffonHeart
2441c2a69f
[6997] Fixed: In 3.0.3 spell data have area group id instead area id.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-01 22:43:08 +03:00
VladimirMangos
18fb4db8f2
[6993] Fixing FFA PvP player flags for 3.0.3
2008-12-31 14:11:05 +03:00
VladimirMangos
695a630cf3
[6992] More strong checking to prevent stacking passive auras. This fix unexpected statking 16252 and ranks.
...
Also this checking will prevent staking talent ranks if it will casted at character by some reason in any cases.
TODO: non-talent passive spells like 16252 or 31785 with ranks still as before
not reapplied in lesser rank form if higher rank unlearned. But this possible only at .unlearn command use
and required re-loginning for activation lesser rank spell.
2008-12-31 12:40:47 +03:00
yad02
2b7004a0ab
[6986] Remove outdated for 3.0.3 area mount limitation.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-30 18:45:34 +03:00
DiSlord
53127cd6d9
[6966] Fix bug adding XP in DK trigger aura
...
Use MaNGOS::XP::GetGrayLevel for honor target gray level
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 23:32:26 +03:00
False.Genesis
c1c6f770ed
[6962] Update sanctuary flag.
...
This also will fixed opposition players allways unattackable state.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 06:51:49 +03:00
hunuza
70c7dda068
[6959] Merge some queries on item load.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-28 00:38:38 +01:00
DiSlord
fd5a994659
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-28 00:41:47 +03:00
invliD
6bdeeed92b
[6957] Restore build after [6955].
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-27 23:50:51 +03:00
hunuza
b17b4c9fd8
[6955] Introduce new function Player::LeaveAllArenaTeams and use it on player delete.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-27 17:07:37 +01:00
DiSlord
bae58eb069
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-23 18:03:21 +03:00
arrai
513255585f
[6933] Fixed resurrected players being attacked by creatures near their corpse although they were revived in a safe distance
2008-12-23 15:18:29 +01:00
Wyk3d
f4ce2f6e9d
[6930] Added more error output on ArenaTeam load errors.
2008-12-23 00:53:39 +02:00
DasBlub
03c71517ec
prevent crashes in Player::_LoadArenaTeamInfo()
...
(cherry picked from commit 9f908e877d054ff9ab973082d631bb7199f292f6)
Signed-off-by: Wyk3d <Wyk3d@getmangos.com>
2008-12-23 00:51:24 +02:00
DiSlord
cd6717316e
[6929] Apply new formula (from 3.0.3) for block value calculation
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 01:41:32 +03:00
VladimirMangos
1f73468131
Small code cleanups.
2008-12-22 09:36:57 +03:00
DiSlord
18eeaa85dd
Implement 220 SPELL_AURA_MOD_RATING_FROM_STAT aura
...
Recalculate Melee/Ranged/Spell Hit Chances (not apply/remove) for players
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-21 05:20:09 +03:00
VladimirMangos
c1ae939fb1
Implement new mangos.conf setting HeroicCharactersPerRealm for set cstiom (default 1) amount heroic class chanarcters for account per realm.
...
Note: set option to 0 disable heroic characters creating.
Also non-player account not have now any limits (except 10 clinet limit) for heroic characters creating.
2008-12-21 04:40:40 +03:00
tomrus88
4c258e20a1
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
2008-12-19 17:30:26 +03:00
DiSlord
684c386f3a
[6918] Not use enchant m_amount as spell basepoint by default (only for random enchants)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-19 03:10:25 +03:00
DiSlord
28d2d45a46
[6917] Fix field multiplier ad load Arena Info. patch from killdozer.
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-18 14:30:58 +03:00
VladimirMangos
fc684dc737
Simplify check in reagent cheking code. Small code cleanups after recent commit.
2008-12-16 19:19:31 +03:00
DiSlord
f1cc9dc319
* Add some aura names and comments
...
* Implement 256 SPELL_AURA_NO_REAGENT_USE aura
* Move no reagent check to Player::CanNoReagentCast
* Add some func for get/check SpellClassMask (used in some new aura/effect)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 18:24:30 +03:00
tomrus88
71b1065c8b
Merge branch 'master' into 303
...
Conflicts:
src/game/CharacterHandler.cpp
src/game/Chat.h
src/game/Player.h
src/game/World.h
src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00