Commit graph

4950 commits

Author SHA1 Message Date
Neo2003
e512fc9081 [11399] Make CMake a bit more usefull for Win/MSVC
Also make the -DPREFIX work on Win/MSVC

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2011-04-26 18:48:46 +02:00
unknown
82367bbdea [11398] Get rid of 2 useless timers and drop a problematic diff in session update
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr)>
2011-04-26 18:39:04 +02:00
VladimirMangos
66598c8815 [11397] Prevent happens one from cases "alive ghost" state.
Sometime levelup possible for dead player, prevent reset health in this case.
2011-04-26 04:48:15 +04:00
TOM_RUS
66ba7d2c49 [11396] Auction: server side sorting and get all auctions feature. 2011-04-26 04:05:23 +04:00
DasBlub
0f7aaa865a [11395] minor code cleanup for spell 26275 2011-04-24 23:09:33 +02:00
DasBlub
dd0b464a87 [11394] the spell ids 26275 and 38358 were out of order in the switch(). moved them to the correct place.
thanks to vladimir for pointing out!
2011-04-24 23:05:49 +02:00
Schmoozerd
25fc13f64c [11393] add whitespace rules to .gitattributes
Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-04-24 22:56:01 +02:00
megamage
119d7d9f48 [11392] implement spell 38358 which casts 38353
Original patch created by megamage, modified by stfx and Schmoozerd. Thanks!

Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-04-24 22:33:08 +02:00
TOM_RUS
e39a8b55a0 [11391] Auction: multi sell, sale pending list and other fixes. 2011-04-24 21:57:49 +04:00
Lynx3d
23a861e4a6 [11390] Fully fix equipment set save...hopefully. 2011-04-23 08:21:17 +02:00
zergtmn
a030d46ef0 [11389] Fix mangos.sql after [11385] 2011-04-21 19:19:25 +06:00
SilverIce
eb678ce092 [11388] Don't add MOVEFLAG_ROOT in case creature has no moving state
need unroot unit before move or not use that flag at all
2011-04-21 15:00:38 +03:00
NoFantasy
c4f2b30205 [11387] Add dummy and script effect of spell 45958 and dummy aura of spell 45963
Thanks dpedroia15 for parts of 45958.
Note: spell 45958 may be processed further with DB table spell_scripts.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-20 23:41:00 +02:00
zergtmn
84482b81ac [11386] Revert small unexpected change -_- 2011-04-21 00:24:29 +06:00
zergtmn
2835aa5f20 [11385] Add support for static vehicle spawns
Signed-off-by: zergtmn <zerg@myisp.com>
2011-04-20 23:23:47 +06:00
SilverIce
75e1e7c3a3 [11384] Use SPLINEFLAG_FLYING for flying creatures, SPLINEFLAG_UNKNOWN7 is never used. Simplify Map::CreatureCellRelocation code 2011-04-20 02:55:30 +03:00
zergtmn
3f70b461e6 [11382] Fix no-pch compile 2011-04-19 22:32:41 +06:00
zergtmn
55709e265e [11381] Add methods GetDisplayId/SetDisplayId for gameobjects
Useful for GO type 33
2011-04-19 17:01:59 +06:00
SilverIce
820a3c0eff [11380] Research dynamicobject types, added DynamicObjectType enum 2011-04-19 11:22:35 +03:00
dpedroia15
3bf9a5c35b [11379] Add script effect of spell 24714 and improve related 24751
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-19 08:45:30 +02:00
dpedroia15
849528ebad [11378] Add script effect of spell 26004
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-19 08:14:20 +02:00
NoFantasy
dad07abcb2 [11377] Some additional comments in relation to spell 45713
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-18 10:23:12 +02:00
Schmoozerd
5895cb38e3 [11376] Allow fallback to creature_template_addon of base entry
Use creature_template_addon from base entry when addon for difficulty_entry_N does not exist.
It is easier to create data for the exceptions rather than the general.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-17 13:31:21 +02:00
VladimirMangos
c6dee6c2d6 [11375] Move holder-wide code from effect loop in immune cast checks. 2011-04-17 06:37:49 +04:00
VladimirMangos
79cd96af8a [11374] Another fix for Spell::EffectPersistentAA
If we use affected caster for dynamic object then we must use it for spellmods apply also.
2011-04-17 05:21:36 +04:00
VladimirMangos
5fae870a1d [11373] Clarify Spell::GetAffectiveCaster result and add comment for recent added call case. 2011-04-17 04:56:54 +04:00
DasBlub
7b2308e483 [11372] Convert tabs to 4 spaces
Thanks to Darkknight900 for pointing out!

