Commit Graph

29718 Commits

Author SHA1 Message Date
Killyana
c52a149bd3 DB/Creature: Add Wounded Outrunner spawn
Fix curhealth and health regen for Wounded Deathguard
2015-12-14 20:09:43 +01:00
ShinDarth
3d1614b622 Core/Arena: create more arena configs
- made rating modifiers configurable
- made arena points rate configurable
2015-12-14 20:09:07 +01:00
pete318
0ac442f19f Improved Auction house deposit handling.
Including the weird quirks.

Changes:
* Deposit caculated according to same rule as client. (detailed below). Should always match client deposit now
* Deposit for multiple auctions now only collected once. Deferred calculation of deposit until all auctions listed.

Deposit calculation is as follows:

Base deposit calculation = MSV x 15/75% (depending on AH). However this is not rounded. Case to int is used (so always round down)
The remainder is held in a float.
The base is then multiplied by number of items, and the time multiplier (x2 for 24 hour, x4 for 48 hour)
The nearest (no of items or lower) no of items when multiplied by the remainder that creates a whole number is then multiplied by the time multiplier (x1/x2/x4) and then added to deposit.

Example:

Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 1 = 36c. Remainder = 0.75 (n) Min = 1s. Deposit 1s
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 2 = 72c. Remainder = 1.50 (n)  Min = 1s. Deposit 1s
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 3 = 108c. Remainder = 2.25 (n) Min = 1s. Deposit 1s08c
Item sell price 1s25. Deposit 18.75c (15% of 1s25). So base deposit = 18, remainder 0.75. Time 24h (x2) Item count 4 = 144c. Remainder = 3.00 (n) Min = 1s. Deposit 1s50c (144c + (3c * 2))

Horrible kludge, to re-create a very weird deposit method.

Closes #15674 (PR)
Closes #15643 (Issue)
2015-12-14 19:54:58 +01:00
Killyana
2f3229d0ac DB/Creature: Add missing training dummy on Eversong Woods for class quests 2015-12-14 18:33:46 +01:00
Vincent-Michael
54424aff30 Scripts/Pets: Fixed non pch build part 3 ... 2015-12-12 18:00:22 +01:00
Vincent-Michael
47d54ce859 Scripts/Pets: Fixed non pch build part 2 2015-12-12 17:56:03 +01:00
Vincent-Michael
677f281b9a Scripts/Pets: Fixed non pch build 2015-12-12 17:52:16 +01:00
jackpoz
263f127d07 Merge pull request #14896 from Ofinka/dupl 2015-12-12 17:43:35 +01:00
Shauren
b3e718dcca Removed unneeded loop from previous commit, copypaste fail from 6.x 2015-12-12 00:06:59 +01:00
Shauren
f72795240a Core/Creatures: Implemented automatic detection of trigger models, their order in creature_template no longer matters
(cherry picked from commit c488fb219a)
2015-12-11 23:51:04 +01:00
Killyana
0170b79ae9 DB: Fix a Typo 2015-12-11 19:32:26 +01:00
Killyana
e66eaddc24 DB/Quest: Return to the Earth
Add a despawn action when the item is used
Fix some creature_addon
Add some missing spawns
Add unit_flags immune to npc for dead drakes
Closes #15984
2015-12-11 19:19:22 +01:00
ShinDarth
4a532a71b6 Core/Quest: code style:
- Removed 11 useless for iterations (for each quest loaded)
2015-12-10 22:03:19 +01:00
jackpoz
80ed03a84d Merge pull request #15402 from chaodhib/taunt_player 2015-12-09 22:08:43 +01:00
Killyana
c182ea010c DB/Creature: Grizzly Bear
Closes  #15965
2015-12-09 17:12:49 +01:00
Killyana
49e70f8eb4 DB: New line 2015-12-09 16:53:04 +01:00
Killyana
dca2c11081 DB/SAI: Fix Arena Treasure Chest spawning position
Closes #15580
2015-12-09 16:51:21 +01:00
Shauren
cc685ac334 Core/Items: Fixed a possible crash with soulbound tradable items
Closes #15700

