Commit Graph

6681 Commits

Author SHA1 Message Date
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
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
Gacko a8b145348a Core/Spell: Add missing break. 2012-12-21 14:14:58 +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
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
Vincent_Michael e90ec5608e DB/Scripts: Implemented creature_text for Infinite Corruptor 2012-12-18 00:23:46 +01:00
Shauren 1297a93d90 Core/Scipts: Missed changes from 7be13b6fda 2012-12-17 15:01:20 +01:00
Shauren 7be13b6fda Core/Scripts: Fixed crash on shutdown 2012-12-17 11:44:41 +01:00
Trista 5a52acbe40 Core/Quest: Optimize and clean more last commit
* thx to @Gacko and @click for pointing out problems and give suggestiosn
* Sorry for the mess, forgot I can make more changes after initial change, this should be final...
* https://github.com/TrinityCore/TrinityCore/commit/48141bbfa6887095f5b4a687ca3bde516c751771
2012-12-17 10:39:54 +02:00
click aa3980c744 Core: Remove tabs, fix whitespace and fix nonPCH properly (5am, too late for this stuff...) 2012-12-17 05:39:04 +01:00
click 1f88f81c5a Core: Fix non-PCH build again 2012-12-17 04:53:32 +01:00
Trista 48141bbfa6 Core/Quest: Song of Wind and Water
* cleanned a bit and edited old @Treak fix, credits go to him, the quest will* work 100% blizzlike when target_unit_master #8643 gets a fix for vehicle. What concerns the quest is done. I've already fixed the core kill_credit issue, but needs to be discussed.
* leaving the vehicle_AI until they get integrated correctly to SAI, this can be easily converted after. Currently need to make some hacks to make it work close to good if using SAI. (specificly terrain acts weird at that place)

Closes: #5424
2012-12-17 04:37:27 +02:00
Nay 1bd820e50f Core/Player: Fix build 2012-12-17 01:28:38 +00:00
Carlos Vargas 6c6586fa43 Core/Scripts: Adding script hooks to allow for third party scripts to modify damage dealt.
Originally from the VAS Autobalance script, slightly modified.

Only addresses Spells, Dots, and Melee Damage. I'll have look at the current modules on ways of doing this but, Environmental Damage(fire/lava/drowning), Fall Damage, and Potentially AoE aren't covered by these.

Closes #7867

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-17 01:26:56 +00:00
Nay 377d6c7862 Merge pull request #8131 from flippy84/master
Core/Script: Heigan phase 2
2012-12-16 17:03:26 -08:00
Nay 352ed3ec53 Merge pull request #8667 from Kirkhammett/engi_fix
Core/Script: Fix Dimensional Ripper spell learning
2012-12-16 17:01:48 -08:00
Trista 47617bb740 Merge pull request #8565 from Trista/master
Core/Creature: Update template - reinitialize spell bar for vehicles
2012-12-16 17:01:26 -08:00
Nay 815742f44d Merge pull request #8681 from xomachine/master
Core/PetAI: Emote and autocast fixes
2012-12-16 16:56:18 -08:00
thesensei ed4bf13c44 Core/Creature: Update template - reinitialize spell bar for vehicles
* update template didn't change spell bar for players if on vehicle that updates it's template, initialize spells was needed
	* combined with faction changing, since when update is called player faction is ignored and it should be changed to his (based on sniffs)
	* the idea of this automated check inside fix SAI problems mainly, because there you have nothing to use to reinitialize the bar - closes #5254
2012-12-17 02:54:59 +02:00
Roc13x 9776bdfdfa Core/Items: DestroyItemCount also searches bank
Closes #8240

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-17 00:54:47 +00:00
Vincent_Michael f96295f6ca DB/Scripts: Implemented creature_text for Trial of the Champion 2012-12-16 21:05:05 +01:00
xomachine d39b21df8a Core/PetAI: Fix Ghouls emotions
Correction IDs of COWER and ROAR emotions for ghoul.
2012-12-15 19:26:59 +00:00
xomachine e7f0808d46 Core/PetAI: Fix pet's self-jumping
Fix issue, when pet autocast leap-like spells on itself
2012-12-15 19:23:59 +00:00
MrSmite 04f08d26a7 Implements saving of loot (items / money) contained inside lootable inventory items.
* Unlooted items / money persist across player sessions
* Loot inside items is tied to the item rather than the player so if trading
  partially looted items becomes possible, this implementation will still work

* New tables added:

    characters_database.sql (first time users)
    characters_create_item_loot.sql (existing users)

Implementation Can be tested with:

 Watertight Trunk [21113]
 Bulging Sack of Gems [25422]
 Fat Sack of Coins [11937]

Closes #2048
2012-12-15 00:06:32 -05:00
Subv 136dbd69fd Merge pull request #8583 from Gacko/scripttexts
Core/DB: Drop table script_texts
2012-12-14 18:11:31 -08:00
Filip 6611947a2a Core/Script: Fix Dimensional Ripper spell learning 2012-12-15 02:04:53 +01:00
Vincent_Michael db6195789d Core: Fix non pch build 2012-12-14 23:31:08 +01:00