Commit graph

5994 commits

Author SHA1 Message Date
Lynx3d
1ffde196ce [11620] Make equipment manager handle "ignore this slot" option properly.
Also fix SQL fields to use unsigned values as expected in code, otherwise large values will get lost.
2011-06-10 18:51:33 +02:00
VladimirMangos
de0fc143f6 [11619] Remove depricated GetGUID and forbit implicit uint64->ObjectGuid casts 2011-06-10 17:00:08 +04:00
C:/Program Files (x86)/git/dev/rsa
9ae4d59540 [11618] Fixed targets seelction for spell 48045 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-06 19:03:34 +04:00
PSZ
06a4b1af5c [11617] Make class Pet available from external libraries 2011-06-06 18:31:33 +04:00
VladimirMangos
437a7ad54c [11616] Restore itemset 632 2p bonus affect work.
One more point for restore `spell_affect` table.
2011-06-06 18:19:58 +04:00
VladimirMangos
0d9e3c8e43 [11615] Apply normal stealth at expire spell 1856 and ranks
Instead current at apply mode.
2011-06-06 17:38:05 +04:00
Feanordev
c11a2b68b7 [11614] Totem/Relic/Sigil etc swapping should tirgger GCD
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-06 15:12:55 +04:00
starik222
17bf4f884f [11613] Update coefs for spell 50288.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-06 14:52:15 +04:00
Den
2686963d6d [11612] Code style in Item.*
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-06 12:45:27 +04:00
Den
52134f1852 [11611] Implement glyph 42740
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 23:43:29 +04:00
PSZ
3a60c4ae3b [11610] Select proper spell difficulty subtitution.
Fix mostly affect cases when absent 25-man difficulties spell version.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 21:52:56 +04:00
VladimirMangos
753b0cd969 [11609] Add and use GetPrevDifficulty function.
Function return prev. difficulty in natural difficulty order for raid/dungeons/bg
2011-06-05 21:49:21 +04:00
VladimirMangos
44d168d4a3 [11608] Check correct map for enter at far teleport
Not fatal porblem, but let correctly work check for avoid teleport back at teleport fail.
2011-06-05 21:46:07 +04:00
Den
f99476cad5 [11607] Spell 46221 is debuf
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 20:16:24 +04:00
Den
b50f13ac19 [11606] Restore Mage T3 8P bonus affect work
Spell class family masks have garbage in dbc.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 19:49:25 +04:00
Den
a59dc76774 [11605] Prevent use talent 33206 in stun without glyph 45760
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 19:42:45 +04:00
Vinolentus
d99e9dc611 [11604] Drop outDebugInLine, outMenu.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 18:44:14 +04:00
Vinolentus
b68a88573f [11603] Drop sLog.outTitle.
Used hardcoded color use for title not compatible in all cases
with selected in config console colors for normal output and
with custom background can be not readbale.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 17:47:13 +04:00
VladimirMangos
0af77807c1 [11602] Fixed work of glyph 41094
Original patch provided by Den.
2011-06-05 17:30:50 +04:00
VladimirMangos
c5064a73b0 [11601] More limited way attempt fix spell 1008 and ranks 2011-06-05 15:15:02 +04:00
VladimirMangos
6833f4c564 [11600] Revert "[11577] Spell effects with IsExplicitPositiveTarget always positive."
This reverts commit bb16c4d956bff20c934b1e8207732a7268456152.
2011-06-05 13:59:30 +04:00
Den
5313954c53 [11599] Hunter T9 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-04 22:33:41 +04:00
VladimirMangos
1d2172e4c8 [11598] Rogue T8 2P Bonus 2011-06-04 20:48:30 +04:00
VladimirMangos
35bac6976c [11597] Fixed detection part triggering of spell 17767 and ranks.
Also in Unit::IsTriggeredAtSpellProcEvent allow triggering by
spell with custom flag PROC_FLAG_ON_TAKE_PERIODIC
2011-06-04 19:38:52 +04:00
C:/Program Files (x86)/git/dev/rsa
cae9e9c29f [11596] Correct some hunter spells, casted from pet.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-04 14:57:48 +04:00
KiriX
8189bda55f [11595] Classify spell 63729 as battle elixir.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-04 14:29:22 +04:00
Den
10c4da4fef [11594] Implement glyph 45747
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-04 14:15:06 +04:00
VladimirMangos
8c560ebd97 [11593] Use MAX_UNIT_STAND_STATE instead client dependent last value in enum. 2011-06-03 16:24:06 +04:00
Schmoozerd
a0852287ac [11592] More proper way exclude GO_FLAG_LOCKED | GO_FLAG_NO_INTERACT from reset in instances.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-03 12:33:56 +04:00
VladimirMangos
02cbb905fa [11591] Apply spellLevel as reqlevel for non-prof. training spell only. 2011-06-03 12:28:01 +04:00
VladimirMangos
c870ef324d [11590] Cleanups for barGoLink
* Rename barGoLink -> BarGoLink as expected by mangos code style
* Add uint32/uint6 constructor versions for BarGoLink,
  and remove lot casts required before for BarGoLink use
