Commit Graph

17588 Commits

Author SHA1 Message Date
Spp
2292025bf9 Core/Misc: Replaced some macro definitions with inline functions 2013-01-02 09:07:52 +01:00
Spp
c85dc26584 Core/Misc: EventMap will no longer inherit from std::map 2013-01-02 08:34:11 +01:00
Trista
423fb04270 Script/EoE: Some fixes here and there
* Add db support for Power Sparks, Teleports and Drakes
* Fix Power Sparks animations and texts and add support for giving buff to players + warning
* Fix Power Spark way of stacking - should be MultiSlot aura, didn't stack before either way
* Teleporters mechanic is fixed and will summon only 1 spark per 30-35 sec
* Fixed players getting mounted on 3rd phase
* Cleanned some wrong aggro handling, but whole aggro/attack system should be rewritten to get it working blizz
That is for today, this doesn't fix the whole instance by any means!
2013-01-02 06:35:28 +02:00
Vincent_Michael
52fd561f47 DB/Creature: Removed "Grand Apothecary Putress" from Shattrath City
Patch 3.0.3 (2008-11-04): Removed from Shattrath City.
2013-01-02 05:15:53 +01:00
Malcrom
438c908faa DB/SAI: Improve SAI for Summoned Bloodwarder Mender. Add SAI for Summoned Bloodwarder Reservist 2013-01-02 00:19:57 -03:30
Vincent_Michael
336752a409 Core: Add missing changes in f7e7f5fe26 2013-01-02 03:25:08 +01:00
Vincent_Michael
e0db317530 SQL: Fix sql import problem 2013-01-02 03:06:55 +01:00
Malcrom
1062a0b40f Core/Scripts: Added spell scripting for Commander Sarannis. Added Instance Template for The Botanica.
Thanks to Vincent Michael
2013-01-01 22:28:29 -03:30
Vincent_Michael
56096b7704 DB/Creatures: Some fix for Wyrmrest Skytalon
Closes #8733
2013-01-02 02:43:41 +01:00
Vincent_Michael
88e6071ff6 Core: Fix build 2013-01-02 02:28:00 +01:00
Malcrom
596ef0efd7 CORE/Scripting: Forgot new lines at end of file. 2013-01-01 21:41:37 -03:30
Malcrom
f7e7f5fe26 CORE/Scripting: Move Commander Sarannis & Thorngrin the Tender to cpp scripting. Add instance script.
Thanks to Vincent Micheal for the help :)
2013-01-01 21:36:21 -03:30
Gacko
01b705c844 Core/Player: Fix armor calculation - 2nd try
Base armor value from WDB data includes the ArmorDamageModifier. Items of
same item level, required level, armor type and equiptment slot should
have (nearly) the same armor values.

See following links for further proofs:
http://pastebin.com/fqNJLYj4
http://www.wowhead.com/item=50466#comments:id=889035:reply=444786

The shown item should have a base armor value of 177 as similar items and
a bonus armor value of 560 which equals 737 - like in DB atm.
2013-01-01 21:43:17 +01:00
Gacko
87368cab45 Partially revert last commit - fix on ItemHandler coming soon 2013-01-01 21:17:48 +01:00
Gacko
431b807275 Core/Player: Fix armor calculation
Base armor value from WDB data includes the ArmorDamageModifier. Items of
same item level, required level, armor type and equiptment slot should
have (nearly) the same armor values.

See following links for further proofs:
http://pastebin.com/fqNJLYj4
http://www.wowhead.com/item=50466#comments:id=889035:reply=444786

