Commit Graph

1054 Commits

Author SHA1 Message Date
QAston
fe25ce4fa3 Core/AI: Replace many Unit::IsHostileTo with Unit::IsValidAttackTarget or Creature::canCreatureAttack. 2011-09-17 00:56:59 +02:00
QAston
c0b1823524 Core/Entities: Replace Unit::canAttack usage with more accurate Unit::IsValidAttackTarget 2011-09-16 23:49:31 +02:00
Shauren
c93c27d056 Scripts/Icecrown Citadel:
* Mark of the Fallen Champion should be a debuff
* Fixed periodic damage taken from Twisted Nightmare on heroic difficulties of Valithria Dreamwalker encounter
2011-09-16 11:29:35 +02:00
Spp
6c943bfb08 Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes 2011-09-16 10:53:24 +02:00
Shocker
7afb179185 Misc/Util: Add a template function for returning a random element from any container 2011-09-15 21:28:40 +03:00
Nay
791acfebac Core/Spells&GOs: Fix Ritual of Doom.
Thanks QAston and Shocker for helping.
Closes #2535
2011-09-15 17:52:35 +01:00
Spp
af05915b9e [Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions) 2011-09-15 14:12:57 +02:00
Nay
bff26d9319 Scripts/TOC: Anub'arak should enrage after 10 minutes, not 15. By telsamat.
Closes #2289
2011-09-15 01:46:32 +02:00
QAston
decb20f079 Merge pull request #2991 from megamage/master
Core/Entities: Do not call AddObjectToRemoveList(Pet*) in Map::MoveAllCreaturesInMoveList() - Closes #2892.
Scripts: Fix a crash in npc_brunnhildar_prisoner script. Closes #2825.
2011-09-14 14:27:21 -07:00
kaelima
60f7737272 Core/DataStore: Add struct for LiquidTypeEntry.dbc, unused for now. 2011-09-14 15:02:12 +02:00
Spp-
33ce07bdde Core: Minor cleanups (here and there)
- Fix warning
- Fix some typos
- Correct upper 'for' limit in LoadSkillLineAbilityMap
- Remove use of magic number in a query related to security levels
2011-09-13 14:15:35 +02:00
megamage
937d26e0fe Temp fix of crash caused by npc_brunnhildar_prisoner script. Solve #2825, #2880 and #2772. 2011-09-12 13:00:01 -04:00
Nay
12f5bacb10 Script/Oculus: Fix yells of Drakos.
Closes #831
2011-09-12 00:05:29 +01:00
QAston
ec7da6f911 Core/ScriptedAI: remove ScriptedAI::CanCast function which is not functioning properly (compare that func with Spell::CheckCast to see how it should work) and is unused. Closes #2275. 2011-09-12 00:20:37 +02:00
ZxBiohazardZx
dad5b0bb3c DB/NPC: Spawn npc 25589 and fix some issues in its core script.
Closes #784.
2011-09-11 23:17:24 +01:00
QAston
06b9ae6e11 Core/Unit: Define UNIT_FLAG_UNK_0 as UNIT_FLAG_SERVER_CONTROLLED and remove related redundant creature_template data. 2011-09-11 11:41:55 +02:00
Spp-
45af1238cf Conditions/DisableMgr: converted from singleton to namespace with free functions. 2011-09-09 14:27:23 +02:00
Kaelima
2748ce9e83 Merge pull request #2930 from Fredi/clean
Core/Scripts: Code style and cleanups in npc_special.cpp
2011-09-08 15:40:34 -07:00
Nay
16b76a3119 Core/Scripts: Correct a wrong spell id used in ZG 2011-09-08 19:14:56 +01:00
Spp
d46ef045a6 Fix a typo in 327fe7c than changed the logic of a function and simplify IsXXXAccount functions 2011-09-08 18:32:52 +02:00
Spp-
327fe7c247 Core: Define helper functions to know if an account is Player, Moderator, GM, Admin or Console 2011-09-08 15:11:55 +02:00
Spp-
eddcb8ffbf AccountMgr singleton converted to namespace with free functions as it has no internal state 2011-09-08 10:49:58 +02:00
kaelima
6078eebc45 Fix typo in 9d90c8245b and unintended change in b08900d033b51632e9adef8cb227a71a1061be5f. 2011-09-07 15:09:53 +02:00
kaelima
5e81be4fec Scripts/Ruby Sanctum: Remove unneeded spellscript for Baltharus.
Also let his clone cast enervating brand.
Thanks Shauren.
2011-09-07 09:35:30 +02:00
Spp-
31c615b84f Core/OutdoorPvp: Remove usage of "friend class ..." (Use functions to access private members) 2011-09-07 00:11:43 +02:00
Fredi Machado
2baca2d3ca Core/Scripts: Code style and cleanups in npc_special.cpp
- Removed hungarian notation
- moved types before the const keyword
- applied TC code style
- some code cleanups
2011-09-06 10:16:21 -03:00
Kaelima
cf0921f656 Merge pull request #2889 from Kiperr/master
Small visual correction
2011-09-05 02:39:47 -07:00
QAston
fab78d5e02 Scripts/Vault of Archavon: Earth, Wind & Fire achievement - by idostyle@zoit, with some spell attribute correction to the patch by me. 2011-09-03 21:16:12 +02:00
horn
43052a47e1 Core/Achievements: Fixed some Alterac Valley achievements:
- Stormpike Perfection
- Frostwolf Perfection
- Everything Counts
2011-09-03 18:53:26 +02:00
QAston
f31e676199 Fix build after recent pull merges. 2011-09-03 18:07:27 +02:00
kiper
4862184f1f Core/Script: Mootoo the Younger should stand befoure start escort 2011-09-03 18:00:52 +02:00
QAston
dc01541111 Merge pull request #2852 from Chaplain/cleanup2
Core/Misc: Cleanup - remove unused variables, add some const modifiers to functions, fix process of args in vmap3_extractor
2011-09-03 08:34:02 -07:00
QAston
82e7b11df1 Merge pull request #2778 from KoffeinKaio/master
Fixed spellid's from Zul'Gurub encounters High Priest Thekal and Bloodlord Mandokir (&adds).
2011-09-03 08:27:37 -07:00
QAston
7871ead798 Merge pull request 'Fix quest New Recruit(13143) & Fix quest King of the Mountain(13280&13283)' from Kiperr/TrinityCore 2011-09-03 16:44:05 +02:00
QAston
0ba79e0078 Merge pull request: The Val'kyr Twins Clean up and Implements from 'Drethek/master' 2011-09-03 16:26:49 +02:00
Shauren
663e00dc1e Scripts/Icecrown Citadel: Despawn Rot worms when reseting Valithria Dreamwalker
Closes #2875
2011-09-03 11:05:35 +02:00
Shauren
f15704d22b Some missed things 2011-09-03 10:03:21 +02:00
Shauren
d4df023e62 Oops, missed this (could have caused crashes) 2011-09-02 23:53:04 +02:00
Shauren
7e2c7a6989 Scripts/Icecrown Citadel
* Replaced custom check classes with new Trinity::UnitAuraCheck
* Rotface will no longer select separate players for each effect of Mutated Infection