Used this script on sql/ and src/: find . -iname *.h -o -iname *.cpp -o -iname *.inc -o -iname *.sql | xargs sed -i 's/\t/    /g'
2011-04-17 01:34:51 +02:00
NoFantasy
187a1916e3 [11371] Drop not needed MAX_CONDITION define
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-16 23:41:23 +02:00
NoFantasy
b39877f24a [11370] Implement CONDITION_LEARNABLE_ABILITY, check by spell and optionally item
The primary use are intended for items that teach spell, typically for primary/secondary tradeskills.

Condition is true when player does not know the spell already, has the needed corresponding skill (and skill level) and does not have the item already (when item is defined).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-16 23:26:15 +02:00
zergtmn
85e7bbaad5 [11369] Restore visuals for infinitely channeled spells
Thx Schmoozerd for pointing problem and testing.
2011-04-17 00:02:03 +06:00
Ambal
5a22b8c6dd [11368] small code refactoring: use container typedefs instead of direct container declarations to simplify code.
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-16 13:42:40 +03:00
michalpolko
4b7dffcc09 [11367] Check for SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE when checking school immunity 2011-04-16 11:49:26 +03:00
Schmoozerd
dbcca634e8 [11366] Fix wrong faction-based targeting of DynamicObject's auras 2011-04-16 10:46:14 +03:00
darkstalker
070af93262 [11365] Implement SPELL_ATTR_EX3_CANT_MISS attribute. Should fix alot of 'too-often-missing' spells 2011-04-16 10:23:48 +03:00
VladimirMangos
cdf449cc0a [11364] One more ArenaTeam::GetMaxMembersSize use case. 2011-04-16 02:25:55 +04:00
VladimirMangos
f00d902333 [11363] Small fix for SpellRadiusEntry after recent dbc structure cleanups. 2011-04-16 02:08:50 +04:00
VladimirMangos
6c22335e9a [11362] Really reset UNIT_DYNAMIC_FLAGS at player death 2011-04-15 18:43:18 +04:00
VladimirMangos
bacb39a724 [11361] Add and use max arena team size function instead direct code. 2011-04-15 18:40:43 +04:00
breakwater
b9240d04e3 [11360] Reapply persistent aura at return to affected range.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-15 17:37:14 +04:00
caeruleaus
4a1e9b7d5b [11359] Fixed typo in recent arenatype enum related changes comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-15 16:08:13 +04:00
NoFantasy
1523cf5ae3 [11358] Add script effect of spell 45713
DB devs should note the special design for this spell, as it will set proper model for creatures when used from *_addon tables. See code comments.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-15 12:28:21 +02:00
NoFantasy
2c09c11091 [11357] Replace some 0-values with UNIT_DYNFLAG_NONE
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-15 11:07:55 +02:00
NoFantasy
520f420aed [11356] Some cleanup of JUST_ALIVED for creature and add comments.
Also restore npcflags after LoadCreatureAddon.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-15 11:00:58 +02:00
VladimirMangos
adcb84a325 [11355] Use ArenaType enum instead raw values
* Drop duplicate ArenaTeamTypes
* Use enum type where appropriate
* More strict check integrity arena team data at loading.
2011-04-15 03:19:12 +04:00
VladimirMangos
6f8aa617d0 [11354] Resolve porblems with Pet regeneration timer conflict with Creature version.
* Creature regeneration code moved to new virtual function RegenerateAll
* Pet instead direct call own regeneration code overwrite now RegenerateAll

Big thanks to Vladskywolf for problem research and original patch version.
2011-04-15 02:15:29 +04:00
stfxpi
956d27a266 [11353] Implement spell 46939
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 18:42:27 +04:00
BThallid
919ab70452 [11352] Send SMSG_NEW_WORLD after teleport destination set.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 17:53:47 +04:00
VladimirMangos
e605b203e2 [11351] Calculate avg. personal rating in more correct way. 2011-04-14 15:44:25 +04:00
VladimirMangos
0912c17cee [11350] Revert "[11349] Instead group online players use arena team full list for claculate avg. personal rating."
This reverts commit aae93a675ca4dc4a936a1f90ad4a67f91161f697.
2011-04-14 15:43:47 +04:00
VladimirMangos
9c34efec41 [11349] Instead group online players use arena team full list for claculate avg. personal rating. 2011-04-14 05:14:42 +04:00