Shauren
2ac6380202
Core/Auras: Allow preventing whole aura proc default handler from script hooks, just how it is possible for separate effects
2013-08-15 16:32:22 +02:00
Discover-
a0ff0233c5
Core/SmartAI: Implement SMART_TARGET_CLOSEST_FRIENDLY.
...
Parameter is distance to search for.
Closes #10521
2013-08-15 01:22:22 +01:00
Discover-
8c961687a0
Core/SmartAI: Implement SMART_EVENT_FRIENDLY_HEALTH_PCT.
...
On current clean TDB, there are a total of 106 creatures using
SMART_EVENT_FRIENDLY_HEALTH (non-PCT) which has a flat first parameter, but
only 8 of these use the event correctly (and therefore only 8 of them
actually work).
Closes #10520
2013-08-15 01:18:10 +01:00
joschiwald
73f7c1118d
Core/Spells: implemented SPELL_ATTR0_CU_TRIGGERED_BY_CASTER to correct some triggered spells, which will wrongly triggered by target instead of caster
...
Closes #1972
2013-08-14 18:22:28 +02:00
joschiwald
e87402dd05
Core/Spells:
...
- corrected structure of SMSG_PET_CAST_FAILED (fixes highlighted action buttons)
- simplified spell focus check
2013-08-14 15:45:36 +02:00
Machiavelli
783021a8cb
Fix non-pch compile
2013-08-13 14:47:45 +02:00
Vincent-Michael
dd171f6070
Core/Vehicle: Fix spell focus check for vehicle caster
2013-08-12 21:57:19 +02:00
Kirkhammett
faa2ec9732
Core/SAI: Additions to d0bde02b21
...
Signed-off-by: Nay <dnpd.dd@gmail.com >
2013-08-12 14:06:48 +01:00
Vincent-Michael
147c7d5243
Core/Spells: Fix Rogue T10 4P bonus
...
Closes #4153
2013-08-12 13:04:52 +02:00
Vincent-Michael
c18b347c61
Core/Battleground: Small code optimization
2013-08-12 01:31:28 +02:00
Vincent-Michael
4c64e407b7
Core/Spells: Convert hunter "Improved Mend Pet" in spell script
...
Closes #5597
Closes #9006
Closes #10346
2013-08-11 19:23:21 +02:00
Vincent-Michael
eefdceea71
Core/Spells: Fix client crash on pressing ESC at Using Steam Tonk Controller / Steam Tonk Controller
...
Closes #3010
2013-08-11 18:26:53 +02:00
Vincent-Michael
795e9327f7
Core/Spells: Fix hunter talent "Rapid Killing"
...
Close #1166
2013-08-11 18:19:17 +02:00
Nay
2abaf6224e
Core/Player: Add debug log when SendCanTakeQuestResponse(INVALIDREASON_*) is used
...
Intent is to find broken quest chains
Requested by Aokromes
2013-08-11 16:36:36 +01:00
Nay
d0bde02b21
Core/CreatureAI: Do not remove clone_caster auras on evade (in addition to control_vehicle auras)
2013-08-11 15:52:23 +01:00
Nay
54d2b73f3c
Merge pull request #10513 from Discover-/SmartAI-Casted-CreatureOrGo
...
Core/SmartAI: Drop support for SMART_ACTION_SEND_CASTCREATUREORGO. It is...
2013-08-11 06:26:52 -07:00
Discover-
80bd5b363a
Core/SmartAI: Drop support for SMART_ACTION_SEND_CASTCREATUREORGO. It is unused in the current newest TDB, it never even worked like it should and the exact same purpose of this function is already fulfilled by SMART_ACTION_CALL_CASTEDCREATUREORGO (the correct way).
2013-08-11 02:58:53 +02:00
Vincent-Michael
c0bf535e5b
Core/Spells: Convert "Summon Memory" in spell script
2013-08-11 02:07:42 +02:00
Vincent-Michael
c5ff184ebd
Core/Scripts: Add missing stuff in 0161012c69
2013-08-10 23:16:36 +02:00
Nay
8b08fba98d
Merge pull request #10501 from Discover-/SmartAI-Action-Set-Power
...
Core/SmartAI: Implement MART_ACTION_SET_POWER, SMART_ACTION_ADD_POWER and SMART_ACTION_REMOVE_POWER (param1 = powertype, para...
2013-08-10 12:39:32 -07:00
Kirkhammett
0161012c69
Scripts/ZulFarrak: Convert Witch Doctor Zum'rah from SAI to Cpp
...
Closes #10508
2013-08-10 20:36:45 +01:00
Nay
482720da50
Core/BattlegroundAV: Fix team variable type, "if (team == ALLIANCE)" would always return false
...
Ref 33f8c3ead4da07ff024a94b5e8cf0d05c2ebc23a#L4R1626
2013-08-10 17:35:23 +01:00
Discover-
75ca3573c8
Core/SmartAI: Implement SMART_ACTION_SET_POWER, SMART_ACTION_ADD_POWER and SMART_ACTION_REMOVE_POWER (param1 = powertype, param2 = newPower). Required for upcoming EAI to SAI conversion (for ACTION_T_SET_UNIT_FIELD) (only SMART_ACTION_SET_POWER is required for the conversion but might as well do it right when on it).
2013-08-10 14:13:17 +02:00
Vincent-Michael
dbb40dd4fe
Scripted/Pets: Move some player pets in pet_xxx.cpp
2013-08-09 19:22:16 +02:00
Nay
b7d88a3c46
Merge pull request #9817 from drskull/master
...
Core/Spell add another condition in AnyGroupedUnitInObjectRangeCheck
2013-08-09 08:46:19 -07:00
Nay
eba8c2d345
Merge pull request #10464 from Discover-/SmartAI-Set-Active
...
Core/SmartAI: Allow SMART_ACTION_SET_ACTIVE to take a parameter for on/o...
2013-08-09 08:44:56 -07:00
Nay
edf77a4cf6
Merge pull request #10493 from Discover-/SmartAI-Action-Sound-Update
...
Core/SmartAI: Rename SMART_ACTION_SOUND's parameters and get rid of an e...
2013-08-09 08:38:09 -07:00
Discover-
bd2120593d
Core/SmartAI: Rename SMART_ACTION_SOUND's parameters and get rid of an error that shouldn't be there. The method it calls doesn't take CreatureTextRange (enum) in consideration, but a boolean called onlySelf.
2013-08-09 01:05:56 +02:00
Malcrom
090f348d59
Scripting/Sethekk Halls: Move Boss Anzu from EAI to CPP and some cleanup.
2013-08-07 18:53:17 -02:30
Discover-
9d4c2c5b1e
Core/SmartAI: Implement SMART_TARGET_CLOSEST_ENEMY (25)
...
Required for upcoming EAI to SAI conversion.
Closes #10482
2013-08-07 19:59:06 +01:00
Vincent-Michael
1e8fd6489d
Core: Fix non pch build
2013-08-07 18:44:23 +02:00
Malcrom
f5e4fd67c3
Scripting: Moved Lord Valthalak from EAI to CPP. Moved all Blackrock Instances to Blackrock Mountain Dir.
2013-08-07 10:50:06 -02:30
Spp
33f8c3ead4
Core/Battleground: Get rid of dinamic casts BattlegroundXX outside Battleground scope by implementing generic functions (2/2)
...
- CheckAchievementCriteriaMeet
2013-08-07 11:13:53 +02:00
Spp
b05665660a
Core/Battleground: Get rid of dinamic casts BattlegroundXX outside Battleground scope by implementing generic functions (1/2)
...
- HandleQuestComplete, CanActivateGO and IsSpellAllowed
2013-08-07 10:31:13 +02:00
Spp
f245124127
Core/Misc: Avoid heap allocation when performing some RBAC checks
2013-08-07 08:42:53 +02:00
Discover-
d87b0fff2f
Core/SmartAI: Allow SMART_ACTION_SET_ACTIVE to take a parameter for on/off (true/false). Required for upcoming EAI to SAI conversion ( https://github.com/Discover-/EventAI-to-SmartAI )
2013-08-07 02:41:58 +02:00
Kirkhammett
c8bfb9cf4d
DB&Scripts/Icecrown: Fix quest The Last Line Of Defense and script Argent Cannons
...
Closes #998
Closes #10460
2013-08-06 23:16:03 +01:00
Vincent-Michael
75e6c40630
Core/Misc: Rename some no name enums
2013-08-06 21:16:05 +02:00
Nay
ebaee135c9
Server/Player: Fix a logical mistake in ApplyEquipCooldown
...
Thanks Joschiwald
2013-08-06 18:19:18 +01:00
Nay
8dfaf27d25
Merge pull request #10245 from Mihapro/master
...
Core/SmartScripts
2013-08-06 08:55:41 -07:00
Tanner Carter
0253a7618a
Battlegrounds/IC: Fix achiev Back Door Job
...
giggity
Closes #10043
Closes #3776
Closes #3194
2013-08-06 16:53:45 +01:00
Nay
8dccf61005
Merge pull request #10445 from Discover-/Cooldown-Exploit
...
Core/Items: Fix an exploit where players would be able to reset the cool...
2013-08-06 08:35:57 -07:00
Nay
1bf1f95a8e
Merge pull request #10455 from Discover-/Battleground-Reinterpret-Casts
...
Core/Misc: Implement reinterpret casts for all battleground classes and ...
2013-08-06 08:31:59 -07:00
Discover-
233a154e77
Core/Misc: Update const casts of ToBattlegroundX to use reinterpret_cast as well.
2013-08-06 17:30:23 +02:00
Discover-
7f744de746
Core/Misc: Implement reinterpret casts for all battleground classes and use them.
2013-08-06 13:26:52 +02:00
Nay
a71fcee27d
DB/Schema: Rename _questrelation tables to _queststarter and _involvedrelation to _questender, for creature and gameobject
2013-08-06 00:04:29 +01:00
Nay
2bd4049890
Scripts/Commands: Fix compile (v2)
2013-08-05 22:55:06 +01:00
Nay
8af6e6ca79
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2013-08-05 20:00:08 +01:00
Nay
ccdba0859d
Core/Items: Correct randomProperlyId type when reading to/from DB
...
Ref #10446
2013-08-05 19:59:54 +01:00
Vincent-Michael
f37d0495e1
Core/Commands: Add .npc info more infos for unit_flags
2013-08-05 20:13:04 +02:00