Commit graph

746 commits

Author SHA1 Message Date
VladimirMangos
233e75ab4b [9415] Dome not catched cases for MAX_EFFECT_INDEX use. 2010-02-19 19:57:07 +03:00
VladimirMangos
84080aaf60 [9411] More SpellEffectIndex using in apropriate cases 2010-02-19 06:45:11 +03:00
VladimirMangos
ff8d494ed4 [9408] Add MAX_EFFECT_INDEX to enum SpellEffectIndex and use it. 2010-02-18 23:33:16 +03:00
VladimirMangos
e74f62ea31 [9404] Fixed glyph apply with with specs.
This resolve problem when glyph rejetect applied
at some spec if it applied already at another spec.
2010-02-18 00:59:11 +03:00
NoFantasy
7c555add76 [9403] Replace number with enum name where explicitly used in array/other checks
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-17 19:07:00 +01:00
VladimirMangos
d20e50a8e5 [9398] Some config enmus fixes. 2010-02-16 16:08:16 +03:00
VladimirMangos
f9db93e78b [9397] Fixed unexpected rounding in healamount = healamount * int32(TakenTotalMod); 2010-02-16 00:28:12 +03:00
hunuza
462117198e [9390] Remove unneeded mail related queries on character load.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-15 15:31:21 +01:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
AlexDereka
5368751c13 [9386] Store some config values in Rate emun. 2010-02-15 00:17:44 +03:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00
VladimirMangos
9509b11f38 [9378] Not report action button porblems at spec activation.
Action bar copied at spec creating and base at fact that talents not copied
possible cases when action bars not apporpriate for created spec.
So let its drop silencely
2010-02-14 15:58:37 +03:00
hunuza
282e0fd8aa Add possibility for second glyph set.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-14 12:26:47 +01:00
VladimirMangos
268bb3221b [9362] Make specs work at least for action bars
* Propertly add/remove required for specs work spells at 63624/63651.
* Copy current spec action bars to new spec at specs count increase, and delete action bars data at spec count decrease.
* Avoid undexpected action button data test for not active spec at loading/copy, but test action buttons data at spec activation.
* Reset active spec to default if active spec removed.
* Remove talent reset at spec switch that useless at this moment.
  Also note that for future case this also can be not correct and batter unlearn/learn only talents that different in specs.

After this changes specs must fully work in action bar part without unexpected another effects.
2010-02-12 09:29:50 +03:00
EnderGT
230bc2b49e [9359] Load/save current active spec and total spec count.
Still needed for complete dual spec:
* support for second glyph set
* implement gossip options
* support for second talent set

Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-11 20:53:15 +01:00
tomrus88
2151704669 [9358] Not use PLAYER_FIELD_ARENA_TEAM_INFO_1_1 directly. 2010-02-11 19:30:44 +03:00
hunuza
0f7f7c5ada [9354] Add spell efffects for dual spec.
Actual dual spec still not implemented.

Credits to EnderGT for original patch.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-10 20:54:45 +01:00
tomrus88
1aa6c8eac9 Simplify code. 2010-02-10 21:14:04 +03:00
AlexDereka
df457c3ff5 [9352] Remove unused varibles 2010-02-10 20:59:29 +03:00
hunuza
acf507fd5a [9349] Add posssibility for one action button set per talent spec. 2010-02-10 18:00:30 +01:00
LordJZ
c49771337c [9341] Fixed loading chosen player title 2010-02-09 14:37:13 +01:00
VladimirMangos
c9c578b5c3 [9339] Use group ids for indexing groups in DB
* Use group ids in DB
* Pack used group ids at server startup
* Finaly drop group search by leader guid.
2010-02-09 14:36:20 +03:00
NoFantasy
8465d95d9f [9331] Implement DB storage of new quest fields RewRepValueIdN
Value can be -9 to 9. Value point to actual rewarded value in dbc store.
This id can then fully replace current use of RewRepValueN, as this field will most likely be reserved for custom reputation rewards (override RewRepValueId).
Old system/DB data will still work like normal, but be aware this may change in not too far away future.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-08 23:41:34 +01:00
AlexDereka
696cba9c37 [9330] Fixed msvc compile warnings. 2010-02-08 16:27:35 +03:00
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +03:00
tomrus88
db547a008a Get rid of monster movement flags, since it's really spline flags.
Thanks to Ralek for research.
2010-02-07 15:03:36 +03:00
NoFantasy
883bdbf799 [9312] Implement DB storage of new quest_template field RewHonorMultiplier
Also rename an existing field to RewHonorAddition.
Note: calculation of real reward must be corrected accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-06 12:17:42 +01:00
Daveh
cb33736a5a [9308] Fix SMSG_CHAR_ENUM opcode
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-05 01:34:51 +01:00
laise
aac24092c2 [9306] Implement glyph 43385.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-05 00:18:06 +03:00
reno138
f157b101fb [9294] Fixed typo in function name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-03 22:43:22 +03:00
VladimirMangos
1f1f414d76 [9287] Prevent weapon skill grow at player's pet hit. 2010-02-03 00:00:00 +03:00
tomrus88
b85417df73 Movement packets cleanup. 2010-02-01 17:03:04 +03:00
VladimirMangos
904995c024 [9274] Implement SPELL_EFFECT_SUMMON_ALL_TOTEMS
This implement work spells 66842, 66843, 66844.

