Commit graph

5375 commits

Author SHA1 Message Date
VladimirMangos
f50083928a [7024] Add gathering skill grow bonus spell chanin data. Sort prof. spell chain data by skill ids as other spells. 2009-01-04 23:31:56 +03:00
DiSlord
4b9af01d42 [7023] Remove not used useCharges for IsImmunedToSpell/IsImmunedToDamage
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-04 23:20:21 +03:00
derex
a865eb6010 [7022] Added support for packets > 64 kb 2009-01-04 19:20:06 +01:00
VladimirMangos
dbc228370c [7021] Not check allowed class/race for items with inventory type INVTYPE_NON_EQUIP that can't be used from inventory. 2009-01-04 19:56:20 +03:00
VladimirMangos
977cb3f8d4 [7020] Initilize glyph order at loading/reset.
This must fix problems with glyph use for old(converted) characters.
Thanks to GriffonHeart for porblem research.
2009-01-04 18:43:11 +03:00
DiSlord
f893214e2b [7019] Fix AP/RAP bonus from stat at aura apply/remove
Not use CLASSMASK_WAND_USERS mask for AP bonus

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-04 17:27:40 +03:00
123qwe
409ea262a5 [7018] Update melee AP dependence for shaman class.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-04 01:02:12 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
NeatElves
f33b4098dc [7016] Avoid table areatrigger_teleport double reload at .reload all command.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-03 19:55:08 +03:00
VladimirMangos
ee505ec9da [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
arrai
7864c9aee1 [7014] Fixed setting initial value of achievement criteria counter, broken after 21df99d7. With that bug players had to complete an achievement criteria n+1 times 2009-01-03 14:57:23 +01:00
VladimirMangos
7e5c17b6c3 [7013] Rename recently added function for consistent with already existed. Use it for old cases. 2009-01-03 14:27:28 +03:00
DiSlord
ba5e3dabc6 [7012] Fix use SpellVisual data
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 13:08:04 +03:00
DiSlord
1f4b00a848 [7011] Add check Aura Spell req in Spell::CanCast
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 03:07:06 +03:00
arrai
88208bc9a7 [7010] Teleport players to the entrance of instances if they are in reset ones at login 2009-01-03 01:10:31 +01:00
VladimirMangos
c88dfbccb3 [7009] Fixed spell 6991 work.
Also fix max power limits in some miscvalue checks.
2009-01-03 00:08:36 +03:00
DiSlord
dc8649a86a [7008] Remove not used in 303 aura states from code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-02 23:44:08 +03:00
ApoC
48d6043eed [7007] Fix: Using enum value instead of numeric constant.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-02 17:39:34 +01:00
VladimirMangos
4dbb744af4 [7006] Implement area limitations for spell 51721 (and auto apply for this in area) and 54055. 2009-01-02 19:32:36 +03:00
VladimirMangos
bd4fc1b0ae [7005] Request Area/Zone Ids using 3D coordinates.
.map files not have 3D specifci area infor. So use hack way for update areaflag for some cases (areas 4281, 4342)
where exist area dependent auras.
2009-01-02 19:30:43 +03:00
Wyk3d
1896ace8ff [7004] Fixed generating makefile.am in git_id 2009-01-02 16:16:41 +02:00
arrai
c08ed13497 [7003] Fixed *nix build of previous commit 2009-01-02 15:09:37 +01:00
Seizer
420331b2ae [7002] Fixed learning of spell 51490 and ranks
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 14:44:44 +01:00
invliD
8d549e8a82 [7001] Fixed ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST_COUNT
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 12:50:11 +01:00
arrai
01e4f069e2 [7000] Fixed creature target selection in case all possible targets have a low priority 2009-01-02 12:25:17 +01:00
hectolight
802b35fbb8 [6999] Implemented ACHIEVEMENT_CRITERIA_TYPE_ROLL_GREED_ON_LOOT and ACHIEVEMENT_CRITERIA_TYPE_ROLL_NEED_ON_LOOT
Signed-off-by: arrai <array.of.intellect@gmail.com>
2009-01-02 00:05:50 +01:00
DiSlord
59f5472e3a [6998] Add new formula for warlock 1454 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-02 00:10:09 +03:00
GriffonHeart
2441c2a69f [6997] Fixed: In 3.0.3 spell data have area group id instead area id.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-01 22:43:08 +03:00
VladimirMangos
f6bd9ef67a [6996] Fixed 56 target mode work for 3.0.3. This fix for example warrior spell 6673 and ranks. 2009-01-01 16:29:36 +03:00
VladimirMangos
896b10e39a [6995] Fixed spell casting with active auto-repeat ranged weapon. 2008-12-31 16:12:30 +03:00
GriffonHeart
948d76800d [6994] Fixing "create all" items crafting and possible other spells unexpected colldowns.
Note: auto-shoot still have problems with spell casting.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-31 15:07:00 +03:00
VladimirMangos
18fb4db8f2 [6993] Fixing FFA PvP player flags for 3.0.3 2008-12-31 14:11:05 +03:00
VladimirMangos
695a630cf3 [6992] More strong checking to prevent stacking passive auras. This fix unexpected statking 16252 and ranks.
Also this checking will prevent staking talent ranks if it will casted at character by some reason in any cases.
TODO: non-talent passive spells like 16252 or 31785 with ranks still as before
not reapplied in lesser rank form if higher rank unlearned. But this possible only at .unlearn command use
and required re-loginning for activation lesser rank spell.
2008-12-31 12:40:47 +03:00
ApoC
321ea2d9b6 [6991] Fixed possible typo in setting cooldown for spells in same spell category.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-31 00:39:17 +01:00
DiSlord
f5c4935ec3 [6990] Check creatures flags_extra for disable melee spells block/parry
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-31 01:14:38 +03:00
VladimirMangos
151e9e7012 [6989] Always initilize WaypointBehavior pointer to NULL in WaypointNode. Small code Cleanup. 2008-12-31 00:48:44 +03:00
megamage
61063ad94c [6988] Recheck UNIT_FLAG_NON_ATTACKABLE for delayed spells
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-31 00:26:32 +03:00
arrai
9a411858d0 [6987] Implemented aura dependent creature target prioritization more correctly 2008-12-30 20:05:51 +01:00
yad02
2b7004a0ab [6986] Remove outdated for 3.0.3 area mount limitation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-30 18:45:34 +03:00
DiSlord
0db6b31b70 [6985] Fix crit chance calc
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 04:22:12 +03:00
VladimirMangos
3f397ed035 [6984] Update crushing blow chance calculation for 3.0.3.
Required 4 level difference.
Player also can crushing blow if controlled and then considered as creature.
2008-12-30 04:03:54 +03:00
VladimirMangos
71c67a5202 [6983] Revert [6978]. Useless for master branch. But ported to mangos-0.12 version will useful at branch.
* Remove unused arg of Unit::RollMeleeOutcomeAgainst and cleanup related code: Block crit implemented for spell by another way,
* Also comment out SPELL_AURA_IGNORE_COMBAT_RESULT aura check for block: not exist currently spell with this aura for bloc case.
2008-12-30 03:30:57 +03:00
freghar
73ca2b7a54 [6982] Implemented gmlevel-based command security
This is just a simple check if target's gmlevel is lesser
than the caller's one. If it is, an error is returned.
Offline checks for some commands are included.

That in simple words means no further .goname to a gmlevel 3 player
from a gmlevel 2 or 1 account, so gmlevel 3 can work in peace.

Signed-off-by: freghar <compmancz@gmail.com>
2008-12-29 23:54:05 +01:00
DiSlord
bc0a840e6a [6981] Fix send SMSG_PERIODICAURALOG
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:51:23 +03:00
DiSlord
a1494d29dc [6980] Add some fixes to trigger system
Allow proc from every kill
Fix (and remove hack) priest 32379 and rank (backfire damage after 1 sec)
Remove not need stack overflow protection

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:49:28 +03:00
Wyk3d
12753049d1 [6979] Updated git_id
Fixed some whitespace errors.
2008-12-30 00:32:31 +02:00
Machiavelli
04af12e82a [6978] Allow crashing blow only from auto-attack.
Signed-off-by:  Machiavelli <Machiavelli@getmangos.com>

Thanks to Dreamer for patch preparing for mangos.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-29 23:28:38 +03:00
Wyk3d
07394d45da [6977] Fixed a crash caused by incorrect use of GetMap for corpses in other maps, and another one caused by SelectHostilTarget failing to notice the target is not in world, due to a fauly InSameMap check. 2008-12-29 22:24:05 +02:00
Wyk3d
75b1db8cd0 [6976] Changed the db_version fields in realmd and characters databases to revision number format 2008-12-29 22:19:15 +02:00
VladimirMangos
c5976f93da [6975] Fixed spell damage calculation for negative EffectDieSides.
Thanks to NoFantasy for testing.

Also small code style apply to random generation functions.
2008-12-29 23:00:12 +03:00