Commit Graph

6998 Commits

Author SHA1 Message Date
thenecromancer
8dd67e8bb3 Allow state/effect immunities ignore whole spell when one effect is immuned
(Fixes getting part of CC auras with some immunities)

--HG--
branch : trunk
2010-01-13 10:20:00 +01:00
thenecromancer
6b07806d0c Add support for additional passive for FORM_MOONKIN
--HG--
branch : trunk
2010-01-13 10:08:49 +01:00
thenecromancer
3af5237f8c Do not remove MOVEMENTFLAG_ONTRANSPORT when unit has existing GAMEOBJECT_TYPE_TRANSPORT in movement info
Note that this will fix movement on elevators only visualy ( server position is still going to be wrong )

--HG--
branch : trunk
2010-01-13 10:04:48 +01:00
thenecromancer
ac4bab5451 Allow pet cast spells unaffected by global cooldown, while global cooldown is active
--HG--
branch : trunk
2010-01-13 10:03:09 +01:00
thenecromancer
d8d346ef1f Apply haste to nonmagic class spells too. (For instance Arcane Missiles have dmgclass_none )
--HG--
branch : trunk
2010-01-13 09:58:44 +01:00
thenecromancer
2b94d181cd Check if precast spell exists before trying to cast it. (Otherwise charge-like spells spam console a lot)
--HG--
branch : trunk
2010-01-13 09:56:51 +01:00
thenecromancer
ecd9470dc8 Fix Kill Shot damage (increase damage by attack power, not weapon damage ( that is already included in effects))
--HG--
branch : trunk
2010-01-13 09:54:03 +01:00
thenecromancer
a3e66287bf Remove hack for Freezing Fog aura.
Instead apply modifier directly to rune cost ( this will also fix runic power generation in that case )

--HG--
branch : trunk
2010-01-13 09:49:37 +01:00
thenecromancer
44e2bfce77 Fix problems with action buttons related to switching specs
*saving spells without saving current talent map and m_activeSpec is not good idea at all,
this might allow players various exploits
*send expected packet to correctly handle action bar

--HG--
branch : trunk
2010-01-13 09:45:05 +01:00
Brian
93e6fcfc1b * Added GO script for Inconspicuous Landmark (142189) needed for quest 2882
* Thanks manuel for the help!
* Needs additional DB data for quest to work.

--HG--
branch : trunk
2010-01-13 00:39:05 -07:00
Brian
6aea9f7a0a * Fixed a small opps on the last commit with NPCHandler
* Fixed error in script boss_grand_champions (Thanks QAston)

--HG--
branch : trunk
2010-01-12 19:55:18 -07:00
Brian
f5b1534f22 * Renamed 3.2.2.a_old to 3.2.2a_old (proper format)
* Fixes cmake complaining :)