Closes #2866
2011-09-02 23:49:23 +02:00
Nevan
0d1f945c0f Twin Val'kyr - Summon Portals before spawn Val'kyrs 2011-09-02 15:58:14 +02:00
Nevan
cdf70d44ee Twin Val'kyr - Do not enter in combat on start 2011-09-02 14:49:21 +02:00
Shauren
b5cfd08a10 Scripts/Icecrown Citadel
* Despawn all kind of summons when Blood Prince Council encounter finishes
* Properly remove Delirious Slash debuff on all difficulties
* Increased delaying events when Blood-Queen Lana'thel's air phase happens, she should no longer cast anything before flying
* Remove Mutated Infection debuff when Rotface dies
2011-09-02 12:52:27 +02:00
Nevan
5900c2dac8 Typo on last commit 2011-09-02 01:26:35 +02:00
Nevan
6c0c151a9f Twin Val'kyr - Implement Dual Wield on Power of the Twins spells. 2011-09-02 01:19:40 +02:00
Chaplain
bea649d045 Core: cleanup.
*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
2011-09-01 22:38:32 +03:00
QAston
68037cdc3c Scripts/Commands: Allow c++ style comments in opcode.txt file for .debug send opcode command. 2011-09-01 10:46:15 +02:00
QAston
71b9e0d8de Core/Spells: Make mind sear aoe no longet target unit at which caster is channeling the spell. 2011-09-01 09:07:14 +02:00
Nevan
98024367e5 Twin's Valk Removed Hardcoded Healing 2011-09-01 03:49:53 +02:00
Shauren
b12c75ecfa Scripts/Icecrown Citadel: Fixed Blood-Queen Lana'thel's target selection for Bloodbolt Whirl 2011-09-01 00:00:19 +02:00
Shauren
0fb5c2947f Revert "Rotface should only cast Mutated Infection on one player."
This reverts commit b0ec389e1f.
2011-08-31 23:58:41 +02:00