Commit Graph

10251 Commits

Author SHA1 Message Date
Subv
c33a1724ae Core/Spells: Spells that are usable while stunned should no longer have problems with stun auras that don't apply any mechanic. 2012-12-23 13:21:00 -05:00
stfx
51fadb57e0 Allow setting afk/dnd message in afk/dnd state
Also use the same variable to store the message for AFK and DND

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-23 17:49:47 +00:00
stfx
01ef119703 Fix receiving whispers while being dnd
Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-23 17:49:46 +00:00
Subv
a0ad8f7a46 Core/Entities: Also send MSG_MOVE_TELEPORT to the player 2012-12-23 12:39:51 -05:00
Gacko
006cc1797a Core: Fix warning
boss_sindragosa.cpp:235: warning: unused parameter ‘killer’
2012-12-23 18:04:42 +01:00
Nay
79b1895223 Merge remote-tracking branch 'origin/master' into mmaps 2012-12-23 16:02:26 +00:00
Subv
24466d721c Core/Entities: Missing change from previous commit
Calling UpdateObjectVisibility() will make sure that the semi-far teleports (those where the destination position is not in direct sight) will work correctly.
2012-12-23 09:33:29 -05:00
Subv
143340b38c Core/Movement: Fixed near teleports, big thanks to @Trista who basically figured this out on his own. 2012-12-23 08:09:56 -05:00
Shauren
621a249188 Scripts/Icecrown Citadel: Fixed a possible crash in Blood Nova spell script
Closes #7046
2012-12-23 12:42:28 +01:00
MrSmite
8ce003700c Fix pets lagging behind and despawning by slightly adjusting speed
if too far from owner.

Closes #8740
2012-12-23 00:13:05 -05:00
Subv
3f4c6a9d45 Merge pull request #8739 from MrSmite/PetAI_CanAttack_bugfix
Fix a minor PetAI behavioral issue
2012-12-22 09:23:55 -08:00
MrSmite
09204f1534 Update src/server/game/Entities/Unit/Unit.h 2012-12-22 12:04:10 -05:00
MrSmite
9a5b17d536 Update src/server/game/AI/CoreAI/PetAI.cpp 2012-12-22 12:01:51 -05:00
Gacko
2302b04a06 Core/Spell: Last work on Shadows Fate
- Shadows Fate can now be applied by more than just one player at the same
   time. So on everyone who hits the unit the credit spell with the visual
   will be casted on death.
- The AOE credit spells for the three infusion quests will be casted by
  the boss once. If this would be done on proc, these AOE spells could be
  casted up to 25 times.
  -> 25 AOE credit spells plus 25 Soul Feast credit spells equals Sh**
2012-12-22 17:49:51 +01:00
Gacko
8cbb3763dd Core/Spell: Shadows Fate crash fix 2012-12-22 16:42:46 +01:00
Trista
aabfa3afae Core/Spell: Properly rewrite previous change: 80dcf879de
* thx to @joschiwald for noticing problem and helping, see rest info in comment or previous fix
2012-12-22 06:32:45 +02:00
Trista
80dcf879de Core/Spells: TARGET_UNIT_MASTER passenger support
* what happened before was spells casted from vehicle to passenger getting blocked by general check exceptions that state passengers to be not implicitly spell hit, however they should be ignored when caster is vehicle to master passenger
* fix a lot of quests that award kill credit that was blocked before
* precisely closes: #8643 and makes #5254 awardable
2012-12-22 04:28:31 +02:00
MrSmite
4c9451d54c Fix pet stopping approach when attacked by another creature
Fix pet placed on stay after "attack" not attacking new attackers

Closes #8735
2012-12-21 20:57:22 -05:00
kaelima
a0239c2210 Fix last merge 2012-12-22 02:22:44 +01:00
joschiwald
c19f78c363 Core/Conditions: implement CONDITION_SOURCE_TYPE_SPELL_PROC and use it in old and new proc system
Usage:
SourceTypeOrReferenceId: 24
- SourceGroup: always 0
- SourceEntry: spell id of aura which triggers the proc
- ConditionTarget:
 * 0 - Actor
 * 1 - ActionTarget
2012-12-22 01:37:54 +01:00
Vincent_Michael
a3b34e2894 Core: Fix more some codestyle 2012-12-22 01:13:56 +01:00
Vincent_Michael
63ea4b1056 Core: Fix some codestyle in 957571e18c 2012-12-21 22:22:36 +01:00
Mislav Blažević
36ba35285b Fix 2012-12-21 18:24:21 +01:00
Mislav Blažević
8b34792887 Update 2012-12-21 14:59:40 +01:00
Gacko
a8b145348a Core/Spell: Add missing break. 2012-12-21 14:14:58 +01:00
kaelima
0a88787dfc Merge git://github.com/TrinityCore/TrinityCore into mmaps
Conflicts:
	src/server/game/Entities/Vehicle/Vehicle.cpp
	src/server/game/Movement/MovementGenerator.h
	src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/ConfusedMovementGenerator.h
	src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.h
	src/server/game/Movement/MovementGenerators/IdleMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/IdleMovementGenerator.h
	src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/PointMovementGenerator.h
	src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.h
	src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
	src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.h
	src/server/game/Movement/Spline/MoveSpline.h
