Commit graph

957 commits

Author SHA1 Message Date
VladimirMangos
58d188f21a [9388] Implement max cast chain length for triggered spells.
* New config option MaxSpellCastsInChain ( 0 is disabled old way work )
* Check added for prevent stack overflow crashes in case infinity triggered casts sequences
  with more useful error output instead crash.
* Default config steeing in 10 casts expected to allow all possible in game proper cast chains.
2010-02-15 12:19:27 +03:00
AlexDereka
5368751c13 [9386] Store some config values in Rate emun. 2010-02-15 00:17:44 +03:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00
laise
ade8adfc4e [9379] Fix spell 55268
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-14 15:33:57 +01:00
unloading
4c18b32279 [9366] Fix spell 67228
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-13 17:16:48 +01:00
VladimirMangos
6f2bd19b43 [9355] Spell 50464 bonuses dependent from amount HoT types at target, not stack size of this HoTs.
Thanks to LordJZ for research.
2010-02-11 01:30:05 +03:00
AlexDereka
df457c3ff5 [9352] Remove unused varibles 2010-02-10 20:59:29 +03:00
VladimirMangos
841cf86402 [9346] Implement bonuses for spell 50464
* Implement percent bonus at own Hot at target. Original patch provided by rechapa79
* Implement glyph 45603. Original patch provided by Splinter.
* Rewrite code for spell 60137.
2010-02-10 06:25:23 +03:00
AlexDereka
696cba9c37 [9330] Fixed msvc compile warnings. 2010-02-08 16:27:35 +03:00
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +03:00
tomrus88
db547a008a Get rid of monster movement flags, since it's really spline flags.
Thanks to Ralek for research.
2010-02-07 15:03:36 +03:00
Wowka321
e2fe17034a [9295] Implement SPELL_AURA_MOD_BLOCK_CRIT_CHANCE
This fixes talent 47294 and ranks

Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-03 20:54:46 +01:00
NoFantasy
a0a4f7a719 [9291] Implement DB storage for new quest field, CompletedText
Text will display in quest objectives window when quest is completed.
Also add locales storage

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-03 14:04:47 +01:00
Lightguard
aff7d022af [9289] Fix glyph 57870 2010-02-03 12:05:41 +01:00
VladimirMangos
1f1f414d76 [9287] Prevent weapon skill grow at player's pet hit. 2010-02-03 00:00:00 +03:00
laise
868a4d20a4 [9283] Apply SPELL_AURA_MOD_HEALING_PCT to any healing.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-02 01:56:40 +03:00
tomrus88
b85417df73 Movement packets cleanup. 2010-02-01 17:03:04 +03:00
laise
9aedd3a864 [9273] Implement item 49623 triggered stacking affect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-31 05:36:59 +03:00
XTZGZoReX
0ff9250de2 [9245] Remove CellLock class and all cell-level thread locking.
* It was wasting CPU power as cell-level locking is not needed.
* Future multithreading will be on map-level.
* CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
* Some minor cleanup in Cell::Visit/Map::Visit.
2010-01-23 21:36:15 +01:00
Laise
39b7636094 [9244] Implement talent Rime
And apply SPELLMOD_COST to rune spell cast as part this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-23 20:19:13 +03:00
VladimirMangos
546ee35953 [9242] Fixed inconstence in one from recently added AI events name 2010-01-23 14:46:41 +03:00
VladimirMangos
36d90d6040 [9241] Implement AI/EventAI calls at summoned creature die/despawn
* New CreatureAI::SummonedCreatureJustDie called for owner at temporary summoned creature die.
* New EVENT_T_SUMMONED_JUST_DIE (25) for proccess CreatureAI::SummonedCreatureJustDie event
* New EVENT_T_SUMMONED_JUST_DESPAWN (26) for proccess CreatureAI::SummonedCreatureJustDespawn event
* Some code cleanups.
2010-01-23 14:41:38 +03:00
j4r0d
1d305e51d8 [9238] Update spell 15286 work to current funtionality.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-22 20:36:24 +03:00
VladimirMangos
eaecc467d5 [9212] Implement pet speed synchronization with owner only for follow mode.
* This allow pet use own speed (and all speed affects appiedto pet itself) in combat.
* Apply this speed synhronization to minipets/guardians also.
* Also rename Unit::SetSpeed to SetSpeedRate as more close to real functionality.
2010-01-19 03:56:26 +03:00
VladimirMangos
e1d0c1cdba [9209] Finish synchonization walk mode for pets.
* Re-sync at follow mode switches
* Support sync for creature pets

Also
* Attempt fix build at *nix
* Drop unused unut state mask with typo in name.
2010-01-18 14:35:19 +03:00
VladimirMangos
6a2e8064f1 [9208] Big cleanup in UNIT_STAT_* use
* Re-number enums by function groups and use where possible new defined masks in code instead raw enum |-lists.
* Avoid use movement generator generic state markers like UNIT_STAT_CONFUSED for mark movement stoped.
  Add special shadow UNIT_STAT_CONFUSED_MOVE/etc states for like use.
  UNIT_STAT_CONFUSED in like case will be safe expect use for normal checks confused state presence
  And UNIT_STAT_CONFUSED_MOVE for check real move in this state
