Commit graph

1514 commits

Author SHA1 Message Date
DiSlord
ca4ae506b9 Remove dead code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:11:46 +03:00
DiSlord
249d039d93 Implement 50 PELL_AURA_MOD_CRITICAL_HEALING_BONUS aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:11:40 +03:00
DiSlord
c519f9a1b3 Restore some shaman totem work (implement 55441 gluph)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:11:23 +03:00
VladimirMangos
ad03d3c73b [7189] Prevent use wrong security levels (>= SEC_CONSOLE) 2009-01-26 22:05:18 +03:00
VladimirMangos
d4ce99dfa2 [7188] Drop now unneeded hack code. 2009-01-26 20:02:41 +03:00
VladimirMangos
de277ad917 [7187] Replace some tabs in sources. 2009-01-26 15:07:12 +03:00
Energy
8ab2de55c9 [7186] Implement instance reset time show in calender.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-26 14:35:22 +03:00
DiSlord
bab2370ade [7185] More fixes for SPELL_AURA_OVERRIDE_CLASS_SCRIPTS aura spells
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 01:59:20 +03:00
DiSlord
7ee5dd6387 [7184] Implement more generic work for some SPELL_AURA_OVERRIDE_CLASS_SCRIPTS auras
Fix warlock 17804 and ranks
Implement druid 643 set bonus
Shaman 23199, 28248, 32330 item (totems)
DK 49202 and ranks, 49024 and ranks
Priest 47573 and ranks
Hunter 53241 and ranks

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 00:47:16 +03:00
Sarjuuk
9e52b0f748 [7183] Updated spell casting pushback system.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 23:26:28 +03:00
VladimirMangos
be64293da3 [7182] Finally remove vanity pet slots related code. Vanity pets stored as learned spells. 2009-01-25 21:59:41 +03:00
DiSlord
9759808b4a [7181] Fix mana regen on priest 47585 use
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 21:56:47 +03:00
DiSlord
c028b118c4 Restore work priest 15286 after client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 21:56:31 +03:00
balrok
06020f99b1 [7180] 303 changes in PvpLogDataPacket.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 20:30:15 +03:00
ApoC
5aa204958c [7179] Fixed build at Unix/Linux. 2009-01-25 20:29:56 +03:00
VladimirMangos
d8355f27f5 [7178] Fixed character save fail at spell save in special case.
Case description: Spell save fail at attempt save into `character_spell` "new" spell loaded from DB
with exactly same settings after it learned from spell cast triggered by loading another spell from DB.
Reapeatable for shamans with known talent 16268.

Also speedup code with remove redundent Player::_removeSpell function.
2009-01-25 19:40:03 +03:00
VladimirMangos
0418aa5137 [7177] Fixed unexpected error output in logs. 2009-01-25 19:39:31 +03:00
DiSlord
20ea42e0db [7176] Implement full work priest 47580 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 18:58:45 +03:00
pasdVn
be736100cb [7175] Fix some hunter abilites
56342 and ranks - proc on trap activation
 34497 and ranks - mana restor amount
 56333 and ranks
 add some cast as trap activation

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 17:46:37 +03:00
DiSlord
3f876e89cd Replace some variables
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 17:44:06 +03:00
DiSlord
4d2b6fc808 Restore some spells animation
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 17:43:59 +03:00
Gorlum13
4e72f3bb33 [7174] Implement new option GM.Visible for set original GM visibility state at login.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 16:26:32 +03:00
VladimirMangos
939ef7612d [7173] Some fixes for resent spell learn/unlearn system changes.
* Fixed profession unlearn using skill unlearn button in skill list
* Update action bar to spell low rank at unlearn spell only for .unlearn command.
  This will avoid show unexpected "Learned spell" chat message for low rank at unlearing
  high rank and at all ranks unlearning.
2009-01-25 16:26:10 +03:00
GriffonHeart
1f54ffd398 [7172] Implement area requirements for spell 54119.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 10:44:31 +03:00
VladimirMangos
4455716490 [7171] "Implement" SPELL_AURA_SCREEN_EFFECT (260). In fact not required code, just comments. 2009-01-25 10:19:07 +03:00
VladimirMangos
521c8bc31b [7170] Implement special default skill levels for created DK character. 2009-01-25 10:02:15 +03:00
VladimirMangos
f88696d31d [7169] Fixed use castable trainer spells (some from its explictly self-castable). 2009-01-25 08:31:50 +03:00
VladimirMangos
4dc06d6d9e [7168] Spell shift-link and command improvements.
* Support Htrade shift link (it created by client at click by crafting profession spell icon in spellbook)
  in spell comands.
