Commit Graph

6627 Commits

Author SHA1 Message Date
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
CeIa
b87cc31106 Scripts/Events/Achievement: fix 'Out With It'
Credits to @darkman1983

Closes #8211
Closes #8126

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-14 01:23:53 +00:00
Vincent_Michael
36c3395bea Core/Quest: Fix reputation calculation for SPELL_AURA_MOD_REPUTATION_GAIN 2012-12-12 20:32:05 +01:00
Vincent_Michael
ebae4ab249 Core/Hunter: Fix Call of the Wild targets
Closes #8618
Closes #8610
2012-12-10 10:36:59 +01:00
WishToDie
6266303841 Fix crash in Blackfathom Deeps.
Thx Vincent-Michail
Closes #8557
2012-12-10 07:06:11 +02:00
Gacko
d34a9df70a Core/DB: Last fixes for creaturetext conversion 2012-12-09 20:03:17 +01:00
Vincent_Michael
7e28938dd0 Core: Fix more warnings 2012-12-09 18:13:41 +01:00
Vincent_Michael
e7cb10f49b Core: Fix warnings 2012-12-09 17:34:21 +01:00
Subv
01f118bf77 Merge pull request #8416 from MrSmite/PetAI_2.0
Core/PetAI: Several changes.
Closes #7455
Closes #8398
2012-12-09 07:50:33 -08:00
Shauren
b65a88eeec Merge pull request #8590 from joschiwald/homebind
Core/Player: correct SetHomebind and usage of it
2012-12-09 02:33:34 -08:00
joschiwald
5c33c54054 Core/Player: correct SetHomebind and cleanup Spell::EffectBind 2012-12-08 23:46:16 +01:00
MrSmite
777b287dff PetAI - Overhaul / bug fix
* Aggressive pets now use aggro radius check based on level diff of target
  * Aggro radius limited to max 45 yards (per wowwiki)
  * Pets no longer "dance" when fighting a creature
  * Pets returning will defend themselves (if not passive) if owner didn't click "follow"
  * Pets at stay will properly pick up their owner's attackers that pass within range
  * Fix "no empty line at end of file" warning in PetAI
  * Fix typo in GetAggroRange()
  * Fix spell "Eyes of the Beast" - player can move pet freely
  * Code style cleanup

  * Update commit comment