Patch originall writed by Arthorius, with additional fixes from darkstalker
and hack removes from me.
2010-01-31 18:40:59 +03:00
NoFantasy
bfa86a0d4d [9270] Send pointOfInterest (if exist) to client before sending gossip menu.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-30 15:10:28 +01:00
NoFantasy
13dee34689 [9267] Correct mixed up typeid check for gossip scripts
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-30 11:56:05 +01:00
XTZGZoReX
ceefebf187 [9264] Fix build. Add ITEM_MOD_FERAL_ATTACK_POWER to deprecated list. 2010-01-29 19:52:11 +01:00
VladimirMangos
e3978a908c [9252] Fixed crash in result typo in arena points loading.
Also small cleanups in PLAYER_FIELD_WATCHED_FACTION_INDEX use.
2010-01-24 19:51:59 +03:00
hunuza
aa14f45e60 [9246] Move more values from data to own fields.
Now possible (need recheck) glyphs still used form `data`.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 17:03:54 +03:00
XTZGZoReX
0ff9250de2 [9245] Remove CellLock class and all cell-level thread locking.
* It was wasting CPU power as cell-level locking is not needed.
* Future multithreading will be on map-level.
* CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
* Some minor cleanup in Cell::Visit/Map::Visit.
2010-01-23 21:36:15 +01:00
zhenya
4178d5bb6a [9228] Speedup groups store and other code work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-21 17:43:27 +03:00
VladimirMangos
4995a6d298 [9227] More wide check item looting state at item operations.
Move some checks from packet handlers to Player::Can functions

Patch base at idea suggested originally by zhenya.
2010-01-21 11:35:03 +03:00
VladimirMangos
0a1ed5813a [9223] Implement possibility have 2 weapon by rogue at start. 2010-01-20 14:01:41 +03:00
LordJZ
0375c89347 [9221] Implement minimal area team size for some items arena rating requirements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 11:43:11 +03:00
NoFantasy
cc5ed7a48b [9214] Add helper function StoreNewItemInInventorySlot
Mainly function for script side store new item, but may also be used to simplify similar task in code.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-19 15:01:42 +01:00
VladimirMangos
cc062f16ac [9187] Fixed problem with non-attackable pes/totems at arenas
... and other FFA areas. Problem is result chnages in related flags work after old 3.x switch.

* Added high-level functions for FFAPvP state set for unit
* Apply FFA PvP to all controlled units also at set, and at summon/load
2010-01-16 05:41:42 +03:00
VladimirMangos
6704929d56 [9186] Templated functions for apply some code to all controlled units.
Also fix some related problems with not updates totems/etc
2010-01-16 04:41:44 +03:00
VladimirMangos
7272b52daf [9185] Auto-leave player at login back to bg/arena when bg/arena finished. 2010-01-16 03:13:26 +03:00
VladimirMangos
1def2a0977 [9173] Remove character_queststatus_daily data at character delete.
Data deleted anyway at next daily status update so just more early and expected cleanup.
2010-01-14 08:10:15 +03:00
VladimirMangos
324772283f [9144] Propertly update combat ratings fields.
* Implemented proper combat rating fields update like other stats fields.
  This will prevent reset combat ratings at .reset stats for example.
* Skill loading moved after InitStatsForLevel for prevent reset fields setup
  as part of aura apply from skill set triggered spell casts.
  This fix for example talent 53125 work (combat rating set at skill loading)
2010-01-11 05:03:54 +03:00
VladimirMangos
6769171a1d [9142] Move start outfit items check to server loading.
Also drop one not needed now hack.
2010-01-11 01:18:08 +03:00