Commit graph

3277 commits

Author SHA1 Message Date
ApoC
61443d7583 [8130] Allow stacking spell 18820 with 1459 and ranks
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 20:54:08 +02:00
ApoC
a2d9467428 [8129] More work on spell 20243
* No need to loop over rest of auras if correct one found
* Fixed spell not applied 58567

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 20:08:44 +02:00
Thyros
de974e5537 [8128] Typos in typos fix [8120].
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-05 21:10:07 +04:00
ApoC
572c6d99a7 [8127] Fixed detection of spell 20243
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 19:08:35 +02:00
VladimirMangos
715470a898 [8126] Improvemets in player/pet/charter name checks.
* Implement new config options for minimal player/pet/charter name length (2 by default)
* Better error reporting at problems in names.
* Add check from max pet/charter name length (same as for player names at client side)
2009-07-05 20:30:33 +04:00
ApoC
60fe792866 [8125] Optimized spell cooldowns remove.
Traverse only active cooldowns instead of whole player spell map.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:10 +02:00
ApoC
f064ef9c49 [8124] Fixed removing cooldown of 23922 and ranks by 50227
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:06 +02:00
ApoC
2273f7abe0 [8123] Introduced new method Player::RemoveSpellCategoryCooldown(uint32,bool)
This method removes cooldown from all spells from given category
and optionaly sends update to player. By default update is not send.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:02 +02:00
ApoC
91e4d7324a [8122] Permit read-only acces to player's cooldowns via GetSpellCooldownMap()
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:35:51 +02:00
VladimirMangos
b4302d61e5 [8121] Cleanup and more safe code in Player::BuyItemFromVendor use.
* Move bag search by bag guid code to WorldSession::HandleBuyItemInSlotOpcode
* Really reject unexisted bag cases.
2009-07-05 17:45:45 +04:00
Thyros
c853c2e261 [8120] - Typo for Linux, thanks to win32. (cherry picked from commit 389894bcee8a60f7dd59baf06f4a75e5098e9a69)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-05 14:15:37 +04:00
VladimirMangos
8d2dab1093 [8119] Speedup code and prevent crash at pet stats reset in time owner not in world. 2009-07-05 13:58:16 +04:00
tomrus88
3089d85035 Removed wrong file. 2009-07-05 13:39:57 +04:00
tomrus88
54cc2dcb53 Merge commit 'origin/master' into 320 2009-07-05 13:19:54 +04:00
tomrus88
5af8fb89d0 Fix 2009-07-05 13:19:37 +04:00
Lightguard
0e1d03baeb [8118] More diminishing returns for mage case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-04 23:29:42 +04:00
ApoC
24f13bdcb7 [8117] Fixed spell 6343 and ranks, now getting bonus from AP
signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 21:26:56 +02:00
VladimirMangos
9798dbe5e2 [8116] Fixed low ranks relearn bug, correctly show tlanes at command spell learn.
* Bug showup as paladin talents reset. Thanks to ApoC for reseach problem.
* Now at .learn command use for learn some talent this talent must correctly show as learned in talent dialog.
2009-07-04 23:06:35 +04:00
VladimirMangos
bc0397695c [8115] Replace table contecnt by expected data from mangos.sql
For finally fix problem with new crated characters in addition to [8107].
2009-07-04 21:36:16 +04:00
ApoC
cece592b5f [8114] Fixed uint16 to uint32 for spell id in SkillDiscoveryEntry
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 17:29:49 +02:00
m4cm4n
7c5f254012 [8113] Fixed setting mover for Posses/Charm auras and Vehicle enter/exit.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 12:51:15 +02:00
ApoC
d17a49f6dc [8112] Fixed proc conditions for 63156 and ranks
* Fixed proc spell flags.
* Fixed proc only on victim's certain level of HP.

signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 11:41:38 +02:00
ApoC
aab121fcb2 [8111] Implemented support for implicit specify owner when initializing stats for summoned pets.
* Speedup of summoning pets (no need to seach owner by guid)
* Fixed problem that summond pets from NPC had not initialized stats
  (pet was not in world in time of stat init thus owner was not found)

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-03 19:28:22 +02:00
Lightguard
06dcbce4ee [8110] Implement aura SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE (229).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-03 13:41:36 +04:00
zuudu
7091e84f38 Fixed old typo in disarm diminishing selection.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-03 12:59:52 +04:00
Lightguard
b768bbb8ff [8109] Implement some more PvP aura duration limits.
Thanks for reseach to Alez.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-03 12:56:08 +04:00
lukaasm
1498f93e49 [8108] Fixed a case in resetting group binds where the actual map reset was done even though it had permanent binds.
This is a temp fix as the function should be rewritten to be more clear / less error prone.

