Commit graph

5375 commits

Author SHA1 Message Date
VladimirMangos
d8a3f4b925 [11674] Fixed names of pets summoned by npc.
* Add check to make sure that creature controlled pet use default name from template.
* Add localization support to pet name query for above pets type.
2011-06-25 20:45:48 +04:00
Den
adcae44c9a [11673] Fixed spellfamily mask for glyph 45735 triggering.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-25 06:31:51 +04:00
Den
7dfeddbdef [11672] Implement glyph 42414.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-25 06:22:34 +04:00
Den
d395df0d06 [11671] Druid t8 Restoration 4p bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-25 05:35:12 +04:00
VladimirMangos
04a469f393 [11670] Implement in proper way ITEM_SPELLTRIGGER_ON_STORE (5)
Item spells with this trigger mode expected casted at item add
to inventory/equip slots (exclude bank), and spell auras (if any)
applied while item in like slots. Item expected destroyed at aura
remove by some reason.

Implementation note: because 2 step way item moves from slot to slot
related auras not removed at internal RemoveItem call and removed only
at directly item destroy/remove from player function calles, or at StoreItem
(if item added to not appropriate slot). So need in future careful with new
RemoveItem call cases.
2011-06-24 22:55:58 +04:00
VladimirMangos
3f840222ee [11669] Remove script use with EventAI check.
It's not problem if script not have own AI part.
2011-06-24 17:07:53 +04:00
NeatElves
362f7fb820 [11668] drop redundand line from prev. commit
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-06-24 15:36:52 +03:00
SilverIce
f99fcb1b92 [11667] Implement transport path rotation
Transport rotation transforms transport path - this makes possible to have few transports with same entry but with modified paths.
This also solvers problems with some transports (like deeprun tram).
TODO: some transports has non standart rotations, that must be stored in db

Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-06-24 14:28:08 +03:00
Warlord123
85a13fcc33 [11666] Warrior T10 Protection 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-24 05:53:52 +04:00
Amaru
405eb1f02a [11665] Mage T10 2P Bonus trigger only at proc charges aura remove.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-24 05:13:06 +04:00
KiriX
f42b8c388a [11664] Spell 12298 and ranks must triggering also at parry/dodge.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-24 05:00:08 +04:00
VladimirMangos
9620e01157 [11663] Check at EventAI scripts load diff reqs for event ai real call
* Script existence <-> `creature_template`.`AIName`="EventAI"
* In strict DB check mode: script existence conflict with setting `creature_template`.`ScriptName`
2011-06-24 03:31:30 +04:00
VladimirMangos
0413ff9c34 [11662] Spell 37433 targeting only non-swiming players.
Original patch provided by anti-freak.
2011-06-22 18:23:28 +04:00
Azelen
245f79dc6b [11661] Set cooldowns and spell school masks for some trinket spell procs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-22 00:59:30 +04:00
VladimirMangos
5cf1a1a6b5 [11660] Fixed glyph 43427 apply.
Now must affect targets amount only for ability main spell.
2011-06-21 23:47:34 +04:00
VladimirMangos
15bb164d72 [11659] Rewrite object pos selector.
* Instead coordinates use angle projections to expected pos distance circle.
  This let do mostly only angle comparison and then speedup checks.
* Fixed some long existed bugs in algo and simplify code. Possible more work need.
2011-06-21 22:33:33 +04:00
VladimirMangos
e776dbbfc8 [11658] Revert "[11298] NearUsedPosDo searcher should add only units with correct coordinates. Possibly can help with freezes when 'DetectPosCollision = 1'."
This reverts commit a79ca96e4ae7b6ab1b70319e8b3011253068c841.

This restore work object pos selector for units.
Reverted commit make fully disabled it work for multiply attackers case.
2011-06-20 22:51:41 +04:00
VladimirMangos
3bea0ec357 [11657] Daily/weekly quests must still reward expirience/max level money at repeating. 2011-06-19 22:11:45 +04:00
mumion
328a62f18f [11656] For not first repeating quest avoid reward money as xp replacement.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-19 21:51:32 +04:00
zergtmn
ba7ce1d7c3 [11655] Add script effect of spell 62678 and 62688
Target 91 may require further adjustments.
2011-06-19 22:00:41 +06:00
zergtmn
0ebfe92e41 [11654] Implement periodic dummy aura 62566 2011-06-19 21:49:57 +06:00
zergtmn
83de12fa75 [11653] Add script effect of spells 62521, 62524 and 62525 2011-06-19 21:21:17 +06:00
elecyb
2776f55d7a [11652] Diminishing returns for some paladin abilities.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-19 06:08:53 +04:00
DaC
248bfd2a81 [11651] Not alow show arena statistics before arena end. 2011-06-19 05:18:59 +04:00
VladimirMangos
45292a9d56 [11650] Group members see same group member ghosts.
Also drop battleground case that just same check in fact.