Closes #8398, #7455
2012-12-07 22:13:57 -05:00
Vincent_Michael
1e22367ca4 Core/Scripts: Add missing creature_text for eregos 2012-12-08 01:18:26 +01:00
Vincent_Michael
0aea6c8512 Core/Scripts: Add missing creature_text 2012-12-07 19:41:30 +01:00
Vincent_Michael
3199c9d563 SQL:
- Fix startup errors
- Rename SQLs in correct name
2012-12-07 18:11:28 +01:00
Vincent_Michael
d96f80cc5d Core/Scripts: Fix crash (need convert in sai) 2012-12-07 17:37:30 +01:00
PitCrawler
5c3431337a DB/Various Fixes:
Add SAI support for Quests 11984, 12255, 12259 Closes #4787
Fix quest Seeking the Windserpent Godess, Setting the Stage Closes #8577
Fix quest Quest I Sense a Disturbance Closes #8515
2012-12-07 16:08:29 +01:00
Gacko
8fbec4156b Core/DB: Creature text for 22 script files 2012-12-07 10:04:40 +01:00
Gacko
f9c0e3c91b Core/DB: Creature text for 53 script files 2012-12-06 18:08:21 +01:00
Vincent-Michael
57e9a97bc4 Core/Map: Kill Engrish (thx Takenbacon)
Closes #8574
2012-12-06 11:27:46 +01:00
FH3095
7f8813861f Core/Mail: Fix float-calculation of expire-time 2012-12-05 11:39:45 +01:00
Vincent-Michael
082c3f4267 Core/Hunter: Fix Furious Howl targets 2012-12-04 20:50:01 +01:00
Vincent-Michael
40b010e3ad Misc/Scripts: Some fixes for creature_text 2012-12-04 20:12:48 +01:00
Vincent-Michael
5fae5b59ce Core/Reputation: Fix engrish magic number :/ (thx Shauren) 2012-12-04 16:48:57 +01:00
Vincent-Michael
c90ec469db Core/Reputation:
- Fix copy and paste fail (thx zorix)
- Add new field for monthly rate quests
2012-12-04 15:58:57 +01:00
Vincent-Michael
2b3b124e09 Core/Reputation: Implemented new reputation_reward_rate fields for dayily/weekly quests 2012-12-04 14:48:44 +01:00
ille
6b1ffb98ce core/spells: add pointercheck in Unit::HandleProcTriggerSpell() 2012-12-04 13:52:01 +01:00
Vincent-Michael
0a3972db7c Core/Quest: Removed table quest_start_scripts 2012-12-04 11:23:10 +01:00
Vincent-Michael
5a7c4f43b6 Core: Fix typo 2012-12-04 09:32:39 +01:00
blub
ac22f3632b Merge pull request #8554 from Gacko/creaturetext
Core/DB: Creature text for 26 script files
2012-12-03 15:48:43 -08:00
Vincent-Michael
b2928e59fa Core/Quest: Add support for monthly quests
Author: svetilo12
Converted and updated by: Subv
2012-12-04 00:04:06 +01:00
Gacko
33c44594cd Core/DB: Creature text for 26 script files 2012-12-03 22:10:18 +01:00
Aokromes
427d54ed5f Merge pull request #8532 from Gacko/creaturetext
Core/DB: Creature text for 37 script files
2012-12-02 18:40:13 -08:00
Gacko
a73a7dc43f Core/DB: Creature text for 37 script files 2012-12-02 19:13:57 +01:00
Vincent-Michael
bedaa21f69 Core/Condition: Move log messages to debug 2012-12-02 18:25:35 +01:00
Spp-
e150393c95 Core/SAI: Fix SMART_EVENT_PASSENGER_REMOVED event 2012-12-02 18:07:57 +01:00
Vincent-Michael
7afbacd6e1 Core/Ulduar:
- Implemented kill credit for hodir and assembly of iron
- Some cleanup
2012-12-01 17:34:00 +01:00
Subv
4a66290fb9 Merge pull request #8284 from Warpten/miscFix
Core/Spells: Misc fixes.
2012-12-01 07:38:58 -08:00
Vincent-Michael
ae4d63bb8e Core: Fix some warnings 2012-12-01 14:58:57 +01:00
blub
6a34a4a95b Merge pull request #8510 from Gacko/creaturetext
Core/DB: Creature text for 24 script files
2012-12-01 05:37:35 -08:00
blub
5bbd41656c Merge pull request #8522 from joschiwald/creature_text
Scripts/Ulduar: convert all script_texts to creature_text from this zone
2012-12-01 05:34:08 -08:00
Warpten
ff1ca5522e Core/Spells:
* Bryntroll's Drain Life should not crit.
* Bestial Wrath can be used while under CC since patch 3.3.2

Patch 3.2.2 (2009-09-22): "Bestial Wrath and The Beast Within Changed to function like PvP Trinkets, removing any movement impairing effects, and giving immunity to these effects for 10 seconds.", also the tooltip doesn't say this, but it now breaks all forms of CC that a PvP trinket would break (including Cyclone,Sap, etc.).
2012-12-01 14:21:44 +01:00
Vincent-Michael
e4f093cccc Core: Fix more typos (thx Expecto) 2012-12-01 13:51:02 +01:00
Gacko
e8186669c5 Core/DB: Creature text for 24 script files 2012-12-01 11:59:38 +01:00
joschiwald
de96841579 Scripts/Ulduar: convert all script_texts to creature_text from this zone 2012-12-01 04:27:40 +01:00
Vincent-Michael
f59ac9a945 Core: Fix typo 2012-12-01 02:21:12 +01:00
Vincent-Michael
f957dd462f Core/Conditions: Implemented CONDITION_SOURCE_TYPE_NPC_VENDOR = 23 2012-12-01 01:52:20 +01:00
joschiwald
32c4e30599 Scripts/Ulduar: cleanup Assembly of Iron 2012-11-30 21:37:46 +01:00
Vincent-Michael
ddb6c95042 Core/Spells: Convert Replenishment in spell script 2012-11-30 18:27:34 +01:00
Spp
d6aee08621 Core/Misc: Include character level in log when a character is being deleted 2012-11-30 13:59:01 +01:00