* Support "all" second arg for .learn for learning not provided spell id but it's all ranks.
* Drop support range for .unlearn command but support instead "all" second arg for unlearn not specific spell id but it's all ranks.
* In .list auras output print spell names as shift links for better readable view.
* Add to beggining Chat.cpp lists all supported by commands shift-links (client generated and server-side)
2009-01-25 07:53:18 +03:00
VladimirMangos
7a8a1a71bf Merge commit 'origin/master' into 308
Conflicts:

	src/game/ObjectMgr.cpp
	src/shared/revision_nr.h
2009-01-25 06:56:05 +03:00
DiSlord
ae5b65765d [7167] Restore work warrior 23885 after client switch
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 03:33:07 +03:00
DiSlord
528d85ed4d Aways apply additional buff for some spells (an do it as normal cast)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 03:32:22 +03:00
DiSlord
de47d53d9e Correct build m_needAliveTargetMask for channeled spells
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 03:32:17 +03:00
VladimirMangos
737600a665 [7166] Make reserved name check case-insensitive.
Original patch provided by jpmythic.
2009-01-25 02:38:08 +03:00
VladimirMangos
df13468ee1 [7165] More strict checking for client casted spells.
Allow explictly cast character spell from client only if it non-passive and show in spellbook/etc base at server data.
2009-01-25 00:13:33 +03:00
DiSlord
68b537dc30 [7164] Fixed 1 tick periodic for drink spells (remove not need code)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:03:55 +03:00
DiSlord
c336eef4cd Fixed druid tree form bonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:02:05 +03:00
ApoC
8275ff9a36 [7163] Pet constructor cleanup.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 20:44:10 +01:00
ApoC
302dc70eab [7162] Converted some uint16 spellid parameteres to uint32. It can provide little speedup.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 18:42:14 +01:00
ApoC
475e8cbcf6 [7161] Implemented configurable option to allow/disallow achievements gain for GMs.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 17:42:21 +01:00
yad02
94d064be6f [7160] Implement (un-)learning skill level dependent spells at skill level change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Some related cleanups using new functionality.
2009-01-24 12:43:42 +03:00
VladimirMangos
bbf8fd0742 Not store dependent spells in character_spell
* Mark spells learned in result character creating, another spell learning, skill grow,
  quest reward as dependent and not store its in `character_spell`.
* Prevent re-learning known spell in expected state
* Prevent re-learning low rank spell as active if higher rank known.
* New type of non-stacked ranked spells check: skill dependent spell bonuses.
* Activate (show propetly and cast if need) lesser spell rank
  for non-stackable in spellbooks spells at unlearn high rank
2009-01-24 12:03:43 +03:00
DiSlord
4b5aba18f8 Some fixes/add to prev commit
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 04:28:32 +03:00
DiSlord
abaa111eaa [7159] Allow GO cast as need (use go coordinates for target select in some cases)
Fixed work all Huter traps target selection
More check in ObjectAccessor::Get Object
More generic work 22 TARGET_CASTER_COORDINATES target type

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 03:44:45 +03:00
ApoC
c2a0a18a38 [7158] Added isAlive() check into Unit::SelectHostilTarget()
This can fix some unexpected behavior in some scripts which not checking alive state in main UpdateAI() method.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 00:23:09 +01:00
mcben
625f94ab35 [7157] Fixed config file parsing for not ascii characters.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-24 01:46:45 +03:00
VladimirMangos
0798b151cc Small vehicle related code cleanup. 2009-01-24 01:45:57 +03:00
DiSlord
3f4821acfb [7156] More generic periodic aura work
Implement SPELL_AURA_PERIODIC_HEALTH_FUNNEL
Apply SPELL_AURA_PERIODIC_HEALTH_FUNNEL mod to aura periodic time
Add support SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY flag
Apply duration mod to channeling spells
Fix mage 44401 and correct drop its charge

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 22:10:12 +03:00
Energy
fbe212d359 [7155] One more mount allowed instance.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 19:28:23 +03:00
GriffonHeart
25b120877e [7154] Move allow player fly check to function.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 15:57:23 +03:00
VladimirMangos
10468d170d Fixed typo and restore loot rates work. 2009-01-23 15:51:55 +03:00