Signed-off-by: Wyk3d <Wyk3d@getmangos.com>
2009-07-02 15:41:01 +03:00
tomrus88
62327e7af0 Merge commit 'origin/master' into 320
Conflicts:
	sql/updates/8098_01_characters_character_action.sql
	sql/updates/8098_02_mangos_playercreateinfo_action.sql
	src/game/Player.cpp
	src/game/Player.h
	src/game/SpellEffects.cpp
	src/shared/revision_nr.h
2009-07-02 09:38:10 +04:00
GriffonHeart
fbfbdf6d13 [8107] Fixed sql queries included in [8098].
Old version break stored action spell ids, but this is not critical damage so
restore data at applied damage not done in fix. But it will fix errors at new characters creating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:22:20 +04:00
tomrus88
41b400dac9 Fix 2009-07-02 09:21:43 +04:00
tomrus88
835a8da42a Added placeholders for new battlegrounds, some other stuff. 2009-07-02 09:21:43 +04:00
VladimirMangos
a75d9893a6 [8106] Revert "Fixed instance heroic/raid reset cooldown at switch normal/heroic difficalty."
This reverts commit 655bb6125abcba28318b2074e1624bb4eb21cadd.

After discussion with Wyk3d fix considered as wrong way.
2009-07-02 09:20:45 +04:00
Ambal
f08046f4a5 [8105] Compile fix under Linux/BSD systems.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:20:14 +04:00
BonDit
ae0cb69135 Fixed instance heroic/raid reset cooldown at switch normal/heroic difficalty.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:20:13 +04:00
VladimirMangos
90800416d1 [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. 2009-07-02 09:18:44 +04:00
Ambal
2baccbebc3 [8103] More wide use IsInWorld checks and delayed at teleport operations.
* IsInWorld used to prevent return unexpected not in world objects.
* Delayed operations need to process its in world state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:43 +04:00
VladimirMangos
a8288b311e [8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
* Create Gameobject version to make GO with owner more safe for remove
2009-07-02 09:18:42 +04:00
VladimirMangos
91f26272ec [8101] Prevent use talents as quest rewards or spell_learn_spell learned spells. 2009-07-02 09:18:41 +04:00
VladimirMangos
a7cbc7d8ec [8100] Include known MaNGOS EULA. 2009-07-02 09:18:41 +04:00
VladimirMangos
008240678b [8099] Small not detected uint16 cases for spell ids. 2009-07-02 09:18:40 +04:00
VladimirMangos
c9fbd99579 [8098] Support uint32 spell ids in code.
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
2009-07-02 09:18:39 +04:00
ApoC
f1284882a9 [8097] Updated comment based on research.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
ApoC
2d33a8d220 [8096] Fixed dummy effect for 34665
* Removed dynamic cast
* Little effect code clean up

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
freghar
81d0e303d2 [8095] Added gitignore for src/bindings/
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-02 09:18:37 +04:00
VladimirMangos
3cdc1f2792 [8094] Overwrite max durability for item at item loading from prototype. 2009-07-02 09:18:37 +04:00
ApoC
d09b4b96be [8093] Fixed effect of spell 25771.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:36 +04:00
VladimirMangos
8e05eb53d3 [8092] No, one more not safe place found.
Patch inspired bug report connected with alt.patch written by Machiavelli.
2009-07-02 09:18:35 +04:00
VladimirMangos
5a8640a69b [8091] Check bag size at item protos loading and item slots at invetory loading.
This is single not safe places in work with bag slots in current code.
2009-07-02 09:18:34 +04:00
VladimirMangos
fad9c4c0b3 [8090] Fixed build problems. 2009-07-02 09:18:34 +04:00
VladimirMangos
cceb334533 [8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects.
Last fix let for example correct charge for flight creatures...
2009-07-02 09:18:33 +04:00