Commit graph

4613 commits

Author SHA1 Message Date
False.Genesis
82c94b4101 [6948] Fixed unattackable NPC summoned pets.
Not set player's pet only UNIT_FLAG_PVP_ATTACKABLE flag for creature's pets.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-26 15:18:10 +03:00
tomrus88
47c0dbdc27 Merge branch 'master' into 308 2008-12-26 14:24:04 +03:00
tomrus88
a38078d0c2 Some 308 changes 2008-12-26 14:21:42 +03:00
VladimirMangos
3488c1fee3 Prevent using loading pet from DB code for non-player pets. 2008-12-26 12:47:03 +03:00
VladimirMangos
3c774f9c68 [6947] Fixed learning some spells triggred by learning another spell.
At prepering learning spell dependences at server load mark
as auto-learned spells from DBC data only leraned
from telents/passive/skill-setting spells.
Expected "regression": if player learn "learning spell" then
he will always auto-learn spell learned by this "learning spell" also.
2008-12-26 11:54:58 +03:00
DiSlord
9d431700c3 [6946] Use blizzlike formula for armor reduction damage
Implement use CR_ARMOR_PENETRATION rating

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-26 00:45:33 +03:00
DiSlord
ae4a0032c1 [6945] Implement FORM_METAMORPHOSIS Shapeshift
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 22:25:31 +03:00
DiSlord
d22d08d6b2 Add all missing generic family spell to HandleProcTriggerSpell
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 19:34:33 +03:00
killdozer
39d1ca5ef0 [6944] Restore work after arena patch and reimplement battleground/arena announcer
Signed-off-by: killdozer <killdozer@mangos.ru>

Renumbering arena related mangos string to proper ranges and cleanup related code and DB data.
Set battleground/arena announcer disabled by default as extansion in server functionality.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-25 07:53:06 +03:00
GriffonHeart
e3576ebff5 [6942] Provided mount data for new spell taxi path.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-25 03:23:41 +03:00
DiSlord
5c71f2b705 Cleanup unused spell in HandleProcTriggerSpell
Add all new scripted triggers to HandleProcTriggerSpell

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 02:51:56 +03:00
DiSlord
65faea823c Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-25 01:21:52 +03:00
VladimirMangos
f42eb05a4b [6938] Better check for skipping triggred spells at .learn all_myspell command use.
This not solve all cases unexpected spell learning for class but result a lot better
including avoid known examples problematic spells learned early.
2008-12-24 06:59:34 +03:00
VladimirMangos
eeabb03e2d [6937] Implement another character level requirement for heroic character creating.
Add option to mangosd.conf for set required level for this limitation or let disable limitation.
2008-12-24 05:54:49 +03:00
DiSlord
0ab8b9a036 [6934] Just update aura charge in UpdateAuraCharges() (no decrease it)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 20:36:24 +03:00
DiSlord
92c7edffe0 Fix send opcode (for 303)
Update to 303 master

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 19:56:08 +03:00
DiSlord
bae58eb069 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-23 18:03:21 +03:00
arrai
513255585f [6933] Fixed resurrected players being attacked by creatures near their corpse although they were revived in a safe distance 2008-12-23 15:18:29 +01:00
DiSlord
9024f5274f [6931] Small fix (from 3.0.3) PET_BONUS_RAP_TO_SPELLDMG for Hunter pet
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 02:03:56 +03:00
Wyk3d
f4ce2f6e9d [6930] Added more error output on ArenaTeam load errors. 2008-12-23 00:53:39 +02:00
DasBlub
03c71517ec prevent crashes in Player::_LoadArenaTeamInfo()
(cherry picked from commit 9f908e877d054ff9ab973082d631bb7199f292f6)

Signed-off-by: Wyk3d <Wyk3d@getmangos.com>
2008-12-23 00:51:24 +02:00
Wyk3d
a0edf095d9 Allow arena/battleground maps to be valid without an entry in the instance template 2008-12-23 00:47:31 +02:00
DiSlord
cd6717316e [6929] Apply new formula (from 3.0.3) for block value calculation
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 01:41:32 +03:00
Wyk3d
ed4efc317c [6928] Corrected the handling of evade and threat for creature summoned pets. Should fix some of the setVisibility crashes. 2008-12-22 12:48:19 +03:00
hunuza
1884889f04 [6927] Send correct level in error message due to too low level to create arena team.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-22 12:47:37 +03:00
megamage
c7ba0afad4 [6926] Use buyout to buy an auction when the last bid is close to the buyout price.
Signed-off-by: megamage <megamage@getmangos.com>