Original patch and research provided by Den.
2011-06-19 04:00:51 +04:00
Den
17b7e3b32c [11649] Make visible final duration of talent 31221 and ranks effect. 2011-06-19 03:32:32 +04:00
Den
f1fcefce4f [11648] Breath/fatigue/fire damage timers tick each 2 sec. 2011-06-19 02:46:09 +04:00
VladimirMangos
fc88429972 [11647] Implement glyph 43427. 2011-06-19 01:52:56 +04:00
cmaranec
2d7768a5ab [11646] Implement support item converting at expire
Example: items 44623->44625->44627 convertion chain

* New table `item_enchantment_template` store original->final item pairs
  Original item must have duration setup.
* Small change in GetItemConvert for consistence (now 0 returned if no convert pair instead original entry id)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-18 21:15:20 +04:00
VladimirMangos
a97370a7f0 [11645] Fixed work EffectSummonChangeItem, for example, for item. 17223
Also
* Move item comvert code from spell effect to new function.
* Some code style cleanups.
2011-06-18 21:09:42 +04:00
DaC
92e0b5941f [11644] Sets rage to zero and energie to 100% when entering battleground and arena
Move related code to Aura::HandleArenaPreparation (un-)apply code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-18 20:34:44 +04:00
SeTM
9300842b04 [11643] Restore skill/level checks at traning non-prof spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-18 17:11:11 +04:00
VladimirMangos
74e7d5ddcd [11642] Fixed some added in prev commit warnings. 2011-06-18 06:07:55 +04:00
DaC
1a25a19309 [11641] Arenapoint Distribution Time can shift every week ~5 min.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-18 04:31:48 +04:00
VladimirMangos
4bedd22a3f [11640] Implement TradeSkill.GMIgnore.* config options
Options let set GM level that allow ignore at training level/skill/maxprofs
Mostly for allow avoid use commands when need learn prof ranks.
2011-06-18 04:06:44 +04:00
zergtmn
479cfcf84a [11639] Limit spells 74410 and 74411 only to bg and arenas 2011-06-18 01:37:33 +06:00
zergtmn
b4ec3f3fd9 [11638] Implement additional damage on expire 29865 and 55053 auras 2011-06-18 01:10:04 +06:00
zergtmn
5776c09ad8 [11637] Implement 10% healing reduction on BGs and arenas 2011-06-18 00:08:39 +06:00
zergtmn
75c4578be8 [11636] Add two missing initial world states 2011-06-17 23:29:03 +06:00
VladimirMangos
f7e3b33eaf [11635] Revert "[11615] Apply normal stealth at expire spell 1856 and ranks"
This reverts commit 1c0bd32c22b7d0116fab8d32b3b7e4f92c039b38.

Thanks to SeT for providing proves for commit wrong way work.
2011-06-17 21:04:59 +04:00
zergtmn
8a4230d765 [11634] Periodic damage from spell 1943 and ranks can produce critical strikes 2011-06-17 22:35:31 +06:00
zergtmn
3443a97a28 [11633] Implement function Unit::HasAffectedAura 2011-06-17 22:06:22 +06:00
zergtmn
54f623d2b8 [11632] Revert part of 11631 2011-06-17 16:27:06 +06:00
zergtmn
10865b633f [11631] Fix wrong overriding aura stack amount and proc charges at loading
Need to consider spell mods, partial dispels and etc...
2011-06-17 16:14:38 +06:00
VladimirMangos
6945d86e67 [11630] Possible fixed recent problems with build.
Removed support hash_value look like not used directly in MaNGOS
by testing diff Visual Studio versions and start create rpoblem
after recent changes.
2011-06-14 14:16:22 +04:00
DaC
7dbbd514c8 [11629] Item 8345 energy part.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-13 06:37:27 +04:00
zergtmn
d8d1988489 [11628] Add explicit to ObjectGuid(uint32 const&)
No reason have implicit wrong uses catch version when main version
of constrictor have `explicit`. This also avoid unexpected selection
catch-version with less readable error output at implicit uses.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-12 22:03:06 +04:00
VladimirMangos
6190894330 [11627] Restore spelmods apply after ClassFamilyMask commit. 2011-06-12 21:09:40 +04:00
zergtmn
38a6d24809 [11626] Fix VC100 filters for g3dlite 2011-06-12 21:10:37 +06:00
zergtmn
e91c1d07c7 [11625] Update comment 2011-06-12 00:51:39 +06:00