Commit graph

620 commits

Author SHA1 Message Date
VladimirMangos
2591a2333a [9947] More skinning fixes.
* Restore work with money loot.
* Old code sometime generate empty loot windows for normal loot and sometime skip its.
  Code changed to be more consistent. Added new option Corpse.EmptyLootShow that control
  show empty normal loot window in some cases enabled by default:
   - if creature expected to be lootable but loot generated empty by some reasons.
   - if creature can be skinnable
  If option disabled thne code attempt avoid empty normal loot windows for empty cases.
* Possible fixed case instant despawn non-skinable creature after normal loot complete.
2010-05-21 11:10:59 +04:00
j4r0d
c2fc89c86c [9946] Prevent remove unexpected for remove spell at cast 35729.
Also drop removed spell call for spells 19574/34471.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-21 07:55:36 +04:00
VladimirMangos
33c9af577c [9945] Update mangos_spell_check.sql
* Add all data from Spell.cpp
* Add missing data from recent commist for added parts of SpellEffect.cpp
2010-05-21 07:33:52 +04:00
NoFantasy
bca866cd8c [9943] Add a small delay for npc despawn related to spell 51840
This will solve problem with summoned GO that does not appear before later, but does not solve problem with visual effects (which is a generic problem with many spells).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-21 00:14:53 +02:00
VladimirMangos
d86dcd60d7 [9925] Add more log filters
* damage - different direct damage calculation tracing
* combat - combat state updates, roll attack result and etc
* spell_cast - spell cast progress and aura apply
2010-05-18 12:38:52 +04:00
VladimirMangos
696a4b6db0 [9918] Fixed player's tapped creature loot access by group in diff cases
* If player tap creature in group and leave then group will have access to creature loot if not disbanded
* If player tap creature and after join to group then creature loot will accesable only by player
* Also RewardPlayerAndGroupAtKill divided to simgle player and group reward versions used for group tap
  and single player tap cases.
2010-05-17 12:56:57 +04:00
NoFantasy
628f11e1a7 [9914] Add script effect of spell 51864, 51889 and 51910
In addition, dummy effect of spell 51866 and 51872 and dummy aura effect of spell 51870.
Dummy effect of 51866 might need additional work (see comments).

