0caaa3e478
Revert changes done in r0074e32c2f and r4d86e4199a - fixes buildissues ( if()+reinterpret_cast is faster than dynamic_casts btw )
click2010-08-06 03:00:39 +02:00
71ef21de21
Add helper Player::GetAverageItemLevel() function for future use in Dungeon Finder and vehicle scaling.
silinoron2010-08-05 14:18:33 -07:00
309970936c
Remove phasing when player enters/leaves instance (by 2010phenix) Closes issue #3279azazel2010-08-06 00:24:11 +06:00
f9a51dc214
* Corpse related cleanup (author: Hunuza) * Avoid saving of the corpse in arenas (author: VladimirMangos)
azazel2010-08-06 00:15:29 +06:00
4773aad26b
Make use of new ToItem() casts
Shauren2010-08-05 18:43:30 +02:00
c94046b065
Make typecasting methods *really* safe and get rid of redundant typeId/Typemask checks, thanks Zor and Machiavelli for help
Shauren2010-08-05 17:01:25 +02:00
885fc368fd
* Implement item limit category (based on changes by VladimirMangos) * Additional check for HandleAutoBankItemOpcode (thanks to VladimitMangos) * Properly show empty vendor list for empty item list (author: a1ien) * More stricted checks for store operations (thanks to VladimirMangos) * Prevent autostoring of not empty bags (thanks to L1ghtGu4rd)
azazel2010-08-05 22:08:07 +06:00
e659c3faf3
*Update CMSG_USE_ITEM opcode to fit new clientCastFlag handling.
QAston2010-08-04 22:52:35 +02:00
f3eab91102
* Convert SCRIPT_COMMAND_* defines to enum. Make comments for values up-to-date. * Cleanup ScriptsProcess method. Move repeating parts of code to inline helper methods. * Improve SCRIPT_COMMAND_CAST_SPELL command. You can specify triggered attribute when datalong2 = 4 by making dataint negative. * Improve SCRIPT_COMMAND_KILL command. Now, if source is not a creature, it tries to use target object instead.
azazel2010-08-05 00:55:10 +06:00
96fa91034f
Missing part of r7dd45a0182 :(
QAston2010-08-04 20:34:08 +02:00
bc8c74475e
*Fix a crash in Aura::UnregisterSingleTarget.
QAston2010-08-04 20:03:33 +02:00
2789b30d19
*Typofix - Relocate != SetPosition - fixes problems with visibility after changing zones.
QAston2010-08-04 19:44:34 +02:00
96eb7c513f
*Some more research about spell target flags - thanks to Zor for info.
QAston2010-08-04 19:16:44 +02:00
40e16bbbdb
Add gender field to SMSG_WHO packet (author: MaS0n) Fix compile error
azazel2010-08-04 22:12:43 +06:00
362ae2d4c6
Fixed pet talents: Guard Dog and Silverback Removed pre-3.3.0 code for Improved Cower
Shauren2010-08-04 17:49:23 +02:00
6353e7dd8c
*Update movement enums - thanks to Zor for info. *Add functions for position data streaming.
QAston2010-08-04 14:39:45 +02:00
850868c8a3
Fixed issues with taking items from mail Closes issue #3263.
Shauren2010-08-04 14:31:47 +02:00
1058d7b37d
Fixed timer displaying for timed quests
Shauren2010-08-04 13:17:33 +02:00
705de07e7e
Fixed Carrion Feeder pet talent Removed useless code for Wolverine Bite
Shauren2010-08-04 12:12:58 +02:00
dc6c3f96b1
* Add operator -= to HookList.
XTZGZoReX2010-08-04 11:55:40 +02:00
b7d34dcb53
Cleaned up item flags: separated item proto flags and item field flags Implemented use of: ITEM_PROTO_FLAG_PROSPECTABLE and ITEM_PROTO_FLAG_MILLABLE now checked instead of bag family mask ITEM_PROTO_FLAG_SMART_LOOT for profession recipes, player has to have skillline and not know the recipe ITEM_PROTO_FLAG_OPENABLE item has to have it set to use item_loot_template ITEM_PROTO_FLAG_NOT_USEABLE_IN_ARENA if this is set item can never be used in arena ITEM_FLAG_UNLOCKED marks unlocked items
Shauren2010-08-04 10:34:30 +02:00
846aa12260
*Fix crashy implementation of aura type 305.
QAston2010-08-04 08:21:58 +02:00
109bcb0927
Fixed Heart of the Phoenix pet spell
Shauren2010-08-03 10:47:38 +02:00
e7ee828fe1
*Update spell_bonus_data for Garrote - by svetilo12. *Fix build.
QAston2010-08-03 06:36:25 +02:00
12c339f421
*Add missing Bestial wrath and The Beast Withing immunities after client change. Original patch by Visagalis. *Little typo from prev rev.
QAston2010-08-03 06:16:59 +02:00
c5a9d3b463
*Add m_duringRemoveFromWorld lock to prevent adding single target auras during or after remove from world process.
QAston2010-08-03 06:11:03 +02:00
14827321bf
Add support for CreatureAI::DamageDealt used in a Zul'Aman script. Thanks joshwhedon.
silinoron2010-08-02 14:18:30 -07:00
e798097ae3
Move a couple of warrior spell dummy effect handlers to spell scripts.
silinoron2010-08-02 13:18:45 -07:00
891df4eccb
*Drop m_intTargetFlags, correctly send TARGET_FLAG_SOURCE_LOCATION and TARGET_FLAG_DEST_LOCATION - fixes many spell visuals.
QAston2010-08-02 20:05:22 +02:00
03caa8550f
Fixed typo (and a crash) - damn copypasting from one line above
Shauren2010-08-02 18:25:44 +02:00
18dd177308
*Search for aura caster in our out of world in Aura::UnregisterSingleTarget().
QAston2010-08-02 18:05:07 +02:00
027ca9b62a
Moved spell_script_names data from world_scripts_full.sql to world_database.sql, it is to be kept here from now on. Added missing data to fulls. Some cosmetic fixes to a couple of sql update files. No need to re-apply any sql file for this commit.
teacher2010-08-02 17:56:59 +02:00
ff575b7002
*Fixes in spell targets packet reading and writing.
QAston2010-08-02 17:55:15 +02:00
46c1a4640d
Groups are now stored by low guid in map Creatures and gameobjects also store looting group by low guid instead of full guid
Shauren2010-08-02 17:28:47 +02:00
21db4757a9
Move CharacterDatabaseCleaner to Tools in VS project
Shauren2010-08-02 15:43:59 +02:00
b76ceca24f
Updated .pdump commands Deleted (but kept in db) characters cannot be dumped
Shauren2010-08-02 15:14:47 +02:00
b2b9ed4a32
Add selection weights to BG and Arenas. Will determine the selected BG/Arena chosen using random BG/Arenas from the enabled list.
Spp2010-08-02 13:22:05 +02:00
0cdeafc2eb
Comment out body of AddSC_example_spell_scripts() to get rid of a loading error.
silinoron2010-08-01 17:16:31 -07:00
fe39bcaab8
* I'm a firm believer that if you told a computer to make a variable 'unsigned unsigned' it would blow up.
XTZGZoReX2010-08-01 21:41:37 +02:00
c243f60eae
*Fix import of 9120_world_spell_proc_event.sql when using some weird tools - by taliesin.tc.
QAston2010-08-01 03:39:43 +02:00
d5e33bf4ba
*Use spell_ranks table in spell scripts to not duplicate data.
QAston2010-08-01 03:23:14 +02:00
4f3093f5e5
*Disable spellpower/ap bonus for flametongue - by Visagalis.
QAston2010-08-01 01:54:06 +02:00
2212eb604d
*Add helpers for checking auras present on unit by type and spell affect mask *Add linked SPELL_AURA_PERIODIC_HASTE to shadowform spell - by dr.tenma
QAston2010-08-01 01:22:13 +02:00
9cc4a9a6da
*Fix Sniper Training refresh - by liszt.mbox.
QAston2010-07-31 23:50:52 +02:00
73b481073d
*Fix talent Will of the NEcropolis *Backout unintentional change from ra299f0b248.
QAston2010-07-31 23:39:03 +02:00
e0af5f9220
*Fix Glyph of Salvation - by DrTenma.
QAston2010-07-31 20:51:53 +02:00
d4e1828f57
*Update ppm chance for Unbridled Wrath - by insider42.
QAston2010-07-31 20:18:52 +02:00
c26c128ba6
*Add data from r4bf7778333 to world_database.sql *Add 22 sec internal cooldown to Lock and Load - by servet.
QAston2010-07-31 20:11:07 +02:00
9d93ebc8b7
Move SPELLFAMILY_PALADIN dummy spell effects for Holy Shock, Blessing of Faith, and Judgement of Command to spell scripts.
silinoron2010-07-31 10:46:33 -07:00
c49ac64d94
Forgot to add a DELETE query at the last revision. I just told devs to check their sql, and then I make a mistake of my own. Ah well, I'm just one of the lousy devs as well.
Liberate2010-07-31 18:16:12 +02:00
8044051682
*Fixes Necrosis and Blood-Caked Blade. They now only proc from melee auto-attacks. Fix by kerekeszoltan90. Fixes issue #3184Liberate2010-07-31 17:49:47 +02:00
d7e2f338c2
Fixes many sql errors in the sql/scripts/ directory. Please devs don't just copy-paste the sql from the updates directory into these sql files. This might cause errors.
Liberate2010-07-31 17:35:29 +02:00
0be9e71f85
Buildsystem/CMake: Fix a minor "need sleep, i am tired"-error (typos ftw)
click2010-07-31 16:16:55 +02:00
270367abfc
Prevent players from gaining rest state in hostile capital zones. Fix a bug where PvP status never resets when not moving to another zone. Reset PvP status at Taxi node end/worldport when moving into friendly territory.
thenecromancer2010-07-31 13:55:23 +02:00
bdf20fa420
Fix exploit with Shiv giving 100% chance to apply any enchant on offhand items
thenecromancer2010-07-31 13:49:13 +02:00
99efabdbd3
Remove crude check in proc system preventing charges drop in proc system for absorbs. To preserve effect, code must be placed for charge handler to skip procs with 0 damage. This code is preventing procs that should happen (like Savage Defense, or CCs)
thenecromancer2010-07-31 13:45:00 +02:00
71b1c781e3
Add basic support for NPCs on transports; DB data required. Currently no support for combat while the transport is in motion. Based on a patch by Socolin. Fixes issue #168silinoron2010-07-30 21:54:46 -07:00
cf4d89990e
Don't save Call Stabled Pet aura on player save, since it is impossible to open the stable dialog when player is loaded.
Xanadu2010-07-31 03:23:14 +02:00
c298bdb662
Remove duplicate "Error:" from some outError messages...
click2010-07-31 03:12:51 +02:00
e5881d9590
*Cleanup in single target auras (thanks to JuliuSZS some useable debug info) *Add ToInstanceMap() and ToMapInstanced() typecast functions and CAST_INST macro to use in scripts.
QAston2010-07-31 01:41:32 +02:00
1ab415cc06
Fixed naming of SQL files
Shauren2010-07-30 21:15:19 +02:00
204834d33d
*Change typecasts to use build in functions/macros in scripts to prevent possible access violation. *Remove no longer needed hack from netherspite script.
QAston2010-07-30 21:16:15 +02:00
48b360097c
*use ASSERT macro instead of regular assert for better output.
QAston2010-07-30 20:04:28 +02:00
3dc29732b7
Fixed a very silly mistake at item loading
Shauren2010-07-30 17:54:01 +02:00
35ce512af8
This should fix mysql syntax errors some people were getting with 9090_characters_item_instance.sql
Shauren2010-07-30 17:50:21 +02:00
ab95e5a6dc
Fixed remaining bank/bag issues added in r9090 Added temporary hack to item creation to prevent new items from bugging (heroic+sockets issue), this will be removed after my work on item flags is done
Shauren2010-07-30 17:36:28 +02:00
350864de80
Fixed saving new items to database, thx GMKretol for spotting the typo
Shauren2010-07-30 16:01:43 +02:00
d666ba26c1
*Thread safe player searcher in scripts.
QAston2010-07-30 15:51:07 +02:00
9bda35c7df
Killed the last blob field (corpse)
Shauren2010-07-30 15:15:07 +02:00
77fc91bde8
Deleted data blob in item_instance Fixed issues with displaying sockets/enchants/durability on heroic items
Shauren2010-07-30 13:15:31 +02:00
c227065fc0
Minor fixes, translation and coding style changes of creature_template check function.
Xanadu2010-07-30 06:47:35 +02:00
3565bbccf3
Fixed NPCs not offering quests with warlock or druid in SkillOrClassMask to these classes.
Xanadu2010-07-30 06:22:55 +02:00
272e954a70
*Lock on RemoveAllAuras till all auras and applications are removed with all linked events they may cause. *Add assertion after error log, just in case you've missed it.
QAston2010-07-30 03:07:34 +02:00
eb852f5bbd
* Added the option to specify target entry in conditions table for spells with AoE GO targets. * A few examples where this is desirable are posted on the forum.
Xanadu2010-07-30 01:51:33 +02:00
cad437d7f0
Whops, a little too deletehappy there...
click2010-07-30 00:45:47 +02:00
f213f2c7d9
Buildsystem/CMake: Include core/script headerfiles in generated MSVC-projects. - Still "work in progress", as in missing filters and MSVC folder layouts. - external libraries not fully "headerified" (not really required)
click2010-07-29 21:08:16 +02:00