--HG--
branch : trunk
rename : sql/updates/3.2.2.a_old/6589_characters_bugreport.sql => sql/updates/3.2.2a_old/6589_characters_bugreport.sql
rename : sql/updates/3.2.2.a_old/6589_characters_character_action.sql => sql/updates/3.2.2a_old/6589_characters_character_action.sql
rename : sql/updates/3.2.2.a_old/6589_characters_character_aura.sql => sql/updates/3.2.2a_old/6589_characters_character_aura.sql
rename : sql/updates/3.2.2.a_old/6589_characters_character_spell_cooldown.sql => sql/updates/3.2.2a_old/6589_characters_character_spell_cooldown.sql
rename : sql/updates/3.2.2.a_old/6589_characters_characters.sql => sql/updates/3.2.2a_old/6589_characters_characters.sql
rename : sql/updates/3.2.2.a_old/6589_characters_groups.sql => sql/updates/3.2.2a_old/6589_characters_groups.sql
rename : sql/updates/3.2.2.a_old/6589_characters_instance_reset.sql => sql/updates/3.2.2a_old/6589_characters_instance_reset.sql
rename : sql/updates/3.2.2.a_old/6589_characters_spell.sql => sql/updates/3.2.2a_old/6589_characters_spell.sql
rename : sql/updates/3.2.2.a_old/6589_realmd_realmlist.sql => sql/updates/3.2.2a_old/6589_realmd_realmlist.sql
rename : sql/updates/3.2.2.a_old/6589_world_battleground_template.sql => sql/updates/3.2.2a_old/6589_world_battleground_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_creature_template.sql => sql/updates/3.2.2a_old/6589_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_instance_template.sql => sql/updates/3.2.2a_old/6589_world_instance_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_item_template.sql => sql/updates/3.2.2a_old/6589_world_item_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_player_classlevelstats.sql => sql/updates/3.2.2a_old/6589_world_player_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6589_world_playercreateinfo_action.sql => sql/updates/3.2.2a_old/6589_world_playercreateinfo_action.sql
rename : sql/updates/3.2.2.a_old/6589_world_playercreateinfo_spell.sql => sql/updates/3.2.2a_old/6589_world_playercreateinfo_spell.sql
rename : sql/updates/3.2.2.a_old/6589_world_quest_template.sql => sql/updates/3.2.2a_old/6589_world_quest_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_spell_bonus_data.sql => sql/updates/3.2.2a_old/6589_world_spell_bonus_data.sql
rename : sql/updates/3.2.2.a_old/6589_world_spell_elixir.sql => sql/updates/3.2.2a_old/6589_world_spell_elixir.sql
rename : sql/updates/3.2.2.a_old/6589_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6589_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6597_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6597_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6643_world_gameobject_template.sql => sql/updates/3.2.2a_old/6643_world_gameobject_template.sql
rename : sql/updates/3.2.2.a_old/6644_world_creature_template.sql => sql/updates/3.2.2a_old/6644_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6644_world_gossip_menu.sql => sql/updates/3.2.2a_old/6644_world_gossip_menu.sql
rename : sql/updates/3.2.2.a_old/6644_world_gossip_menu_option.sql => sql/updates/3.2.2a_old/6644_world_gossip_menu_option.sql
rename : sql/updates/3.2.2.a_old/6644_world_gossip_scripts.sql => sql/updates/3.2.2a_old/6644_world_gossip_scripts.sql
rename : sql/updates/3.2.2.a_old/6644_world_locales_npc_option.sql => sql/updates/3.2.2a_old/6644_world_locales_npc_option.sql
rename : sql/updates/3.2.2.a_old/6644_world_npc_gossip_textid.sql => sql/updates/3.2.2a_old/6644_world_npc_gossip_textid.sql
rename : sql/updates/3.2.2.a_old/6644_world_npc_option.sql => sql/updates/3.2.2a_old/6644_world_npc_option.sql
rename : sql/updates/3.2.2.a_old/6644_world_scriptname.sql => sql/updates/3.2.2a_old/6644_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6645_world_gameobject_template.sql => sql/updates/3.2.2a_old/6645_world_gameobject_template.sql
rename : sql/updates/3.2.2.a_old/6649_world_scriptname.sql => sql/updates/3.2.2a_old/6649_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6655_world_spell_bonus_data.sql => sql/updates/3.2.2a_old/6655_world_spell_bonus_data.sql
rename : sql/updates/3.2.2.a_old/6657_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6657_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6664_world_quest_template.sql => sql/updates/3.2.2a_old/6664_world_quest_template.sql
rename : sql/updates/3.2.2.a_old/6665_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6665_world_creature_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6665_world_creature_template.sql => sql/updates/3.2.2a_old/6665_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6669_world_creature_template.sql => sql/updates/3.2.2a_old/6669_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6675_world_spell_linked_spell.sql => sql/updates/3.2.2a_old/6675_world_spell_linked_spell.sql
rename : sql/updates/3.2.2.a_old/6676_world_script_texts.sql => sql/updates/3.2.2a_old/6676_world_script_texts.sql
rename : sql/updates/3.2.2.a_old/6678_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6678_world_creature_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6686_world_scriptname.sql => sql/updates/3.2.2a_old/6686_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6691_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6691_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6694_world_item_template.sql => sql/updates/3.2.2a_old/6694_world_item_template.sql
rename : sql/updates/3.2.2.a_old/6710_realmd_account_access.sql => sql/updates/3.2.2a_old/6710_realmd_account_access.sql
rename : sql/updates/3.2.2.a_old/6710_world_command.sql => sql/updates/3.2.2a_old/6710_world_command.sql
rename : sql/updates/3.2.2.a_old/6710_world_trinity_string.sql => sql/updates/3.2.2a_old/6710_world_trinity_string.sql
rename : sql/updates/3.2.2.a_old/6711_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6711_world_creature_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6712_realmd_account_access.sql => sql/updates/3.2.2a_old/6712_realmd_account_access.sql
rename : sql/updates/3.2.2.a_old/6739_world_script_waypoints.sql => sql/updates/3.2.2a_old/6739_world_script_waypoints.sql
rename : sql/updates/3.2.2.a_old/6742_world_script_texts.sql => sql/updates/3.2.2a_old/6742_world_script_texts.sql
rename : sql/updates/3.2.2.a_old/6742_world_script_waypoints.sql => sql/updates/3.2.2a_old/6742_world_script_waypoints.sql
rename : sql/updates/3.2.2.a_old/6742_world_scriptname.sql => sql/updates/3.2.2a_old/6742_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6748_world_command.sql => sql/updates/3.2.2a_old/6748_world_command.sql
rename : sql/updates/3.2.2.a_old/6751_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6751_world_creature_classlevelstats.sql
2010-01-12 19:02:54 -07:00
teacher
482604b103 Fixed typo in previous commit. I misunderstood the fix.
Thank you Aokromes for being there!