2010-01-18 11:59:10 +03:00
VladimirMangos
8a03785470 [9198] Replace targeted movegen by 2 new: chase/follow movegens.
NOTE: this is mostly just formal adding 2 movegens with very limited cleanups.
Real result from adding 2 new movegens possible after apply more deep cleanups/fixes
in UNIT_STAT_CHASE/UNIT_STAT_FOLLOW set. But this will need more cereful changes
because we have currently sometime strange dependences and places for set for this flags.
Similar cleanups required for other movegen related flags. Infact i have related patches but
need more testing before apply step by step.
2010-01-17 09:37:11 +03:00
VladimirMangos
2e9bf5ad6a [9197] More propertly update walk mode for player pets.
* Use AddMonsterMoveFlag instead SetMonsterMoveFlags for set walk-mode
* Apply walk/run mode to all copntrolled units (except totems).
* Synchronize walk/run mode at pet creating/loading.
2010-01-17 07:51:00 +03:00
VladimirMangos
c6d378ad70 [9191] Fixed crashes related to recently totem acccess function
* No search if not in world (no totems then)
* Check NULL.
2010-01-16 18:17:53 +03:00
VladimirMangos
6f703bab57 [9189] Fixed build error at *nix. 2010-01-16 08:37:50 +03:00
VladimirMangos
cc062f16ac [9187] Fixed problem with non-attackable pes/totems at arenas
... and other FFA areas. Problem is result chnages in related flags work after old 3.x switch.

* Added high-level functions for FFAPvP state set for unit
* Apply FFA PvP to all controlled units also at set, and at summon/load
2010-01-16 05:41:42 +03:00
VladimirMangos
6704929d56 [9186] Templated functions for apply some code to all controlled units.
Also fix some related problems with not updates totems/etc
2010-01-16 04:41:44 +03:00
NoFantasy
23a77a1d36 [9165] Implement speed reduction at creatures DoFleeToGetAssistance
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-13 02:26:08 +01:00
VladimirMangos
a21affbd68 [9160] Implement and use PROC_EX_FULL_BLOCK
It used for spell 31245 and ranks new proc flags.

Original patch provided by dardennf.
2010-01-12 12:07:58 +03:00
MrLama
fc7bb9468f [9151] More paladin spells fixes
* Allow stacking caster effect with target effect at same player for 53736. Provided by KAPATEJIb.
* Allow proc 53736/31801 at melee hits or melee like spell hits

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 03:46:52 +03:00
VladimirMangos
7db0ab735b [9140] Let aura after seal do at least one finish tick for stealer.
* Set periodic to fit new aura max duration range for this
* This also prevent crash for soem auras at steal.
2010-01-10 20:16:50 +03:00
laise
a04449c4ad [9139] Implement glyph 40913
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-10 11:15:31 +03:00
VladimirMangos
dc643371c8 [9136] Merge branch '330' - Switch to support client version 3.3.0A
You need extract new dbc.

Also recommended extract new map/vmaps.

And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-01-10 07:29:44 +03:00
laise
96fbeab3e9 [9133] Fixes in talent 11129 work.
* Restore after client switch talent triggering.
* Propertly remove triggred auras stack or main spell aura at expire/cancel.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-10 00:45:29 +03:00
VladimirMangos
89939fe7b3 Fixed mangos.sql data for branch and partly related code.
* Drop outdated data for 1535 (old totem summon, now instant area cast)
  Still need implement new way work.
* Restore work broken in branch glyph 45785 with updated functionality,
2010-01-09 06:58:50 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
e5dfeea31e [9090] Implement tick counting in periodic auras.
This can be used for some tick number dependent aura effects.
Also in some cases impossible claculate tickes count pass,
for example for infinity duration auras.
2009-12-31 17:52:43 +03:00
insider42
375aedd611 [9088] Prevent unsummon permanent pets at arenas.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-30 22:04:03 +03:00
VladimirMangos
349b6c0af2 [9081] Fixed DoT damage from 12834 and ranks. 2009-12-29 12:29:19 +03:00
Lightguard
9c98bd92e2 [9077] Fixes for pet work in case mounted owner.
* No unsummon temporary pet at non-fly mounting.
* Implement client side disable pet's action bar for mountted owner time

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

* implement server side action disabled case (action bar modify, aggro reaction and autocast)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-28 16:00:55 +03:00
Insider
81d55d4a41 [9071] Fixed exclusive triggering 2 buff versions for talent 48516 and ranks.
(based on commit acac608)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 22:57:55 +03:00
VladimirMangos
7047d2c42c [9069] Drop outdated code.
Thanks to KAPATEJIb for reporting.
2009-12-25 22:27:23 +03:00
VladimirMangos
e583f543a2 [9066] Small cleanups in spell code.
Mostly avoid unclear "lost" break case
2009-12-25 21:05:11 +03:00
darkstalker
67dd48e2d4 [9061] Fixed SPELL_AURA_MOD_CRIT_DAMAGE_BONU (163) use in calculations.
* Renamed from SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE
* Also apply to non-melee damage also

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 06:11:10 +03:00
laise
ce30ed1852 [9060] Fixed leave combat by timer.
This also fix some problems with stealth detection.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 05:41:55 +03:00