The shown item should have a base armor value of 177 as similar items and
a bonus armor value of 560 which equals 737 - like in DB atm.
2013-01-01 20:47:05 +01:00
Vincent_Michael
7fea285aea Core/Command: Add command for near creature finding 2013-01-01 18:16:32 +01:00
Vincent_Michael
eef7754dc2 Update more copyright note for 2013. 2013-01-01 15:35:09 +01:00
Vincent_Michael
11e1227784 Update more copyright note for 2013. (alcohol sucks) 2013-01-01 12:57:23 +01:00
Vincent_Michael
cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00
Shauren
47ac83ec3a Core/Units: Check aura presence before casting liquid spell to avoid resetting periodic tick timers 2012-12-31 21:12:33 +01:00
Shauren
f1170ba0fb Core: Fixed some level 4 warnings (msvc) 2012-12-31 20:43:14 +01:00
Shauren
b229f72bf4 Core/Units: Cleaned up DealDamage log message and moved it to debug level 2012-12-31 18:53:44 +01:00
Shauren
c021bff594 Core/Vehicles: Fixed basepoints used when ride vehicle aura is created for !IsInMap case 2012-12-31 17:58:21 +01:00
click
7ef2c1e062 Core: Change a rather badly phrased warning regarding "bad" DBC datastructures 2012-12-31 16:36:58 +01:00
Gacko
edb90f957b Core/DB: Haaleshi Altar
- Prevent crash due to spamming GossipHello
- Convert core script to SAI
- Solves #8220
2012-12-31 15:03:19 +01:00
Shauren
4186c3cef7 Buildsystem/MSVC: Enable and treat as errors compilation warning about not matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example) 2012-12-31 14:10:22 +01:00
click
b609b314b2 CMake/Buildsystem: CMake adds /Zm1000 to MSVC by default - explicitly replace that in the flaglist with the lower boundary 2012-12-31 12:09:22 +01:00
Gacko
0eb26feaf2 DB/SAI: Reforging the sword 2012-12-31 01:17:42 +01:00
Subv
b4be02c8a0 Core/Conditions: Rename CONDITION_INSTANCE_DATA to CONDITION_INSTANCE_INFO.
And allow it to be used with GetData, GetData64 and GetBossState.
2012-12-30 16:03:25 -05:00
Trista
0aef9419b6 Core/Vehicles: Missed change 2012-12-30 01:34:53 +02:00
Trista
6edffb036d Core/Vehicles: revert 95152d5753 and 95152d5753
Sorry about troubles caused, hed reason to think formula was wrong, but it wasn't. However there is part of the code that needs to be improved I describbed in this commit as TO DO: Connected with: #8195
2012-12-30 01:06:55 +02:00
Warpten
63b9a7579c Core/SAI: Fixed build, i need new glasses. 2012-12-29 22:30:29 +01:00
Warpten
609c5700d6 Core/SAI: SMART_ACTION_NONE is not a valid action. Also accept SMART_ACTION_SET_RANGED_MOVEMENT as a valid action. 2012-12-29 22:27:32 +01:00
Subv
2002bc785e Core/SAI: Fixed SMART_ACTION_SET_RANGED_MOVEMENT 2012-12-29 15:35:56 -05:00
Subv
9bc339cd89 Core/Movement: MSG_MOVE_TELEPORT is not supposed to be sent to the player being teleported.
Thanks @vlad852
Closes #8798
Closes #8774
2012-12-29 15:25:48 -05:00
Subv
3d3a8107e0 Core/Entities: Account for creatures that are spawned below ground level when adding flying flags. (Triggers, mostly) 2012-12-29 14:23:23 -05:00
Shauren
792edb2880 Merge pull request #8812 from Therzok/master
Core/Creatures: Fixed player race checks for mount trainers.
2012-12-29 11:16:45 -08:00
therzok
5c8c458d60 *Fixing a typo. 2012-12-29 21:14:12 +02:00
click
91f1e53ba2 CMake/Buildsystem: Fix a small compiler-problem when using PCH with MSVC - the /Ym flag is adjusted by the compiler in MSVC2012, hence we need to set an upper limit to avoid disrupancies
Please note that this is not 'very well tested'.
2012-12-29 13:35:35 +01:00
Gacko
2048877746 Rename SQL
... forgot again...
2012-12-29 08:03:00 +01:00
Gacko
01997cba47 DB/Quest: Citadel footsteps questline. Thx @Exodius
This, together with
- 007461b6d8
- 9020084096
- f1d960a589
solves #7707. Any suggestions/improvements in this issue.
2012-12-29 08:01:07 +01:00
Subv
3ad9dafdb6 Core/Entities: Update movement flags for flying/swimming creatures on Creature::Update 2012-12-29 04:01:55 +01:00
Subv
8f589dcdd0 Core/Entities: Add a delta to the ground level difference for removing the flying movementflags when landing. 2012-12-28 13:53:44 -05:00
Trista
4065b17c94 DB/Quest: remove deprecated version of Ally of the Netherwing
Closes #2841
2012-12-28 16:21:29 +01:00
nelgalno
52f7a7b224 DB/Quest: add some SAI for The Moment of Truth (10201)
Closes #1108
2012-12-28 16:17:20 +01:00
ZxBiohazardZx
718313f1b8 DB/Startups: apparently we had some creatures with wrong movementtype... 2012-12-28 16:11:04 +01:00
Nay
7ccef51c8c Merge pull request #8518 from ille/goreset
scripts/gameobject: correct reset of gameobjects (cages/prisons), move command out of if statement
2012-12-27 18:50:35 -08:00
Faq
e04275984e Core/Spells: fix self-damage caused by Glyph of Chains of Ice. oMadMano
Closes #7270
Closes #644

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-28 02:24:01 +00:00
Trista
95152d5753 Core/Vehicles: Closes all issues with seats for real (finishing and fixing previous change)
* Author, Joschiwald, all credits to him please
* DieSide should be not  calculated with basepoints for these auras, thiss correctly finish previous fix 452e585f7b from Horn
* What it fixes, FL, XT, Demolishers, Accessories, Not being able to leave vehicle and so many more can't track them sorry
2012-12-28 04:11:51 +02:00
secharles
8272affe92 Script/Commands: New command: lookup spell id #spellid
Command to allow to know spell names based on id

Example:
 lookup spell id 686:
 686 - [Shadow Bolt rank 1 esES] [know]

Closes #8800

Signed-off-by: Nay <dnpd.dd@gmail.com>
2012-12-28 01:05:56 +00:00