--HG--
branch : trunk
2010-01-13 21:43:36 +01:00
teacher
42d904a8bf Added long forgotten sql update for Rev6693 (Add support for RewSpellCast=-1. If -1 remove all auras applied to player at quest start).
Thank you Warhead.

--HG--
branch : trunk
2010-01-13 21:28:35 +01:00
Trazom62
445a603bef Fix ACTION_T_RANDOM_PHASE_RANGE. Thanks Nayre and raczman
--HG--
branch : trunk
2010-01-12 21:16:12 +01:00
Trazom62
6cf82048a5 Fix normal10/normal25 raid detection in scripts.
Replace HEROIC(n,h) macro by DUNGEON_MODE(n,h), RAID_MODE(n10,n25) and RAID_MODE(n10,n25,h10,h25) functions
Cleanup all HeroicMode like flags in ScriptedAI sub-class
Fix some missing virtual destructors

--HG--
branch : trunk
2010-01-12 20:51:59 +01:00
n0n4m3
aeb008d4ef Set close and delete unknown packets - helps with DDOS atack.
Print ip address and port for unknown packets(if debug mode on) - helps determine the ip address of the attacking.

--HG--
branch : trunk
2010-01-12 21:08:40 +03:00
_manuel_
943b3195da Fix stats table to update 2 missing health values by Malcrom.
--HG--
branch : trunk
2010-01-12 15:03:31 -03:00
_manuel_
147def72eb Sholazar Basin: Core support for quest Crocolisk Mastery: The Ambush .
--HG--
branch : trunk
2010-01-12 14:12:48 -03:00
teacher
2168df1500 Missing updated file added for last commit.
How about me saving the damn file before committing first...

--HG--
branch : trunk
2010-01-13 09:49:51 +01:00
teacher
a3657794e8 world.sql finally updated to current rev.
Finished renaming single sql update files.

--HG--
branch : trunk
2010-01-13 09:46:19 +01:00
teacher
f39e058d9a Second part of sql files renaming not following Trinity standard.
Update world.sql too. Final part later today to complete the work.

--HG--
branch : trunk
2010-01-13 08:34:51 +01:00
_manuel_
1b4f8af276 Zul'Drak: Trying to fix some crashes.
--HG--
branch : trunk
2010-01-12 03:13:11 -03:00
_manuel_
4a366a5e6e Closes #292. Updates flag respawn timer from battlegrounds and updates max score and score warning from Eye of the Storm. Fix by naitsabes.s
--HG--
branch : trunk
2010-01-12 02:14:05 -03:00
_manuel_
a7c23494c3 Fixed spell 44401 (Missile Barrage). Thanks to QAston.
--HG--
branch : trunk
2010-01-11 20:44:13 -03:00
QAston
758baae61b *Make sure that any aura (in case of aura remove linked auras for example) won't survive Unit::RemoveAllAuras.
--HG--
branch : trunk
2010-01-12 00:14:09 +01:00
teacher
3ddea83ffa First part of renaming sql update files which did not respect Trinity standard.
Moved old sql update files to sql\updates\3.2.2a_old folder.

