Commit graph

2841 commits

Author SHA1 Message Date
pasdVn
66f0e6662f [9541] Implement first target of spell 1064 and ranks boost from 61301.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 22:21:47 +03:00
Laise
39ed081898 [9540] Implement cooldown reset part for spell 60970 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:41:09 +03:00
Grandres
56ee01242c [9539] Item 23836 effect and spell 54757 not affcted caster spell power.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:29:39 +03:00
przemratajczak
8e9063ed80 [9538] Implement proper work spells 59465 and 56151.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 21:13:37 +03:00
Laise
6adebba800 [9537] Avoid proc item 46017 effect from DoTs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 20:57:09 +03:00
Laise
dc7e4b43e7 [9536] Implement item 46017 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 20:40:49 +03:00
VladimirMangos
0fae59bd50 [9535] Some percent target max health spells.
Thanks to timmit for research.
2010-03-06 19:35:21 +03:00
KAPATEJIb
e49fac9ef2 [9534] Attack Power bonus for spell 64382.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 18:55:15 +03:00
NoFantasy
81c6f3ff9b [9533] Use selected target for target mode 38/46 when provided.
For cases where provided target is not valid (or not provided), normal closest in range will be used.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-06 16:36:05 +01:00
XTZGZoReX
ed042d4463 [9532] Fix typo in opcode name. 2010-03-06 14:23:35 +01:00
VladimirMangos
f775ac42cb [9531] Fixed apply stamina part of 48263 2010-03-06 11:27:42 +03:00
VladimirMangos
3cf9e47110 [9530] Fixed check for SPELL_AURA_ALLOW_ONLY_ABILITY
Also remove public access to SpellAura::m_spellmod for avoid another hacks
with it use. Spellmods only for Player::ApplySpellMod use.
2010-03-06 07:58:09 +03:00
VladimirMangos
bbdb7bb09c [9529] Make Player::IsValidPos const 2010-03-06 06:13:38 +03:00
Splinter
ca8454a3a4 [9528] Avoid apply spell bonuses to glyph 42397 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-06 03:20:50 +03:00
XTZGZoReX
7be813855c [9527] Fix CRLF in 9512_01_mangos_spell_proc_event.sql. 2010-03-05 18:41:01 +01:00
Sarjuuk
a18d73a2bc [9526] Fix a typo from commit 9512
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-05 13:57:13 +01:00
VladimirMangos
acb297a415 [9525] Implement effect SPELL_EFFECT_TEACH_TAXI_NODE(154)
Original patch writed by Sadikum.
2010-03-05 12:16:41 +03:00
Yehonal
31f4850486 [9524] Use cooldown data from gameobejct trap tamplate if provided.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 10:06:21 +03:00
Sarjuuk
0ca87c50a6 [9523] Stacking Auras from dual wild weapons.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 08:38:27 +03:00
Derex
da30ea5ed8 [9522] Implement spells 58600 and 58601 2010-03-05 06:04:43 +02:00
imbecile
24540e4b03 [9521] Let build map extractor at Mac OSX
Also restore build at Windows (Win32 not have unistd.h)

Win32 ad.exe binary updated but not expected any functional differences.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-05 06:51:33 +03:00
Derex
eaf5934c99 [9520] Prevent possible memory leak in WorldSession 2010-03-05 05:48:02 +02:00
VladimirMangos
a142ed4848 [9519] Remove linking mangosd with sockets library.
Recent RA reimplementation added by Arrai remove using sockets library for last part mangosd code.
This let not link anymore sockets library with mangosd.

Now realmd is last sockets library user.
2010-03-05 05:05:07 +03:00
VladimirMangos
7fdbe497e9 [9518] Implement account associated execute for RA commands
* Now at login by RA-connection RA-connection use account id/access level
  for commands execute. So at login with moderator access by RA-connection you
  can execute only moderator level commands. For administrator level accounts
  allowed execute only console level commands if new config option RA.Stricted = 0.
  For security reasons by default RA.Stricted = 1.
* RA-connection executed commands now logged for associalted account id
* Some own account related commands allowed execute in RA-connection

NOTE: config version updated because RA.Stricted = 1 not compatible with old
      way work and this can break tools thta use RA-access if it not disabled.
      Yuo will need update mangosd.conf.
2010-03-05 04:24:32 +03:00
arrai
39559fc73a [9517] rewrote RA console using ACE
- moved SQL pinging to SqlDelayThread
- use sAccountMgr instead of explict sql queries
2010-03-04 23:54:11 +01:00
VladimirMangos
bc5092686e [9516] Fixed talent 50391 and ranks in part apply rune cooldown expire speed.
* Apply rune cooldown buff only for spell 48265
* Implement SPELL_AURA_MOD_POWER_REGEN_PERCENT work for POWER_RUNE

