Commit graph

389 commits

Author SHA1 Message Date
VladimirMangos
ed6123c804 [7363] Propertly set cooldown at server side for category spells at cooldown event send to client.
Also support item dependent cooldown set propetly at cooldown event send to client.
Last will used in follow potion cooldown delay in combat patch.
2009-03-01 10:14:45 +03:00
VladimirMangos
2b9eeb782e [7362] Use IN_MILISECONDS where appropriate, other cleanups. 2009-03-01 05:22:56 +03:00
VladimirMangos
ce8bd43bef Merge commit 'origin/master' into 310 (at [7360]) 2009-03-01 01:18:20 +03:00
tomrus88
aedf3dd722 Updated spell auras/effects enum 2009-02-28 19:11:04 +03:00
tomrus88
ffca6c8c57 Fixed some opcodes 2009-02-27 19:25:11 +03:00
VladimirMangos
1fca6de6f3 [7349] Implement spell cast depenences from area/quest.aura state store in new table spell_area.
* It allow store requirenments: area, active or rewarded quest (until possible another quest not rewarded),
  aura present at character, character race/gender.
* Listed spell can marked as auto-casted when fit requirents. In this case spell requirements checked at
  zone/subzone update (and then resurraction also), quest start/reward, dummy aura apply.
* Old hardcoded lines for similar check removed from sources and required DB support for work now.
2009-02-27 11:15:36 +03:00
VladimirMangos
ab7b358d44 [7321] Remove frozen aura state at aura remove only if not other frozen auras. 2009-02-22 00:00:25 +03:00
Tassader2
011bd0c1de [7317] Fixed units not considered frozen when stunned from frost auras.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-21 11:22:50 +01:00
VladimirMangos
a47330e3e4 Update spell auras list for 3.0.9 2009-02-19 19:11:18 +03:00
Maxxie
1fa4ecf482 [7294] Fix: Spell 59752 now removes all movement impairing effects and all effects which cause loss of control.
(cherry picked from commit 2a2167021c751201c6884c336cfe31b881357bef)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-18 01:18:22 +03:00
DiSlord
12e27aecee Fix work for some auras if used mod set duration to 0
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-17 20:36:18 +03:00
GriffonHeart
1fb8a52032 Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-15 12:00:47 +03:00
VladimirMangos
2817f301ad [7281] Cleanup in unused and incorrectly marked as unused aura names and comments. 2009-02-15 09:34:35 +03:00
DiSlord
56e97b4d9e [7280] Implement 287 SPELL_AURA_DEFLECT_SPELLS aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-14 19:08:06 +03:00
domingo
6b715047a7 [7274] Fixed work of warrior talent 12296.
* Proper tick in 3 sec
* Replace amount calculation hack by more proved formula.
* Ignore in combat state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-13 08:59:26 +03:00
freghar
f04ec2b98b [7272] Trailing whitespace cleaning
The "please use git diff --check before commit" thing.