--HG--
branch : trunk
2010-01-12 21:06:54 +01:00
Astellar
b2082db189 Do not compute incoming time for self casts.
--HG--
branch : trunk
2010-01-11 22:24:31 +03:00
XTZGZoReX
ebc5901161 * Fix crash when there's no creature_classlevelstats entry for a creature level.
* All this really does is fill in default values of 1.. If you got custom content, you'll have to fill in the creature_classlevelstats table yourself. This patch doesn't automagically fix stats for you.

--HG--
branch : trunk
2010-01-11 18:13:21 +01:00
Astellar
879948260f Fixed typo.
--HG--
branch : trunk
2010-01-11 20:01:16 +03:00
Astellar
2564f5470a Fixes Issue #153. Earth Shield should not proc from positive spells. So flag PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL is removed.
--HG--
branch : trunk
2010-01-11 18:58:23 +03:00
Brian
378388d0a6 * Add support for .gobj target to output phaseMask
* Thanks to Aokromes for the original idea of adding it to .npc info output.

--HG--
branch : trunk
2010-01-10 19:03:47 -07:00
XTZGZoReX
f05147a90f * Aaaaand, the SQL for the last commit. All done by Malcrom <3.
--HG--
branch : trunk
2010-01-10 22:10:08 +01:00
XTZGZoReX
a66152215e * Add support for base armor values in creature_classlevelstats.
* Change the table structure to be more core-friendly.
* Remove armor field in creature_template and add Armor_mod field.
* Also add static CreatureBaseStats::GetBaseStats() function for scripts.

--HG--
branch : trunk
2010-01-10 22:02:03 +01:00
QAston
997a861a41 * Fix a typo in spell id number - thanks to Visagalis for pointing this out.
--HG--
branch : trunk
rename : sql/updates/6959_characters_character_aura.sql => sql/updates/6962_characters_character_aura.sql
rename : sql/updates/6959_characters_pet_aura.sql => sql/updates/6962_characters_pet_aura.sql
2010-01-10 21:40:13 +01:00
silver1ce
8c85caf41d Resolves #259 fixed crash, caused by incorrect cell_id generation
--HG--
branch : trunk
2010-01-10 22:28:36 +02:00
QAston
bf33b9b494 *Merge after backout.
--HG--
branch : trunk
2010-01-10 21:24:39 +01:00
QAston
4374709a38 Backed out changeset 343bb9cc23ce - mistake fixed in last commit was the real problem.
--HG--
branch : trunk
2010-01-10 21:24:02 +01:00
QAston
929a43bb53 * Fix a mistake in boss_satharion script which gave players very usefull auras...
--HG--
branch : trunk
2010-01-10 21:19:04 +01:00
Astellar
f41e837143 Addition to previous commit.
--HG--
branch : trunk
2010-01-10 22:42:41 +03:00
Astellar
40f70a8594 Fixed quest Catch and Release, some fixes for Tag Murloc spell.
--HG--
branch : trunk
2010-01-10 22:37:31 +03:00
QAston
ef24d90472 * Make sure that aura is applied on unit before trying to remove it.
--HG--
branch : trunk
2010-01-10 20:09:44 +01:00
Astellar
4bd6d06e26 Fixed typo.
--HG--
branch : trunk
2010-01-10 22:01:18 +03:00
_manuel_
17d4de192b Removed unnecessary sentence.
--HG--
branch : trunk
2010-01-10 15:39:18 -03:00
Brian
1e7087c75c * add armor output in .npc info
--HG--
branch : trunk
2010-01-10 16:11:24 -07:00
Paradox
6b05543087 All sql updates MUST have at least one newline at the end.
--HG--
branch : trunk
2010-01-10 13:29:24 -05:00
Rat
9118b5313c *removed not existing file from VC90 project file
--HG--
branch : trunk
2010-01-10 18:26:35 +01:00
_manuel_
8d4aad2636 Merge
--HG--
branch : trunk
2010-01-10 14:14:40 -03:00
_manuel_
2eafa17483 Borean Tundra: Improvements in lurgglbrAI by Kudlaty.
--HG--
branch : trunk
2010-01-10 14:13:33 -03:00
QAston
2a5493a4bc *Merge
--HG--
branch : trunk
2010-01-10 17:50:20 +01:00