2012-12-21 00:00:16 +01:00
Gacko
410586cf43 Core/Spell: Shadow's Fate conditions
Some of the quests only can be done in 25man mode
2012-12-20 23:56:09 +01:00
Mislav Blažević
d38dfa82e0 Script/AQ: Rewrite Skeram
Add spell_target_position for Skeram

Viscidus cosmetic fix

Cosmetic fix

Cosmetic fix .sql
2012-12-20 17:00:00 +01:00
Subv
957571e18c Merge pull request #8662 from MrSmite/ItemContainer_1.1
Item Loot Saving
2012-12-20 07:00:29 -08:00
Gacko
04a3939a23 Core/Spell: Reimplement Shadow's Fate check 2012-12-20 14:44:26 +01:00
Gacko
699354d8ef Core/Spell: Shadow's Fate should hit every unit
See #8723 for further information
2012-12-20 10:01:07 +01:00
Kaelima
05c38b20ea Merge pull request #8668 from joschiwald/random_changes
Core/Misc:
2012-12-19 23:48:00 -08:00
Gacko
4f956d7782 Core/Spell: Improve/correct last commit 2012-12-19 22:40:14 +01:00
Gacko
86230e2756 Core/Spell: Fix Shadow's Fate aura
The aura proccs on unit's death. The unit should cast the credit spells
to
all players of the raid. I'll finish my work later.
2012-12-19 22:38:07 +01:00
Mislav Blažević
200968c2dd Script/AQ: Add Creature Text for Viscidus and fix model scaling 2012-12-19 13:29:55 +01:00
joschiwald
f4e7cde1b5 Core/Misc:
- some simplifications in reputation calculation
- removed aura in SPELL_AURA_LINKED should depends on SpellDifficulty
- remove some unneeded variable declarations when it's already declared
- remove some hacks
- fix some warnings in Lfg stuff
- some codestyle changes
2012-12-19 12:55:51 +01:00
Nay
28dffbee11 Core/AuctionHouse: Partially revert 3cf2600688 to keep compatibility with the "AHBot patch"
Note: Trinity needs/wants an auction house bot in the core but for that to happen AHBot needs to be rewritten (possibly using Mango's implementation as a base)
2012-12-18 23:25:31 +00:00
Vincent_Michael
7dd019e7bb Misc/Script: Convert winter veil mistletoe event in sai 2012-12-18 22:27:48 +01:00
MrSmite
3cf2600688 Core/AuctionHouse: Fix a possible auctionhouse crash 2012-12-18 21:34:02 +01:00
Vincent_Michael
bcff526d28 Core/Script: Add missing changes in c364c367b1 2012-12-18 19:31:41 +01:00
Vincent_Michael
c364c367b1 Core/Script: Fix some codestyle and warnings 2012-12-18 19:16:00 +01:00
Vincent_Michael
3e318686b0 Core: Fix non pch build 2012-12-18 15:33:15 +01:00
Gacko
40292d9a19 Core/DB: Assign texts to correct creatures
Also convert some never used script texts to creature text for future use.
Some scripts or Talk() calls need to be implemented first.

Solves #8659
2012-12-18 15:19:13 +01:00
Mislav Blažević
9991f4ae2d Implement Viscidus AQ40
Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-18 14:09:27 +00:00
Vincent_Michael
c75d274362 Core: Fix typos 2012-12-18 14:46:06 +01:00
Vincent_Michael
bb93eb0f7e Core/Character: Fix logic fail with world state in b2928e59fa 2012-12-18 14:13:09 +01:00
Aokromes Name
5d77b10c35 Core/Account: Add logs for password change and fail change password 2012-12-18 01:58:12 +01:00
Vincent_Michael
3f82ac9ea7 Core: Fix non pch build 2012-12-18 01:49:08 +01:00
Trista
8c286f2b61 Server/Quest: Convert quest_end_script and drop of some c++
* drop off c++ script of Clintan Dreamwalker ID: 22834
* convert quest_end_script of 10964 to SAI
* rewrite and add bigger event support
* add a checker to his summon so the spirit script can trigger event alone (I didn't try to rewrite next quest...)

Closes: #8689
2012-12-18 02:03:30 +02:00
Trista
323989cc47 Core/Spells: Fix a typo in Bombing Run quests
* no idea how this number left like this for so long unseen, good it filters 1 target
2012-12-18 02:03:29 +02:00