VladimirMangos
249fb836ca
[11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
...
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.
Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
VladimirMangos
ef6a48fe03
[11465] non-ObjectGuid guids in random places.
...
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
2011-05-10 21:27:49 +04:00
VladimirMangos
44f2c26389
[11459] More ObjectGuid using in Aura/SpellAuraHolder code.
...
Also fix build in PetAI code. Thanks to rsa for fix code.
2011-05-09 23:17:39 +04:00
stfxpi
956d27a266
[11353] Implement spell 46939
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 18:42:27 +04:00
VladimirMangos
b442332403
[11267] Restore itemset 647 4p bonus affect work.
2011-03-20 07:16:25 +03:00
VladimirMangos
52c6d0ef24
[11266] Fixed work glyph 41108 (typo in spell id)
2011-03-20 05:12:27 +03:00
zergtmn
d1370941ca
[11208] Restore cooldown marker work for talent 56342 and ranks
2011-02-28 00:09:40 +05:00
Neveragain
bef47ce126
[11205] Implement talent 48492 and ranks.
...
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2011-02-27 15:24:47 +01:00
zergtmn
26dc35f356
[11082] Correct meaning of two threat/aggro related spell attributes
...
- SPELL_ATTR_EX_NO_INITIAL_AGGRO renamed to SPELL_ATTR_EX_NO_THREAT
- SPELL_ATTR_EX3_UNK17 renamed to SPELL_ATTR_EX3_NO_INITIAL_AGGRO
- Remove custom spell modifier from talent 30675 and ranks handler
2011-01-29 21:57:40 +05:00
michalpolko
1b1a7ebd24
[11021] Damage buff apply for spell 57934
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 12:58:36 +03:00
pasdVn
f9a6513d38
[11013] Implemented spell 34026 and bonus to it from talent 35029 and ranks
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-15 21:17:13 +03:00
VladimirMangos
6a8af38e68
[11002] Implement 8 pieces effect of itemset 204.
2011-01-13 10:50:33 +03:00
VladimirMangos
b7f4a41fcd
[10998] Re-write work proc of stackable spells with charges in more simple way
...
Some spells have procCharges > 0 and in same time maxStack > 1. It's support has been implemented more year ago
but current way work with single aura from stack remove at proc always made some spells work wrongly
(7 spells (with ranks) in 3.3.5a). In fact only 3 spell (with ranks) need this "one from stack" way and
all form its have similarity: Its apply max stack from start and decrease stacks at proc hit.
Another prove for correctness this way: in 2.x exist single spell with charges and maxstack that expect full aura stack remove.
So implemented opposition way: normal aura proc remove always full aura holder stack.
Special 3 cases have overwrite code for work with stack in correct for its way.
Fixed work:
* items 31857 and 50259
* recipe 46027 effects.
* talent 63730 and ranks
Affected by code changes talents 51528 and 55166 tested and work.
Spell 34026 use similar decrease stack at hit but req. independent patch for full implemention, so not work.
2011-01-11 05:15:51 +03:00
NoFantasy
b3076146fc
[10958] Rename function to CanUseEquippedWeapon
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-04 10:29:04 +01:00
QAston
4fe41fb335
[10957] Implement auras SPELL_AURA_MOD_DISARM_OFFHAND (254) and SPELL_AURA_MOD_DISARM_RANGED (278).
...
Thanks to Qsa prepare for mangos.
Note: single unsure case: is block chance must be show or set to 0 in shield disarm time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-04 06:42:35 +03:00
VladimirMangos
bf0ecf6e71
[10947] Update copyright notice for 2011 year.
2011-01-01 20:33:43 +03:00
zergtmn
ec6089bbd8
[10935] Move script calls to ScriptMgr
...
- Script library presence is now optional.
- Some script hooks have new names. Scripting libraries need to be adjusted accordingly.
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-29 21:48:06 +05:00
Den
07172bc5ae
[10883] Implement item 49982, 50641 equip effect
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-17 16:13:15 +03:00
VladimirMangos
9b3535f803
[10864] Implement itemsets 881, 882 at heal/damage target effect.
2010-12-12 11:19:50 +03:00
michalpolko
4686f905ac
[10843] Fix AuraType 138 to not affect ranged haste, and rename to SPELL_AURA_MOD_MELEE_HASTE.
...
Also type 192 had misleading name, rename to SPELL_AURA_MOD_MELEE_RANGED_HASTE.
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2010-12-09 02:18:53 +01:00
VladimirMangos
4c02094737
[10834] Cleanup shapeshift form code.
2010-12-07 14:41:59 +03:00
VladimirMangos
3c0b80dada
[10814] Convert to ObjectGuid aura cast item guid access function.
2010-12-02 08:12:15 +03:00
VladimirMangos
de13dbea37
[10763] Move comments at 61 line, no functional changes.
2010-11-21 02:44:45 +03:00
VladimirMangos
12b80fec68
[10747] Some other aura caster object guid use cases.
2010-11-19 18:36:43 +03:00
tomrus88
76dfdd336f
Backports from 400 branch.
2010-11-15 18:01:45 +03:00
VladimirMangos
10d3d3ce24
[10692] Fixed some GCC warnings and code errors.
...
Thanks to freghar for provide cleaned list of warning messages.
2010-11-07 21:30:55 +03:00
Ceris
ee1b18cd20
[10669] Fixed mana amount for overheal case for talent 31785 and ranks.
...
Also thanks to Wojta for patch code improvements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 09:07:01 +03:00
VladimirMangos
c955941b55
[10627] Use ObjectGuid for player's selection and unit's target
2010-10-20 08:19:48 +04:00
Lynx3d
02e16ffd34
[10543] Fix handling of spell 14157 and 14189 so they really apply combo points after current spell finished.
...
Also spell 70802 from new item set needs same treatment.
2010-09-26 16:53:54 +02:00
VladimirMangos
f0956e258c
[10484] Use for auraholde/aura GetStackAmount uint32 result.
...
uint32 result used in most expressions for stack calculation/compare
Alos uint8implicitly casted to int by C++ in expressions that generate unexpected
signed/unsigned warnings in comparisons (uint8 +1) > uint32 and similar.
2010-09-14 21:30:42 +04:00
VladimirMangos
6af66f1ae4
[10478] Implement item 49623 visual effects.
...
Original patch provided by Darkruler.
2010-09-13 02:12:06 +04:00
tester20tester20 tester20
7785daf2f9
[10467] Implement proper triggering for spell 34477, 57934
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also fixed charges amount (1) for main spell auras.
2010-09-11 02:31:46 +04:00
zergtmn
7092137ead
[10456] Implement 60764
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-09-08 11:36:22 +03:00
dpedroia15
326fff975b
[10454] Fix 54821 proc
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-09-08 11:25:48 +03:00
Danstahr
a95f275aad
[10440] Implement spell 55680
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-09-04 15:50:18 +03:00
porteyoplait
355336f812
[10434] Add missing braces - should fix 51664 and ranks
...
Signed-off-by: Laise <fenrisse@gmail.com>
2010-09-02 16:43:32 +03:00
dpedroia15
64fe2cf3ed
[10351] For item 50351 and 50706 fixed work in case no offhand weapon.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-12 05:59:58 +04:00
VladimirMangos
017d7c7160
[10349] Implement work item 50351 and 50706.
2010-08-12 04:02:26 +04:00
VladimirMangos
4f19017872
[10300] Fixed some strange GetAura arg values.
2010-07-31 21:46:24 +04:00
NoFantasy
25d9fd265b
[10293] Correct a not exitan...non-existin... a word that is often spelled wrong
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-07-30 18:26:08 +02:00
Lynx3d
a4a6a7a609
[10237] Implement additional damage proc on hit for Spell 8024 and ranks.
2010-07-21 03:19:52 +02:00
Laise
d8c1374fcd
[10232] Fix mechanic-related check, thanks to VladimirMangos
2010-07-20 13:20:35 +03:00
VladimirMangos
093db9c033
[10223] Implement spell 44572 affect to permament stun immuned targets.
...
This also fix unexpected triggering effect any unrelated spell casts.
2010-07-19 06:53:01 +04:00
Laise
5a1a40719c
[10219] Fix spell 36032 stacking and procs
2010-07-18 20:02:13 +03:00
Laise
f37c73e255
[10211] Fix aura procs for spells with auras that can't trigger
2010-07-17 21:32:05 +03:00
Laise
ae51168ffc
[10199] Fix 33763 and ranks final heal and mana return on dispel and on expire
2010-07-16 21:35:00 +03:00
Laise
6c8967ae5f
[10181] Fix spell 55681. Thanks Danstahr.
2010-07-12 11:00:44 +03:00
Laise
a4c197681b
[10159] clean-up after recent changes
2010-07-08 13:30:08 +03:00
VladimirMangos
cec6063933
[10158] Fixed 2 format args errors in debug output.
2010-07-07 21:43:41 +04:00
Laise
a32b3063a2
[10156] Add shared object for auras of same spell and move spell proc code to its own file, also spread procs by auras and effect indexes.
2010-07-07 19:08:26 +03:00