Commit graph

3551 commits

Author SHA1 Message Date
Trazom
a7c7de947f [8512] Implement glyph 42408.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-19 21:36:09 +04:00
Maxxie
81a4eabe34 [8511] Limit talent 57472 triggering to only spell spell 17 and ranks as expected.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-19 19:17:18 +04:00
pasdVn
b42082bc0c [8510] Fixes for healing crit calculation code
* Implement talent 63504 and ranks
* Allow work target dependent healing crit chance mods
  This let work existed code for talent 57470 and ranks

(cherry picked from commit eadc239846d6dc5db582908458421411995d7974)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also
* Drop oudated functionality code for 47558 and ranks (new functionality code already added)
2009-09-19 18:28:44 +04:00
nos4r2zod
c361b0dc0b [8509] Some absorb shield aura fixes for specific spells.
* Apply expected healing bonus to spell 53601.
* Allow stacking spell 62600 and 22842 effects at caster.
* Update charges for absorb shield with charges and preopertly expire it at last charge.
  This fix spell 62600 effect remove at next damage.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-19 16:10:10 +04:00
NoFantasy
c5684fa7ab [8508] Not assign boolean value to integer variable, expecting to always be 0.
Also renaming member variables.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-19 11:57:57 +02:00
NoFantasy
9b9873a074 [8507] Check amount of spawned pools before decrement to avoid unexpected result.
Also rename variable to more meaningful name.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-17 21:51:59 +02:00
NoFantasy
00cfea3b46 [8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-16 13:59:04 +02:00
NoFantasy
744c6eaac0 [8505] Set character spell 16857 active.
Applies to some characters upgraded from 2.x.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-16 11:05:42 +02:00
nos4r2zod
ac56f62684 [8504] Update old spell version to spell 21084 in some playercreate_* cases.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-16 12:48:34 +04:00
VladimirMangos
b8843ec4d6 [8503] Avoid classidy of seal triggred effects at targets as seal spells.
This fix problem with lost target seal buff at getting enamy seal debuff.
2009-09-16 11:55:12 +04:00
tomrus88
b493c840e1 Merge commit 'origin/master' into 320
Conflicts:
	sql/mangos.sql
2009-09-16 01:35:50 +04:00
NoFantasy
2d5b9c9efb [8502] Disable quests related to specific game events at startup if event not active.
Also rename member boolean variable.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-09-15 11:42:39 +02:00
VladimirMangos
bd254e2848 [8501] Apply code style and cleanups to some Player functions. 2009-09-15 07:00:14 +04:00
Jolan
afe5c9aef8 [8500] Fixed long existed bug with vmaps unloading.
When order of coordinates has been updated for loading case, unloading part escape fixing in past.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-15 06:58:57 +04:00
NeatElves
139bceb6a0 [8499] Add data to spell_elixir for absent 3.x elixirs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-14 23:47:53 +04:00
tomrus88
f6ac2c133f Fixed dbc fmt string. 2009-09-14 18:18:57 +04:00
tomrus88
2d86aa4535 Misc fixes. 2009-09-14 18:11:15 +04:00
tomrus88
6f2b9a7e80 Merge commit 'origin/master' into 320 2009-09-14 16:32:59 +04:00
tomrus88
19b069694d Added comment. 2009-09-14 16:32:34 +04:00
dele
c45362a9fc [8498] Implement talent 53234 and ranks.
(cherry picked from commit 510b81f53bbe59beccbc113a802b3f9b1e669e3a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-14 12:20:48 +04:00
VladimirMangos
67d4335614 [8497] Fixes in talent 53563 work and other area auras spells.
* Support mutiply beacon buffs at same target (as will be in 3.2.x) in triggering part.
* Bonus heal caster expected original paladin, and used his heal bonuses, LoS not required for bonus heal.
* Fixed bug with not apply not-caster affected area spell (hostile area spell or talent 53563)
  to another caster with same area aura active. Correctly remove only specific caster area aura at expire.
* Not show area spell icon for telent 53563 at beacon for this aura.
* Allow stacking dummy auras from diff casters, check formal aura types for effect at add aura stacking check.
  Last important for area auars that can have SPELL_AURA_NONE in modifier data instead formal effect auars at caster.
2009-09-14 08:45:43 +04:00
VladimirMangos
50d426e72c [8496] Resolve some #include cycles and unsafe code.
* Common.h  -> Threading.h ->  Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
2009-09-14 05:59:57 +04:00
Fog
b276b05363 [8495] Add absent ; in sql update that can create problems in merged sql update sequence.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-13 22:19:50 +04:00
Ambal
cd8663972e [8494] Fixed typo in MovementHandler.cpp : GetPlayer()->Relocate() function was called twice.
Thanks to Wowka321 for hint.

Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-13 20:45:51 +03:00
VladimirMangos
5fb608fec6 [8493] Avoid unexpected multiply error messages at wrong quest_template.RewSpell* 2009-09-13 20:50:35 +04:00
VladimirMangos
610703c14b [8492] Implement talent 53563.
Original patch suggested by Arthorius.
Added data in mangos_spell_check to remember requirement update code for 3.2.x support in future.
2009-09-12 11:04:03 +04:00
VladimirMangos
692f32c82a [8491] Add absent empty line to end of sql updates.
Thanks to mns for pointing to problem.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-12 04:17:25 +04:00
KAPATEJIb
e0c319ef33 [8490] Fix typo in constant name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-12 04:06:08 +04:00
SilverIce
91eb757e95 [8489] Fixed player visibility update in case view point different from player itself.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 22:37:25 +04:00
cccyril
da44f2efe7 [8488] Update and add some coeficents for spells in spell_bonus_data.
With related `spell_chain` data.

Added version is result additional fixes and improvments made by nos4r2zod.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 22:03:22 +04:00
VladimirMangos
eae9619f5b [8488] Use more readable style format for spell_bonus_data data.
No real changes in data.
2009-09-11 19:57:48 +04:00
nos4r2zod
d91f2c2c35 [8487] Fixes in paladin seals and related spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 06:08:40 +04:00
nos4r2zod
53c96fc731 [8486] Fixed work some dispel effects that have 0 dispel charges in spell data when expect 1.
This fix work totem effect 52025 in poison part and some scripted and creatures spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-11 00:08:13 +04:00
tomrus88
b96e4bfed7 Merge commit 'origin/master' into 320 2009-09-10 16:07:26 +04:00
tomrus88
3b9875db8f Updated to 10433 client build. 2009-09-10 16:07:14 +04:00
yad02
b681b4f3f3 [8485] Ignore *.sln.cache file created at use msbuild command.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 08:24:37 +04:00
pasdVn
70df7c8e91 [8484] Fix priest spell 47585
* Move precast spell and add one more to Aura boosts for proper remove at cancel.
* Check in ispositivespell as positive to allow cancel in client.

(cherry picked from commit 6566ec2bbd3654921446b6522e9800ef835ffffe)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 07:31:51 +04:00
bobaz
e170ac3c91 [8483] Implement glyph 43361.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 07:06:35 +04:00
NeatElves
b9f16d2faf New flask added in 3.2.x.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 06:04:21 +04:00
VladimirMangos
7974e1ebcb Merge branch 'master' into 320 2009-09-10 05:46:08 +04:00
burned
af4c9750e3 [8482] New flasks for 3.x added to spell_elixir.
Signoff-by: VladimirMangos <vladimir@getmangos.com>
2009-09-10 05:25:28 +04:00
unknown
7837fd93b4 [8481] Convert some detected files to unix line ends. 2009-09-10 05:11:36 +04:00
VladimirMangos
cfacd7e696 [8480] Provided real-time update for guidl ranks rights.
Specially for guild bank tab access rights (including currently open tab case!)
Send roster broadcast for all online guild memebers at any rank edit and guild bank tab buy.
2009-09-07 05:41:31 +04:00
Triply
78420246bd [8479] Fixed showing guild member's level and guild member's last online time.
Thx to Apoc for reporting bug.

Signed-off-by: Triply <triply@getmangos.com>
2009-09-06 18:47:30 +02:00
ApoC
71e736abc6 [8478] Removed dependency on getMSTime() for last mana use.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-06 01:40:22 +02:00
Trazom
dffa5d43bd [8477] Implemented "on demand" regeneration of power in Spell::CheckPower (limited to 500ms frequency).
Correctly set UNIT_FLAG2_REGENERATE_POWER to notify client to stop/start regen in bar.
thx. also for nos4r2zod

From original patch was removed usage of getMSTime() and rewrited this part.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-09-06 01:39:13 +02:00
VladimirMangos
7a2df3c309 [8476] Revert some recent cleanup changes, some other fixes and cleanups. 2009-09-05 22:09:37 +04:00
balrok
bd30769dec [8475] fixed some gcc-warnings
all warnings from Wunused
and some from Wall

cause unused may be most interesting for some:
they were in following files:
src/game/Level2.cpp
src/game/Map.cpp
src/game/SpellAuras.cpp
src/game/Unit.cpp
src/mangosd/Master.cpp
but i guess mostly someone just fogot to remove this code

for some unsigned vs signed warnings i used:
ack "for.*int .*size\(\)" | ack -v uint

also note for coding:
if you do something like
    if( a && b || c)
just place parentheses around (a && b) && always will have
precedence over || but without parentheses this could be overseen
quite fast (at least that's my guess why gcc will warn for this)

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-09-05 13:47:47 +02:00
Triply
56ddf40d62 [8474] Allow to delete BattleGround objects when any of invited players didn't click to enter battle.
Rename m_TeamScores500disadvantage to m_TeamScores500Disadvantage, and optimize its update.
Patch is tested.

Signed-off-by: Triply <triply@getmangos.com>
2009-09-05 13:31:40 +02:00
Ambal
7db230df55 [8473] Fixed a memory leak in 8441.
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-09-05 13:45:10 +03:00