2011-06-03 12:02:49 +04:00
Lynx3d
6b8f9fe03d [11589] Fix compile for "old" compilers.
Need to avoid using "override" as parameter or variable name now...
2011-06-02 23:48:12 +02:00
zergtmn
f45e9ad680 [11588] Use override specifier on Update() methods
Note: override is new keyword in C++11 but VC++ already have override keyword with same behaviour long time.
GCC support explicit overrides starting at 4.7. Added workaround for GCC versions < 4.7.
2011-06-02 23:28:24 +06:00
VladimirMangos
108a167c46 [11587] Use SkillRaceClassInfo.dbc data for check spell training.
* Show race/class specific min level in trainer list (for weapon master for example)
  and use it for check spell traing possibility.
* Hide for specific race/class some spells marked by flag  ABILITY_SKILL_NONTRAINABLE
  This possible in cases when spell available for race/class but learned from talent/etc
  and then don't must be show for race/calss pair in trainer list. Single case in 3.3.5a.
* Add to code tables for profession ranks for seelct correct rank related reqlevel
  and check DB side data for it. Note: DB reqlevel values redundant for profession rank
  spells now.
* Use for reqlevel selection (if DB value not provided) learned spell insteed cast-spell
  spellLevel field. This let in more cases select training reqlevel without provided DB value.
  For LogFilter_DbStrictedCheck = 0 mode output data about like redundant reqlevel values
  in traner tables.
2011-06-02 09:55:25 +04:00
TOM_RUS
c2199e7030 Added account flags enum. 2011-06-02 05:15:14 +04:00
zergtmn
96cad8d771 [11586] Small cleanup and add missing arenas to IsArenaType 2011-06-01 18:30:28 +06:00
zergtmn
4c81559800 [11585] Add countof macro
It can be used to calculate number of elements in static array. Do not use with pointers!
2011-06-01 16:23:01 +06:00
NoFantasy
3788348b46 [11584] Add script effects of spell 48724, 48726, 48728 and 48730
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-06-01 12:12:12 +02:00
NoFantasy
dd66ce20f2 [11583] Correcting typo (damn the copy/paste)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-06-01 09:30:47 +02:00
NoFantasy
70d9d4ef24 [11582] Implement SCRIPT_COMMAND_STAND_STATE to use in *_scripts tables
Set the stand state (enum UnitStandStateType) of any Unit*

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-06-01 09:28:47 +02:00
Amaru
6dd7f784cf [11581] In IsPositiveEffect triggered case check only existed effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-01 06:38:17 +04:00
Sid
8251b3febc [11580] Redundent assigns UNIT_FIELD_FLAGS for pet
Field initilized in Pet::InitStatsForLevel.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-01 05:34:21 +04:00
VladimirMangos
6092bbf502 [11579] Grrrr.... typo prev. commit. 2011-06-01 03:39:09 +04:00
VladimirMangos
7371bb96e1 [11578] Prevent lost aura from spell applied at use equipped consumable item.
So aura will not removed at unequip like item with multiply charges,
and will not removed at last charge with item deleting in result.

No like items in 3.x known but exist in prev. client versions.
2011-06-01 02:36:17 +04:00
VladimirMangos
c462ee5834 [11577] Spell effects with IsExplicitPositiveTarget always positive.
This fix for example spell 1008 buff state.
2011-05-31 13:24:00 +04:00
Schmoozerd
9e83454a23 [11576] Call OnCreatureDeath at critters death also.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-31 05:22:21 +04:00
Schmoozerd
2d82b4bccc [11575] Add support for simulating Yells to Map.
Including case when related creature not loaded.
For proper animation yell from loaded creature for near players
better use correct lowguid/guid if creature.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-31 05:17:47 +04:00
VladimirMangos
7995a36c69 [11574] Speedup fishing loot prepare for zone == subzone case. 2011-05-31 04:04:05 +04:00
VladimirMangos
8698ac207d [11573] Add CreatureInfo::GetObjectGuid
Also remove redundent CreatureData::GetHighGuid
2011-05-31 02:48:25 +04:00
VladimirMangos
442e06090d [11572] "Apparently, SMSG_LOOT_MONEY_NOTIFY is sent after SMSG_LOOT_CLEAR_MONEY"
So what problem, fixed ;)

* Also avoid "share" if single group memeber near loot.
* Use same order of money/achievement update in single and group mode.
2011-05-31 01:44:57 +04:00