Signed-off-by: freghar <compmancz@gmail.com>
2009-02-12 15:14:40 +01:00
VladimirMangos
fb6fe325bf [7258] Fixed access to field of possible deleted periodic aura. 2009-02-10 06:14:52 +03:00
VladimirMangos
5e2553ff7e [7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot.
Use this function in more cases and simplify and fix some related code.
2009-02-07 10:34:11 +03:00
VladimirMangos
7d63f4ce02 Fixes and cleanups in loot code.
* Move not-normal loot tables generation in single place (Loot::FillLoot function) for group and non group case.
* Simplify LootView code.
2009-02-07 10:34:02 +03:00
KiriX
0f8c1ccd58 [7222] Revert "[7206] Not set creep walking mode for recial stealth ability 58984."
This reverts commit a261afd5f08ef9773d0af83b4286b19d4172a4ae.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-02 23:43:30 +03:00
DiSlord
419f86e939 Set only one charge for 54741 mage spell
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-31 20:37:28 +03:00
VladimirMangos
aa24bd836e [7207] Phase system development continue for DB/in_game objects
* Store phase mask for creatures/gameobjects/corpse in DB
* Propertly set phase for summoned creatures/gameobjects/pets/corpses/spell related dynobjects
* Select proper phase for spawned creature/gameobjects and save it in DB

TODO: in game commands.
2009-01-31 06:11:50 +03:00
VladimirMangos
b5da610388 Phase system development continue.
* Use WorldObject phase mask field instead explicit aura scan. This allow have phase for any world objects.
* Add phase checks to packet broadcasters/object searchers. This let correctly work say/yell/area
  and multi/random target spells/aggro assistance in phased areas or target selection.
* In GM-mode character presense (see and visible) in all phases except normal visibility efects including GM-visibility.

TODO: summoned objects phase set base at owner phase, load phase mask for creatures/gameobjects from DB, in game commands.
2009-01-31 06:06:01 +03:00
KiriX
0c43a425e8 [7206] Not set creep walking mode for recial stealth ability 58984.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 05:56:05 +03:00
VladimirMangos
a1b5c3cb02 Cleanup code for UNIT_FIELD_BYTES_1 parts.
Move defines to Unit (values can be used with creatures)
Better gameobject barber chairs check at loading.
2009-01-31 05:55:10 +03:00
DiSlord
b6a2f2ece2 use m_amount as item count for Aura::HandleChannelDeathItem
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 20:40:32 +03:00
DiSlord
80d9bb4ba6 Add new ranks for some hunter sting
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 20:39:40 +03:00
DiSlord
59861857e5 Replace values by defines
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 20:38:26 +03:00
DiSlord
727773e797 Allow dispell positive spells by mechanic on get mechanic immune aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:50:44 +03:00
DiSlord
b7c5513f2c Implement AURA_STATE_ENRAGE
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-29 02:50:39 +03:00
DiSlord
4ecfbcc2f5 Use spell_bonus_data table for store custom damage/healing bonus coefficients
Big thanks ApoC for help create table.
Fixed bonuses for stacked periodic
Warning need test all coefficients for correct bonus amount.
TODO:
 use this table for absorb bonus calculation
 use this table for melee spells AP bonuses
 use chain multipler in final damage/heal amount

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:23:16 +03:00
DiSlord
6d9a099a19 Rename some auras
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-28 02:13:09 +03:00
VladimirMangos
430c634fd3 [7195] Implement SPELL_AURA_PHASE (261) and basics of phases system work (for player/creatures/pets only) 2009-01-27 19:17:52 +03:00
DiSlord
170a0aaf3b [7190] Rewrite code for Unit::SpellHealingBonus (no big changes)
Implement SPELL_AURA_OVERRIDE_CLASS_SCRIPTS auras for healing mod
Remove dead code
Implement SPELL_AURA_MOD_HEALING_RECEIVED aura

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:13:12 +03:00
DiSlord
5ef636dab7 Remove warrior debuff after some auras end
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:12:14 +03:00
DiSlord
702105ccca Remove not need code (implemented by another way)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:12:08 +03:00
DiSlord
249d039d93 Implement 50 PELL_AURA_MOD_CRITICAL_HEALING_BONUS aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 22:11:40 +03:00
DiSlord
7ee5dd6387 [7184] Implement more generic work for some SPELL_AURA_OVERRIDE_CLASS_SCRIPTS auras
Fix warlock 17804 and ranks
Implement druid 643 set bonus
Shaman 23199, 28248, 32330 item (totems)
DK 49202 and ranks, 49024 and ranks
Priest 47573 and ranks
Hunter 53241 and ranks

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 00:47:16 +03:00
Sarjuuk
9e52b0f748 [7183] Updated spell casting pushback system.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 23:26:28 +03:00
DiSlord
20ea42e0db [7176] Implement full work priest 47580 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 18:58:45 +03:00
VladimirMangos
4455716490 [7171] "Implement" SPELL_AURA_SCREEN_EFFECT (260). In fact not required code, just comments. 2009-01-25 10:19:07 +03:00
DiSlord
68b537dc30 [7164] Fixed 1 tick periodic for drink spells (remove not need code)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:03:55 +03:00
DiSlord
c336eef4cd Fixed druid tree form bonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:02:05 +03:00
DiSlord
3f4821acfb [7156] More generic periodic aura work
Implement SPELL_AURA_PERIODIC_HEALTH_FUNNEL
Apply SPELL_AURA_PERIODIC_HEALTH_FUNNEL mod to aura periodic time
Add support SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY flag
Apply duration mod to channeling spells
Fix mage 44401 and correct drop its charge

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 22:10:12 +03:00
freghar
11ed0e99a8 [7146] Trailing whitespace code cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
DiSlord
2a891a8c92 [7140] Implement 76 TARGET_DYNAMIC_OBJECT_COORDINATES
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 02:03:26 +03:00
DiSlord
d22f915c2c [7139] Implement 227 aura SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:55:18 +03:00
DiSlord
81a866fba7 Implement 267 SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:35 +03:00
DiSlord
d57baebef9 Implemement 255 SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:31 +03:00
DiSlord
9e1b9e56fd [7127] Implement 271 SPELL_AURA_MOD_DAMAGE_FROM_CASTER aura
Allow this aura trigger and drop charges (only if caster hit target)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 01:36:17 +03:00