Code expect additional spell cast by AI (summon dummy at death of related quest target creatures).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-16 13:52:51 +02:00
Insider42
2edc375e48 [9877] One more meteor-like spell.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-12 05:26:10 +04:00
zergtmn
aa8a36afd4 [9873] Drop outdated code for 18788
Signed-off-by: Laise <fenrisse@gmail.com>
2010-05-11 16:19:21 +03:00
Insider42
a4c5734256 [9872] Update damage/energize calculation for 1454 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 14:48:04 +04:00
VladimirMangos
3a2c28ca68 [9866] More weapon damage split spells. 2010-05-11 10:47:55 +04:00
Insider42
c4ee01422d [9865] Add support split damage for spells 66765, 67333.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also small cleanup in mangos_spell_check.sql
2010-05-11 10:30:16 +04:00
MaS0n
4e8c18e9de [9863] Implement SPELL_EFFECT_BREAK_PLAYER_TARGETING (93)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-11 08:09:41 +04:00
NoFantasy
a0d9ffcc5f [9860] Add script effect of spell 54182
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-10 20:43:03 +02:00
NoFantasy
8c81f0d058 [9859] Add dummy effect of spell 51964
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-10 19:56:57 +02:00
Laise
884e4f8ecc [9858] Restore work of 1064 and ranks, broken in [9854] 2010-05-10 19:30:09 +03:00
NoFantasy
aff0d77692 [9856] Add dummy effect of spell 51840
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-09 23:15:49 +02:00
Laise
4c3d2805bd [9854] Fix negative amounts for spell base damage/healing and fix heal effects to correctly benefit from heal increasing/reducing auras 2010-05-09 20:33:36 +03:00
NoFantasy
7915d60765 [9853] Add dummy effect of spell 61832
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-09 19:11:29 +02:00
Laise
5c17458fb8 [9851] Restore work of 1856 and ranks 2010-05-08 13:47:31 +03:00
NoFantasy
2c6d48b912 [9848] Add script effect of spell 47393, 47615 and 47638
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-07 16:51:51 +02:00
NoFantasy
e46cea7f7c [9847] Add dummy effect of spell 50546, 50547 and 50548
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-07 16:28:28 +02:00
hunuza
68abd76c97 [9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 12:25:12 +02:00
Laise
432b1b8b38 [9839] Fix shadow damage part of 55090 and ranks 2010-05-05 17:51:39 +03:00
VladimirMangos
722135b326 [9838] More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
Laise
e83aa1ba9d [9837] Remove calls to Taken part when its not used for damage dealing and fix HoT tick amount used in 18562 code(Thanks to insider42) 2010-05-05 06:58:16 +03:00
VladimirMangos
c52e9c5d27 [9823] Really fixed link error in gcc after [9816]. 2010-05-02 06:14:02 +04:00
NoFantasy
555e1b8d6d [9822] Fix link error in gcc after [9816] and include needed header
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-02 00:44:29 +02:00
Pygmy
a0c32a101c [9817] Add dummy effect of spell 53808
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-01 15:39:12 +02:00
NoFantasy
ebc5de7477 [9816] Add script effect of spell 44462
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-05-01 10:33:31 +02:00
NoFantasy
05d8b00ad4 [9804] Add script effect of spell 52941
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-29 13:30:17 +02:00
Laise
dbf19ba5e3 [9802] Fix 17962 damage broken after [9798] commit 2010-04-29 12:07:05 +03:00
Laise
471af8fb27 [9798] Implement basic splitting for caster/target part damage/heal bonus calculations, periodic damage/heal over time auras will now store m_amount with caster side bonuses applied and calculate target part on each tick. Currently critical chance/bonus calculations are not affected by this change 2010-04-27 13:13:50 +03:00
Laise
236a578d52 [9780] Change CalcAbsorbResist/isBlocked to be called from target side 2010-04-23 06:58:58 +03:00
VladimirMangos
15dd77873e [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
VladimirMangos
7f90b8955e [9759] Comment cleanups related to spell base points use. 2010-04-18 13:08:23 +04:00
Laise
6610484609 [9754] Rename flight speed related auras and fix spell 40120 2010-04-16 17:54:58 +03:00
Laise
958edb65f7 [9741] Implement DOT related part of 54049 and ranks 2010-04-13 13:27:03 +03:00
Ceris
0566ca0370 [9737] Fix number of ticks calculation for 53209 (1978 and ranks part)
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-12 17:54:02 +03:00
VladimirMangos
c7095fb3ed [9731] Cleanup in skil steps code.
* Move step arg in SetSkill to end for make possible for it default value.
* Merge GetSkillStep function to SetSkill, base at fact that old GetSkillStep
  code can be != 0 only for already known spell, so at update
2010-04-12 08:51:17 +04:00
VladimirMangos
117bc1e836 [9719] Drop very old item amount calculation hack code.
Use pre-calculated normal effect value as amount.
This also must fix recent item amount crafted items.
2010-04-10 08:22:19 +04:00
VladimirMangos
53486545b5 [9701] Fix basepoints calculation
Signed-off-by: Laise <fenrisse@gmail.com>
2010-04-08 23:15:48 +03:00
ilija
93bc46b1f3 [9693] Update spell 6572 and ranks for 3.3.3
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-08 05:41:51 +04:00
VladimirMangos
b37933454d Now BG honor marks not reawrded in BG
* And related spells not create items.
* Update code for allow creat marks for single existed case: outfield bg
  that not yet implemented in mangos.
2010-04-08 03:29:13 +04:00
VladimirMangos
7f7d0624e8 Merge branch 'master' into 330 2010-04-08 02:56:04 +04:00
VladimirMangos
ae1d8d6488 [9691] Up to date mangos_spell_check old data and add some new. 2010-04-08 02:48:42 +04:00
VladimirMangos
61255a1a8f Update IsExplicitDiscoverySpell/IsLootCraftingSpell and related code. 2010-04-06 20:00:37 +04:00
tomrus88
9a0545cd05 Merge remote branch 'origin/master' into 330 2010-04-04 15:50:18 +04:00
NoFantasy
149cfbb3a6 [9670] Add dummy effect of spell 55364.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-04-04 09:21:35 +02:00
tomrus88
a4a56adf3d Quests and combopoints should work once again. 2010-03-31 16:23:52 +04:00