Fixed cheating possibility with original patch changes.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-22 12:47:36 +03:00
begemot
128f808858 [6925] Correctly show loaded 100% for empty playercreateinfo_item.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-22 12:47:35 +03:00
balrok
d4a69e4789 [6924] Faster guild-loading.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-22 12:47:35 +03:00
VladimirMangos
6d62e595b6 [6923] Fixed opcide table miscompilation at VC in x64 release mode.
In 303 branch it showup as crash at most chat commands.
2008-12-22 12:47:34 +03:00
freghar
d75812749f [6922] Whitespace and newline fixes
This should fix the GCC "no newline at end of file" warnings.

Signed-off-by: freghar <compmancz@gmail.com>
2008-12-22 12:47:33 +03:00
DiSlord
ba868910e2 [6921] Fixed level depend spell damage calculation (limit it to spell base - max level)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 12:46:53 +03:00
VladimirMangos
1f73468131 Small code cleanups. 2008-12-22 09:36:57 +03:00
VladimirMangos
65339d1c0b Restore build. 2008-12-22 06:48:23 +03:00
DiSlord
15d809e61d Add/change some spell effect names, add/fix comments
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 01:43:23 +03:00
DiSlord
b72b1a1785 Add name for 194 SPELL_AURA_MOD_IGNORE_ABSORB_SCHOOL 2008-12-21 05:20:19 +03:00
DiSlord
18eeaa85dd Implement 220 SPELL_AURA_MOD_RATING_FROM_STAT aura
Recalculate Melee/Ranged/Spell Hit Chances (not apply/remove) for players

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-21 05:20:09 +03:00
VladimirMangos
c1ae939fb1 Implement new mangos.conf setting HeroicCharactersPerRealm for set cstiom (default 1) amount heroic class chanarcters for account per realm.
Note: set option to 0 disable heroic characters creating.
Also non-player account not have now any limits (except 10 clinet limit) for heroic characters creating.
2008-12-21 04:40:40 +03:00
DiSlord
4090872bfa Implement SPELL_AURA_MOD_ATTACK_POWER_OF_STAT_PERCENT aura
Remove redurant check m_miscvalue on Intelect for SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 23:56:58 +03:00
DiSlord
061e73492e Use MiscB as stat for SPELL_AURA_MOD_SPELL_DAMAGE_OF_STAT_PERCENT
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 23:33:35 +03:00
DiSlord
b64a8bd3fe Fix effect name from last commit 2008-12-20 22:46:11 +03:00
DiSlord
98c2cc9e7b * Remove/rename spell effects changed in 303
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 22:28:52 +03:00
DiSlord
381e801b7c Add SPELL_EFFECT_SCRIPT_EFFECT for Hunter 53209
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 21:43:19 +03:00
DiSlord
70c2f2201a Fix mask typo from last commit 2008-12-20 04:32:38 +03:00
DiSlord
5f4d5533e7 Some check, comments in HandleDummyAuraProc
Added new spell ranks for some shaman talent

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 04:19:46 +03:00
DiSlord
0125787414 Added new AP, RAP, SPH damage depends for all found SPELL_EFFECT_SCHOOL_DAMAGE spells
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 04:15:07 +03:00
tomrus88
4c258e20a1 Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
2008-12-19 17:30:26 +03:00
Wyk3d
162ca267f1 [6919] Fixed character rename at login and optimized the query. 2008-12-19 15:52:18 +02:00
GriffonHeart
11c45937b3 Implement quest completing at spell 53341, 53343 cast. Also implement item 38607 using cast.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-19 07:23:58 +03:00
DiSlord
684c386f3a [6918] Not use enchant m_amount as spell basepoint by default (only for random enchants)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-19 03:10:25 +03:00
DiSlord
28d2d45a46 [6917] Fix field multiplier ad load Arena Info. patch from killdozer.
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-18 14:30:58 +03:00