Thanks to Laise for problem research.
2010-03-04 15:29:50 +03:00
tomrus88
9626d3333e [9515] Fix a possible exploit in CMSG_HEARTH_AND_RESURRECT
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 09:46:18 +01:00
Blaymoira
6af247d34f [9514] Implement opcode CMSG_HEARTH_AND_RESURRECT
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 08:55:09 +01:00
przemratajczak
e892fd6a9b [9513] Fix spell 48920
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 08:11:45 +01:00
przemratajczak
a4ce06fd15 [9512] Spell 16952 and ranks will now correctly proc from all cat form abilities that add combo points
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 08:03:57 +01:00
VladimirMangos
bee93cb17c [9511] Hotfix for low chance crash at not accessable gameobject cast. 2010-03-04 08:53:44 +03:00
VladimirMangos
7fb5d850bf [9510] Gameobject casting improvements.
* Add IsHostileTo/IsFriendlyTo and implement expected way checks for diff. world object types.
  For controlled object check redirected to specific owner, for wild gameobject base at gameobject faction.
  If faction not set expected to be hostile to anyone.
* Update grid searchers to be usable with world object instead only unit case.
  Some grid searches lost redundent second object arg, AnyAoETargetUnitInObjectRangeCheck lost hitHidden arg
  (for hitHidden==true case added new AnyAoEVisibleTargetUnitInObjectRangeCheck)
* Updated grid searchers used with gameobject area casts now.
  Note: Gameobject area spell cast animation will still wrong show around cast triggering target instead
  center around gameobject.
* In case gameobject aura apply to target for restored use target itself as caster because
  we not have currently another way apply aura form wild gameobject.
2010-03-04 07:38:26 +03:00
VladimirMangos
52701a58f6 [9509] Move custom data from item spell charges sign to new field NoConsumable.
Some items with negative by defaul charges not expected to be deletedt at no charges.
In past this fixed by using positive charges amount in like cases in different from
expected negative value. Adding new field for avoid this.
2010-03-03 09:14:09 +03:00
VladimirMangos
84e5f7520b [9508] Finish impement new functionlity for item 5513 and similar.
* Implement recharge low rank item in inventory.
* Implement recharge item at loading after 15 offline mins
2010-03-03 07:36:00 +03:00
VladimirMangos
4c4629e861 [9507] Implement SPELL_EFFECT_RESTORE_ITEM_CHARGES
Also it application in special case of item 5513 and similar.
2010-03-03 06:02:32 +03:00
NoFantasy
d775eea9a4 [9506] Add missing AI calls to inform summoner of summon-related events
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-03 00:25:26 +01:00
KAPATEJIb
3a5f6ff0fb [9505] Removed facing limitation for spell 2764.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-02 23:47:21 +01:00
KAPATEJIb
6f5d57cd04 [9504] Removed obsolete code for spell 18096 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-02 22:39:24 +01:00
pasdVn
53623696cc [9503] Updated behavior of auto shot according to the client changes.
Signed-off-by: ApoC <apoc@nymfe.net>
2010-03-02 22:11:35 +01:00
unknown
ab74b20006 [9502] Update SpellCastResult enum to 3.3.x state. 2010-03-01 14:18:20 +01:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
VladimirMangos
52ace6bcb7 [9500] More speel effects table cleanups in comments 2010-03-02 11:42:07 +03:00
NoFantasy
6ec9dd5d93 [9499] Add replacement spells for GO type 10 that may have dummy spellId in _template
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-01 16:52:25 +01:00
arrai
faa29797f6 [9498] Restored build on *nix 2010-03-01 15:09:39 +01:00
NoFantasy
44d768cac5 [9497] Implement basic use of SPLINETYPE_FACINGTARGET
Adjust related helper function accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-01 14:13:35 +01:00
VladimirMangos
4a051e2443 [9496] HomeBind fixes.
* Use area id instead zone id for home bind zone info as expected.
  This will for example proper show capital name in area himebinding for capital; tavern.
* Clarify that player create zone in fact is area (subzone)
* Implement SPELL_EFFECT_BIND for normal homebinding.
  Also support spell target position mode used in 53823/53821 spells
* Add Spell::EffectEmpty for mark spell effects that used but not expect any code in handler.
  Example weapon spells that used just as known spell markers for client.

Original patch idea inspirit by Sadikum patch suggestion.
2010-03-01 13:08:52 +03:00
qsa
aa13458b69 [9495] Show overheal from HoT in combat log.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 09:00:33 +03:00
qsa
827d47a211 [9494] Implement SPELL_EFFECT_JUMP (41).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 08:37:42 +03:00
laise
59b28e3110 [9493] Fixed wrong spell cast at talent 50391 and ranks apply case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 07:46:01 +03:00
VladimirMangos
7ecd5365b9 [9492] Some cleanup in effects table. 2010-03-01 06:43:02 +03:00