Commit graph

5324 commits

Author SHA1 Message Date
laise
96fbeab3e9 [9133] Fixes in talent 11129 work.
* Restore after client switch talent triggering.
* Propertly remove triggred auras stack or main spell aura at expire/cancel.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-10 00:45:29 +03:00
tomrus88
a8b04f09e0 Compile fix. 2010-01-09 21:47:16 +03:00
VladimirMangos
1da5166c3c [9132] Fixed crash at loading from player_classlevelstats level 0 data.
Added check that prevent loading data for unexpected level 0.
2010-01-09 21:12:52 +03:00
tomrus88
aa668bc66f Merge remote branch 'origin/master' into 330 2010-01-09 21:05:45 +03:00
tomrus88
e117f521e8 Some enum fixes. 2010-01-09 21:05:34 +03:00
VladimirMangos
51cb5b356a [9131] Use more generic check for IsLootCraftingSpell
This include spell 69412 to autoloot generation spells.
2010-01-09 18:31:29 +03:00
yad02
c04ef475fe characters.data convertor 3.2.2a -> 3.3.0a
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-09 07:36:44 +03:00
VladimirMangos
89939fe7b3 Fixed mangos.sql data for branch and partly related code.
* Drop outdated data for 1535 (old totem summon, now instant area cast)
  Still need implement new way work.
* Restore work broken in branch glyph 45785 with updated functionality,
2010-01-09 06:58:50 +03:00
VladimirMangos
57f495de35 [9130] Implement spell 48603 script effect.
Also apply some ordering to existed spell cases code.
2010-01-09 05:07:25 +03:00
VladimirMangos
63709fdc49 Use PVPDificulty.dbc for bg/arena bracket selection (levels and difficulty) 2010-01-09 03:36:27 +03:00
VladimirMangos
75c81894b2 Merge branch 'master' into 330 2010-01-09 00:53:31 +03:00
VladimirMangos
3e3c090348 [9129] Rename BG/arena queue_id to bracket_id and related functions/etc
This is more consistent to wide used terms

Also some other cleanups.
2010-01-08 22:40:34 +03:00
X-Savior
5febd55024 [9128] Updated doc/EventAI.txt version.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-08 20:43:42 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03:00
ApoC
6311b73413 [9127] Allow use delayed forced despawn also in EAI.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-01-08 03:11:19 +01:00
NoFantasy
72c00883e2 [9126] Correct makefile copyright notice year, again
Blame the tools! :D
2010-01-08 01:53:44 +01:00
frcoun
352c3811b2 [9125] Add dummy effect of spell 46167
SQL update included to ensure proper work (if database has existing data)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-08 00:20:38 +01:00
yad02
1e23c2c576 [9124] Fixed typo in README.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-08 01:24:32 +03:00
VladimirMangos
4b28513b57 [9123] One lost cases in year update 2010-01-08 01:12:58 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
frcoun
147c250a56 [9121] Implement dummy effects for spell 50926,51026,51592 and 51961
Note: Some adjustments in addition to original patch, using delay despawn.
Also provide sql update for proper work of affected spells (if already exist in database).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 21:34:43 +01:00
NoFantasy
9c48e32bb7 [9120] Implement option to use delay in ForcedDespawn for creature
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 20:19:38 +01:00
GriffonHeart
a2e92cdb4e [9119] Add achievement creteria requirements for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET*
Most ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET and ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET2
not need any additional requirements (so just ACHIEVEMENT_CRITERIA_REQUIRE_NONE(0) in DB) but some
need map difficualty checks and some ACHIEVEMENT_CRITERIA_REQUIRE_INSTANCE_SCRIPT also.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-07 20:33:08 +03:00
GriffonHeart
0b3cf7883e [9118] Fixed problem with not set AchievementCriteriaRequirementSet::criteria_id
This important for support ACHIEVEMENT_CRITERIA_REQUIRE_INSTANCE_SCRIPT

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-07 20:05:58 +03:00
NoFantasy
17c0ea7020 [9117] Add dummy effect at aura removal for spell 32286
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 16:17:31 +01:00
VladimirMangos
aaa5cba89c [9116] Lost break/return in CONDITION_LEVEL cases. 2010-01-07 16:57:40 +03:00
X-Savior
3b203196e8 [9115] Fix typo in error output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-07 15:11:56 +03:00
Nihilus
337c2c584b [9114] Limit maxTargets for spell 28542 and 55665
Also add missing comment for target exclusion

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-06 20:12:32 +01:00
NoFantasy
7e1d55c38e [9113] Add helper functions to set/getSummonLocation
This should help the poor homeless that does not have a database defined home at evade (such as "wild summon" without owner).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-05 19:56:22 +01:00
Forusim
9bc219a312 [9112] Limit maxTargets for spell 42005
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-05 02:38:57 +01:00
NoFantasy
effe02fb25 [9111] Implement ConditionType CONDITION_LEVEL for PlayerCondition
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-05 01:59:14 +01:00
NoFantasy
644cdf70d3 [9110] Some cosmetic cleanup in random movement code.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-04 02:43:16 +01:00
NoFantasy
9ad15e8da2 [9109] Removing the option for run chance from generic random movement generator
Npcs with random movement in general do not behave like this, and movement that fits the pattern of a mixed movement run/walk must be made instead if needed.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-04 02:27:24 +01:00
NoFantasy
e34f136314 [9108] Adjust max nextMoveTime to 10000+totalTravelTime for random movement
This is apparently closer to how the world should look like, which is still of course a best guesstimate.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-03 19:11:26 +01:00
DasBlub
ebb063beb9 [9107] Fix most of the gcc warnings
* use UI64FMTD instead of "%u" for uint64 output
* on most *NIX systems, I64FMT is "%016lX" and not "%016llX"
* also fix typo: renamed GridMap::loadHeihgtData to GridMap::loadHeightData

