Commit graph

2359 commits

Author SHA1 Message Date
VladimirMangos
27e12424e5 [8299] Move zone update form SendInitialPacketsBeforeAddToMap to SendInitialPacketsAfterAddToMap.
This must retore correct apply zone dependent auras at far teleport and login.
Also must be restored chat channels update at far teleport.
2009-08-03 03:01:30 +04:00
nos4r2zod
39eca7d43a [8298] Use new Aura::HandleSpellSpecificBoosts for apply/remove dependent auras.
This provided more clear place where dependent auras can be applied/removed,
if expected manual apply _with_ aura remove at parent aura expire.
This can be used for more cases.

In current state it implement additional effects for
29836 and ranks, 61846 and ranks, 31869, 53379 and ranks, 20254 and ranks,
20138 an ranks, 48263, and 48265.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-03 02:27:30 +04:00
VladimirMangos
aa56961f94 [8297] Partly revert "[8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups."
Use less stricted limitations for pet out-of-combat autoucasts.
2009-08-03 00:07:05 +04:00
Lightguard
97a8114e44 [8296] Restore mana to caster instead target at specific effect of 53209.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 11:06:29 +04:00
VladimirMangos
822a34e2c7 [8295] Remove single target auras at caster/target shift to not accessable phase.
This must fix another source of "Couldn't find the caster of the single target aura" errors.
2009-08-02 10:55:41 +04:00
Necro
4841fae910 [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 09:44:48 +04:00
VladimirMangos
ebac9a23de [8293] Some progress in spell_check fill. 2009-08-02 01:39:47 +04:00
VladimirMangos
48567469e1 [8292] Fixed healing part of spell 19505 and ranks (in fact from rank 2) 2009-08-02 01:38:50 +04:00
VladimirMangos
f10653833f [8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups. 2009-08-01 23:19:59 +04:00
Lightguard
f27a29faef [8290] Fixed pet action bar lost at pet revive.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 21:48:50 +04:00
Derex
7af48902f1 [8289] Fixed build problem with some old mysql versions at Unix/Linux.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 21:19:45 +04:00
VladimirMangos
3150ae9cbc [8288] Add table base addition reqs for achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL
This prevent not proper finish some achievments added in 3.1.x
2009-08-01 20:01:51 +04:00
KAPATEJIb
cdf895d134 [8287] Allow caster targeting in target selection for 52759 and buf from 51556 and rabks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 19:15:06 +04:00
redcore
cc20be1012 [8286] Correctly show talent points after talents reset at login by "at login" flag.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 15:09:52 +04:00
Prince
efa741a5cb [8285] Don't show creatures as lootable that have no loot.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-01 10:05:01 +02:00
VladimirMangos
47f96447b8 [8284] Use BuyCound instead Stackable for seelction original items amount for new character. 2009-07-31 18:04:29 +04:00
VladimirMangos
3fc547e6e6 [8283] Implement 3.x way work for double damage from 35290 and ranks 2009-07-31 17:09:54 +04:00
VladimirMangos
c7f8c9b52b Avoid target requirement checks for spells with caster base target selection (self,pet,around).
This fix cast fail for some spells, mostly triggered or scripted with unexpected prowided explicit tatrget different from caster.
2009-07-31 17:08:47 +04:00
NoFantasy
8e6386aac0 [8282] Correct typo in SetStoppedByPlayer() and it's related.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-31 12:54:44 +02:00
NoFantasy
a56f9ea6de [8281] Add spellId to error output in UnregisterSingleCastAura().
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-31 12:23:43 +02:00
Ambal
253d39de21 [8280] Avoid grid loading loading at packet broadcasts.
If player in range then related grid loaded, if not loaded then player
not in range and no reason for loading.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-30 18:17:09 +04:00
nos4r2zod
93b0ccfe0b [8279] Fixed hunter aspets, paladin auras and DK presence detection for SpellSpecific.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-30 14:06:39 +04:00
VladimirMangos
67b52a2294 [8278] Update packet size checks in WorldSocket::HandleAuthSession to 3.x state. 2009-07-30 12:46:20 +04:00
Gendalph
ae61c1eec0 [8277] Add new line at the end of some .cpp to make gcc happy
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-29 18:34:37 +04:00
VladimirMangos
9002710c93 [8276] Implement achievment ACHIEVEMENT_CRITERIA_TYPE_WIN_BG
* including new achievement createria data type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE

Note: Some achivement creteria for success need data in `achievement_criteria_data`
2009-07-29 17:29:10 +04:00
freghar
571f94b36a [8275] Remove unneeded static linkage in src/game/
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-29 14:50:51 +02:00
balrok
d8c1e3991f [8274] use virtual m_TeamScore for battlegrounds
score is used in every battleground (not arena)
so we can use it as a virtual variable to access
it also from BattleGround-class

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-29 14:45:45 +02:00
tomrus88
7c52111fb1 Fixed /played chat command.
(cherry picked from commit 3e49bbe692ea5f44ea2daffdfe970a7201d501f5)

Conflicts:

	src/game/MiscHandler.cpp
	src/game/SharedDefines.h
	src/game/UpdateFields.h
	src/realmd/AuthCodes.h
2009-07-29 15:14:23 +04:00
NoFantasy
cac822949f [8273] Use UNIT_STAT_ROAMING for PointMovement generator.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-29 12:39:14 +02:00
Sorya
7f38da23fd [8272] Fixed typos in world 'height' by code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also some other code style fixes.
2009-07-29 10:04:53 +04:00
Ebrithil
707c9f315d [8271] Fix: SQL typo in [8269]
Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 22:54:02 +02:00
fgenesis
46c314814c [8270] Fixed problem with Alt+F4 in instances.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-28 22:44:48 +02:00
balrok
0513e5cf06 [8269] added "m_" prefix to ArenaTeam classmember-variables
used this script + some manual edit
(i couldn't get out, how to handle comments)
function replace()
{
        sed -ri 's/([^a-zA-Z0-9_])'$1'([^a-zA-Z0-9_])/\1'$2'\2/g' ArenaTeam.*
}
replace Id m_TeamId
replace Type m_Type
replace Name m_Name
replace CaptainGuid m_CaptainGuid
replace BackgroundColor m_BackgroundColor
replace EmblemStyle m_EmblemStyle
replace EmblemColor m_EmblemColor
replace BorderStyle m_BorderStyle
replace BorderColor m_BorderColor
replace members m_members
replace stats m_stats

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 18:28:33 +02:00
XTZGZoReX
79d1c3fe6f [8268] ArenaTeam: new rating-system for season 6
every team will start with 0 rating here

to enable this you have to set your season in the config-file

thanks to danielich for initial patch

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 18:27:05 +02:00
balrok
3557b00a13 [8267] ArenaTeam: added check, that teamrating won't become negative
for this i added a FinishGame(mod) function
which also updates other stats, to avoid
redundant code

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 17:10:12 +02:00
VladimirMangos
8d7f6e5e0a [8266] Move percent spells with flat energize effect spells to effect code.
* This is fix talent 51521 and ranks.
* And replace hardcoded percent for talent 31876 and ranks.
2009-07-28 16:53:55 +04:00
Lutik
f0a878bf1e [8265] Add boss spells 64422 and 64688 to divided damage spells list.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 14:29:14 +04:00
Lutik
48eb01666d [8264] Implement target mode 104 (forward 30 degries cone)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 14:14:05 +04:00
Neveragain
ee2fcde901 [8263] Implement talent 48411 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 13:22:40 +04:00
tomrus88
786e48cdba [8262] Fixed work /played client chat command.
Thanks to The_Game_Maste for prepering patch for master branch.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 01:03:59 +04:00
VladimirMangos
8720687bdb [8261] Skip not in world targets in same way as not existed targets.
This solve some crash possabilites after GetMap patch.
2009-07-27 22:20:47 +04:00
nos4r2zod
38326edb12 [8260] Fixed energize anount for spell 63375
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-27 19:44:49 +02:00
Infinity
68c86d0480 [8259] Move functions code from ChannelMgr.h to ChannelMgr.cpp.
Also cleanups in #includes and singleton instantiate.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-27 18:53:20 +04:00
Infinity
ae8712e61b [8258] Replace redundent PQuery uses by Query in EventAI code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-27 17:55:01 +04:00
Astellar
793ce2259a [8257] Avoid remove daze and croud control spells except polymorph at druid form change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-27 16:39:57 +04:00
VladimirMangos
c547a27dad [8256] Restore DB script loading broken after [8252].
Also propetly decrease scheduled DB script actions at map unloading.
Some code style restore.
2009-07-27 11:31:53 +04:00
freghar
c3d26f6fa2 [8255] Makefile.am cleanup, comments + indent
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-27 03:35:53 +02:00
Alez
a4baef0c47 [8254] Internal cooldowns for some item effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add lost chain data part to mangos.sql from prev. commit.
2009-07-26 20:49:09 +04:00
Den
110ff906e8 [8253] Some spell proc fixes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 20:33:31 +04:00
Ambal
64f11bedf7 [8252] Move DB scripting code from global World to Map.
This one more step to pre-map events proccesing and parallel in future.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-26 12:20:59 +04:00