(cherry picked from commit 094f505e40)
2015-12-08 18:02:43 +01:00
Naios
7773984f94 Dep/CppFormat: Update cppformat to cppformat/cppformat@5c76d107cb
(cherry picked from commit aa3020c26d)
2015-12-08 16:46:15 +01:00
jackpoz
187e45d24b Merge pull request #15910 from Treeston/3.3.5-maexxna 2015-12-08 12:40:04 +01:00
Killyana
b6942cd090 DB/SAI: Reduce the LOS for snow mounds from 15 to 7 yards 2015-12-08 00:30:33 +01:00
Killyana
f6e709cde3 DB/Creature: Gubber Blump
Add gossip option to learn fishing if the quest 1141 is taken an fishing is not learned
Closes #15954
2015-12-08 00:16:53 +01:00
jackpoz
2cb54d5606 Core/Player: Fix crash related to vehicles
Fix assertion triggered when entering a vehicle while channelling a shared vision spell.
Fix #15953
2015-12-07 23:34:00 +01:00
jackpoz
5b8b32dac7 Core/Quest: Fix issues reported by static analysis 2015-12-07 20:55:33 +01:00
jackpoz
3267c90102 Core/Unit: Add Unit::KillSelf() overload
Add Unit::KillSelf() function as overload of Unit::Kill(this) . Use KillSelf() whenever the killer and the victim are the same to clearly state the Unit is going to kill itself.
2015-12-07 20:06:02 +01:00
jackpoz
ee12982008 Merge pull request #15933 from Asterc/3.3.5
Core/Spells: Fix Misdirection exploit
2015-12-07 19:11:48 +01:00
jackpoz
1ddf44caf3 Core/Quest: Fix issues reported by static analysis 2015-12-07 18:31:53 +01:00
jackpoz
bffaa92633 Core/Quest: Fix issues reported by static analysis 2015-12-06 22:43:15 +01:00
jackpoz
f1f4005ad8 Core/Quest: Fix issues reported by static analysis 2015-12-06 21:37:58 +01:00
Killyana
e60bbaa7d3 DB/Quest: Great Bear Spirit
Closes #15950
2015-12-06 20:04:13 +01:00
jackpoz
39a77effd7 Merge pull request #15947 from ShinDarth/duel-exploit
Core/Spell: Fix exploit in duel cooldown reset handling
2015-12-06 19:47:13 +01:00
ShinDarth
03215a2eb7 Core/Spell: fixed possible exploit in Duel Reset script
- thanks @Runico for reporting it
2015-12-06 03:44:12 +01:00
Killyana
984bf32fa8 DB/Quest: Restore deleted sql for Anatoly Will Talk 2015-12-05 03:53:51 +01:00
Killyana
bcc2b00072 DB: Fix a Typo 2015-12-04 17:17:33 +01:00
Killyana
6695c98b59 DB/Quest: Gorgrom the Dragon-Eater
Closes #6326
2015-12-04 16:50:47 +01:00
MitchesD
ab831507c6 Core/Conditions: extended CONDITION_NEAR_CREATURE, condition value 3 is now used to check for dead creature entries (0 - alive, 1 - dead)
* I used 0 for alive to avoid touching all conditions with this type

(cherry picked from commit cdb5bd3eb7)
2015-12-03 21:41:03 +01:00
Asterc
f8f815dbc3 Correctly reset the redirected threat of the hunter's spell Misdirection in cases when it has RemoveMode AURA_REMOVE_BY_DEFAULT
Closes #15930
2015-12-02 19:30:12 -02:00
Shauren
94e4bddb90 Scripts/Icecrown Citadel: Professor Putricide - fixed Expunged Gas damage formula
Closes #6396
2015-12-01 19:27:17 +01:00
MitchesD
332d08a859 Rename 2015_11_15_3574_world.sql to 2015_12_01_00_world.sql 2015-12-01 15:05:48 +01:00
MitchesD
3b1f5f29c9 Merge pull request #15864 from tkrokli/hallowed_wands
Scripts/Spells: Hallow's End item Hallowed Wand
2015-12-01 15:05:15 +01:00
jackpoz
c703e01471 Merge pull request #15920 from Treeston/3.3.5-MCHotkeyPos
Unit/PossessBar: Fix spell ordering on possess bar
2015-11-30 20:24:15 +01:00
treeston
5dd6163387 Scripts/Naxxramas: Maexxna cleanup:
- Improved Web Wrap target selection
- Added missing text
- Cleanup of web wrap positioning - two players will never be flung to the same position (25-man)
- Further improvement to web wrap spawn behavior - targetable web wrap now only spawns after the player has finished being flung to the respective position (blizzlike)
- Add additional web wrap positions (sniff)
2015-11-30 20:18:55 +01:00
Killyana
01beba21b5 DB/Quest: Fel Reavers, No Thanks!
By @Gargarensis
Closes #3965
2015-11-30 00:31:55 +01:00
Killyana
43129b33ca DB/Quest: Creatures of the Eco-Domes
Closes #3025
2015-11-29 19:57:03 +01:00
treeston
1be635a025 Unit/PossessBar: Fix spell ordering on possess bar to reflect spell position in DB. Fixes Razuvious adds et al. 2015-11-29 18:41:36 +01:00
Shauren
3ab108c8ea Core/Spells: Fixed passibe talent auras targeting pets instead of player
Closes #1543
Closes #15918
2015-11-29 14:13:30 +01:00
Aokromes
b2c0c0ac04 DB/Misc: 3.3.5a fixes 2015-11-29 13:48:31 +01:00
jackpoz
c1b4cd21f3 Merge pull request #15912 from Treeston/3.3.5-urandms
Core/Util: Add urandms(minMS, maxMS) helper
2015-11-29 00:07:35 +01:00
treeston
c0faee0795 Core/Util: Add a urandms(min,max) helper to make urand(min*IN_MILLISECONDS, max*IN_MILLISECONDS) shorter to write for random time intervals (boss scripts). 2015-11-28 23:53:04 +01:00
jackpoz
f8a3fa28bb Merge pull request #15907 from ShinDarth/fix
Core/Spells: Fix Arcane Missiles
2015-11-28 21:55:45 +01:00