Commit Graph

29917 Commits

Author SHA1 Message Date
Aokromes
c008d244ee Core/Misc: Clarify the use of world_database.sql 2016-07-20 18:27:11 +02:00
Aokromes
8e2b32f55b Core/Misc: Better description for a log 2016-07-20 18:26:42 +02:00
Shauren
fa7026cee3 Core/Spells: Fixed spell range check
Closes #17060
2016-07-20 18:26:18 +02:00
Aokromes
4305129672 Core/Loading: output error when specified emote id for some quest-rel…
…ated tables is invalid (#17469)

* Core/Loading: output error when specified emote id for some quest-related tables is invalid
* Apply suggested changes (and kill whitespace)
2016-07-20 18:23:26 +02:00
Aokromes
2bd38e6b4a ddf 2016-07-20 18:15:15 +02:00
Gustavo
d1d8840ce6 Core/Scripts Boss Ahune Clean-up (#17320)
Remove use of flags UNIT_FLAG_NON_ATTACKABLE and UNIT_FLAG_REMOVE_CLIENT_CONTROL
Replace with correct one, UNIT_FLAG_UNK_31, imunity part now is fully handled by auras
Fix a problem with bugged orientation while casting SPELL_SYNCH_HEALTH
Use std::crono notations
Remove unneeded code

Move one spell_linked_spell to SpellScript
Fix Loot issue
Fix Possible Crash
2016-07-20 18:14:58 +02:00
jackpoz
d255975122 Core/Creature: Fix assertion triggered
Fix assertion triggered when a Creature was summoned at an invalid position with Auras loaded as Creature addons.
Fix #17415
2016-07-20 18:13:32 +02:00
Carbenium
f856e55c1d Add CLion files to gitignore
(cherry picked from commit 73779d09e9)
2016-07-20 18:12:24 +02:00
Aokromes
e0cdf97dcb Core/Pet: Fix pet at rest distance (#17206)
* Core/Pet: Fix pet at rest distance

By MrSmite, closes #10865

* Update TargetedMovementGenerator.cpp
2016-07-20 18:09:40 +02:00
Aokromes
2102f40f4b Script/Quest: Improvements for quest Corrosion Prevention (27347): (#…
…17385)

- Energized! spell should target only the caster and any player around.
- Prevent trigger from gaining threat from beneficial spell casts, getting stuck in a "gaining threat but cannot attack, reset" situation.
- The Power Core Fragment near the zeppelin crash should always be active.
2016-07-20 18:09:14 +02:00
Aokromes
09b34b64e5 Core/DungeonFinder: Add new log to allow to debug some issues
By Spp- on #14331
Enable lfg.allqueued DEBUG log. It will give more detailed info.
2016-07-20 18:08:03 +02:00
tkrokli
c58a96de47 Core/Scripts: Tom Hegger must target player in Say text (#17395)
File: zone_borean_tundra.cpp
Script: npc_hidden_cultist
Quest: The Hunt is On, 11794
NPC:  Tom Hegger, 25827

Before this change, Tom Hegger does not target player when saying his
aggro text "You don't know who you're messing with, $c!   Death beckons!"
and hence the text $c will be shown instead of the player class.
2016-07-20 18:06:29 +02:00
Treeston
257a0b5f6f Creature/Loot: Do not display "lootable" sparkles for player even if others in the group still have quest items to be looted from creature. (#16265) 2016-07-20 18:05:51 +02:00
Keader
47a89b8dcc Core/Pet: Fixed pets dont lose auras on join arena (#17185) 2016-07-20 18:04:54 +02:00
Aokromes
f35df037b6 Core/Spells: Implement SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER 2016-07-20 18:03:54 +02:00
Aokromes
aca3df92b8 DB/Misc: 3.3.5a fixes 2016-07-20 17:56:05 +02:00
Aokromes
4c09550b0f another compile fix 2016-07-20 17:12:59 +02:00
Aokromes
6d86976904 compile fix 2016-07-20 17:11:09 +02:00
Aokromes
bf5db53da6 Another build fix 2016-07-20 16:53:36 +02:00
Aokromes
8a6cbf2b89 compile fix 2016-07-20 16:48:32 +02:00
Aokromes
4e31162a42 Core/Scripts: Extended SMART_ACTION_SET_INST_DATA to also set BossStates. (#16739)
Scripts/Dire Maul: Initialize boss states array so it may be called from SmartAI. (Ref #6429)
2016-07-20 16:44:24 +02:00
Aokromes
ea24f369fd ddf 2016-07-20 16:37:26 +02:00
Andrew Letson
efc9ce2991 Core/Scripts: Migrate Professor Dabiri to SAI (#17367)
- removes Professor Dabiri from zone script and adds him to smart_scripts.
- also removes one more line of hardcoded text in core scripts
2016-07-20 16:37:08 +02:00
Alan Deutscher
7cfe75acf0 Adjustment to Player::SetViewpoint to allow for Mind Vision "hops". (#17041)
* Adjustment to Player::SetViewpoint to allow for Mind Vision "hops".

* Dynamic objects should not be a valid viewpoint for spells like Mind Vision.

* Dynamic objects should not be a valid viewpoint for spells like Mind Vision.

* Removed redundant TYPEMASK_PLAYER check.

* Moved SetSeer outside of if statement.
2016-07-20 16:36:39 +02:00
treeston
3ef2ed31e2 Instances/DrakTharonKeep: Fix Novos the Summoner. Fixes #17331. 2016-07-20 16:35:58 +02:00
Aokromes
4ea20b14fa ddf 2016-07-20 16:35:22 +02:00
ariel-
63bb3609b6 Core/Script: moved SAI to cpp for The Etymidian, closes #17053 (#17330) 2016-07-20 16:35:02 +02:00
Aokromes
416aaa8c16 delete another no longer used file 2016-07-20 16:27:40 +02:00
Tiuz90
eafbdb2678 [Core/Spells]Warrior, fixed bladestorm aura remove due to weapon swap (#16873) 2016-07-20 16:24:20 +02:00
SnapperRy
f7ac30867f Core/Movement: interrupt a creature's current cast when fleeing for assistance, and (if spell is not castable while moving) when running random/fleeing movement generators. (#17271)
Also make sure the creature is alive before updating.

Fixes #12823.
2016-07-20 16:23:41 +02:00
Keader
b917eb955f Core/Scripts Fixed Anubarak issues related with Leeching Swarm spell 2016-07-20 16:18:51 +02:00
Aokromes
c028afbf55 delete unused file 2016-07-20 16:17:52 +02:00
Aokromes
960e683ea5 Delete duplicate file 2016-07-20 16:15:58 +02:00
tkrokli
d9aeb17249 Core/Scripts: remove hardcoded text from npc_sayge
- remove hardcoded (and wrong) text from the script
- copy valid text from broadcast_text to gossip_menu_option
- gossip_menu / npc_text is already correct in TDB 335.61
- sort + clean up core script enum list and add new entries
- keep gossip handling unchanged in the script (low prio)
2016-07-20 16:15:41 +02:00
Aokromes
5ec2c5b122 delete no longer used file. 2016-07-20 16:09:34 +02:00
Aokromes
25da3f58bd Delete duplicate file 2016-07-20 16:07:41 +02:00
tkrokli
d7a2ad410a Core/Scripts: npc_grandmother gossip text moved to DB
Removing one more hardcoded text line from core scripts.
Also adding correct gossip to the npc_grandmother script.

Gossip changes in this script:
- remove hardcoded text from core script
- use existing npc_text IDs in gossip enum
- add missing text rows to gossip_menu_option
- use values from gossip_menu_option in enum
- replace spawn coordinates 0.0f with GetPosition()
2016-07-20 16:07:18 +02:00
Shauren
05f11a46ba build fix 2016-07-20 16:05:51 +02:00
DDuarte
d8bd7aa551 Core/Items: Missing renames 5faaddcf6b 2016-07-20 16:04:39 +02:00
DDuarte
3f90a9ac87 Core/Items: Rename some ITEM_PROTO_FLAG
Source: vanilla alpha pdb
2016-07-20 16:04:18 +02:00
Aokromes
d202a88b65 Core/GameObjects: Update GameObjectTemplate structure and defined more GO flags 2016-07-20 16:03:06 +02:00
Aokromes
8108126e74 DB/Misc: delete duplicate file 2016-07-20 15:55:21 +02:00
treeston
4bf80b2a47 Scripts/Instances: Fix a bug that would cause the Hodir encounter to never properly begin. Tagging issue #17302. 2016-07-20 15:54:59 +02:00
treeston
5904b4a560 Scripts/Outland: Fix a potential crash. Closes #17308. 2016-07-20 15:54:25 +02:00
Aokromes
ef28a6c817 Core/Quest: send SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest is rew…
…arded.

This updates the status of nearby questgivers and prevents them from being stuck in a state that's no longer valid (for example, stuck with yellow question mark until area update).
2016-07-20 15:54:01 +02:00
jackpoz
4aa993607a Core/Player: Fix duel edge case crash
Fix a crash that could be triggered if an aura removed after duel finished would have caused damage to one of the players.
2016-07-20 15:50:04 +02:00
treeston
a509a209c6 Revert "PvP/Dueling: Fix an edge case crash that could happen if a duel ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177."
This reverts commit 73cfbdcf9f.
2016-07-20 15:49:51 +02:00
treeston
08b78720bb PvP/Dueling: Fix an edge case crash that could happen if a duel ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177. 2016-07-20 15:49:23 +02:00
Aokromes
d7d6b76ffb DB/Misc: delete duplicate file 2016-07-20 15:48:44 +02:00
tkrokli
d1333835f7 Core/Scripts: boss_majordomo hardcoded text
2 more text lines removed in the ongoing series:
"Remove hardcoded text from core scripts".

Core script for boss Majordomo Executus:
- add missing gossip_menu_option entries
- link the options via the table gossip_menu
- remove hardcoded text from the script
- minor enum line order sorting cleanup
- replace OnGossipSelect() with sGossipSelect()

The scripted events are unchanged.
If the script is inaccurate, make a new PR.
2016-07-20 15:48:14 +02:00