Note: there are still many warnings from the 3rd party libraries g3dlite and ACE. Those warnings won't be fixed with that commit.
Also, a few warnings from MaNGOS are left, they'll be fixed later.

Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-01-03 15:30:22 +01:00
NoFantasy
e568293d2c [9106] Add script effect for spell 47097
Also add areaflag hack to detect correct areaId

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-03 03:37:02 +01:00
NoFantasy
80b9e58106 [9105] Add missing argument in error message, _LoadSkills()
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-02 19:10:33 +01:00
VladimirMangos
e8e5bbddea [9104] Avoid send reset warning to map/difficulty cases without fixed reset time. 2010-01-02 20:49:53 +03:00
VladimirMangos
aa372cbfda [9103] Make gcc happy with muti-byte char casts and use more readable magic strings. 2010-01-02 20:46:22 +03:00
VladimirMangos
7496a6b91b [9102] Use FillRaidOrPartyHealthPriorityTargets for 34861 and ranks. 2010-01-02 19:20:06 +03:00
NoFantasy
1ec90288fb [9101] Correct target mode 48, and rename to something more meaningful
Also adjust target 49/50 angles to be really left/right.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-02 14:50:39 +01:00
wilibald09
b9fd5f4311 [9100] Set MaxTargets limit for spell 31347
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 21:41:53 +01:00
NoFantasy
ed0f04bce4 [9099] Implement periodic dummy aura for spell 55592
Also correct second cast, expected for spell 53520

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 21:26:57 +01:00
VladimirMangos
c09ee423ba [9098] More correct targets selection for target pairs with TARGET_SELF2
* Many spell effects that have A target mode SELF2 expected applied to enemy
  target selected by targetmode B so we need skip SELF2 target mode.
* remove SEFL2 from explicit positive target modes.
2010-01-01 21:18:43 +03:00
NoFantasy
f9ec746123 [9097] Implement periodic dummy aura for spell 53520
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 19:02:06 +01:00
NoFantasy
56407bdb32 [9096] Implement periodic dummy aura for spell 52441
Note speed is not really reduced as expected, this need correction in other parts of code.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 18:35:35 +01:00
b482518
65c12d4998 [9095] Allow apply .modify scale to targeted creature (without save scale).
Also add command description to mangos.sql.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-01 18:21:39 +03:00
NoFantasy
15193ab9c3 [9094] Implement periodic dummy aura for spell 46041
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 15:16:33 +01:00
Hiram
253ad70197 Fixed build at branch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix some lines related to internal quest flags mask.
2010-01-01 17:01:48 +03:00
NoFantasy
65f4e7d278 [9093] Implement periodic dummy aura for spell 48630 and 59275
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 13:10:23 +01:00