Commit graph

729 commits

Author SHA1 Message Date
dpedroia15
0c45eee083 [11182] Add dummy effect of spell 64981
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-17 15:24:17 +01:00
zergtmn
57ebd5371d [11181] Small optimization for [11179] 2011-02-17 19:13:46 +05:00
virusav
06d36feed2 [11180] Add dummy effect of spell 69922
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-17 14:11:07 +01:00
virusav
97e6439a0f [11179] Add dummy effect of spell 50918 and script effect of 50894
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-17 12:38:53 +01:00
NoFantasy
2ba3fe7114 [11170] Add dummy effect of spell 66390
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-15 13:26:52 +01:00
NeatElves
ec432ea452 [11148] Add dummy effect for spell [74904]
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-02-12 17:07:16 +02:00
Toinan67
ec123b59a6 [11146] Proper damage for spells [68793] and [69050]
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-02-12 16:28:57 +02:00
dpedroia15
4483cbc06d [11142] Implement dummy effect for spell [3360]
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-02-12 15:22:55 +02:00
VladimirMangos
cf685da47a [11139] Use for Creature/GameObject local per-map guids
* Creature/GameObject guid generators moved to Map
* For avoid wrong not converted cases generic function in ObjectMgr has been replaced by
  specilized guid generation function like sObjectMgr.GeneratePlayerLowGuid().
  This let catch all cases that need update in custom code or scripts.
* Drop many ObjectAcessor.h now dead code. This is also make mangos more thread safe.
* Restore one more time unix build broken in prev. commits.

Note: many cases when something not wotk in instance but work in continents
possible magicly start work after this commit. For example, some gm commands.
From large systems that need more chnages for start work in full power in instances
can be referecned pool/gamevent system. Last need just small hacks drop changes but
in will addded in independent commit.
2011-02-12 09:52:16 +03:00
NoFantasy
0d16b0bdc7 [11125] Add dummy effect of spell 39189
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-10 00:58:54 +01:00
VladimirMangos
f09a4e2a1a [11103] Fixed item 40775 mount work
* Move code to dummy aura (main spell mount aura not applied yet in time scripting effect processing)
* Use special mount spell selection helper instead raw code.
2011-02-02 20:28:11 +03:00
NoFantasy
6f74fa1be8 [11099] Add script effect of spell 24720
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 12:32:50 +01:00
NoFantasy
abb7c64fb1 [11098] Add script effect of spell 24717 and 24737
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 11:53:14 +01:00
NoFantasy
a23f1a2e08 [11097] Add script effect of spell 24718
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 11:40:24 +01:00
Morphau
65ad0231e7 [11096] Add script effect of spell 24719
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-02 11:31:02 +01:00
virusav
beeec1c0cd [11092] Add script effect of spell 24194 and 24195
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-02-01 14:07:26 +01:00
Lynx3d
6fbf464786 [11073] Prevent applying SPELLMOD_DURATION for summons with unlimited duration.
Fixes summon duration of spell 70908 in combination with talent 44557 and ranks.
2011-01-26 03:00:48 +01:00
NoFantasy
47ef4eca32 [11072] Remove SetCreatorGuid for wild summoned creatures.
If any exceptions exist where this field must be set, please inform in forums :)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-25 20:59:25 +01:00
NoFantasy
c54ae28ac2 [11071] Some improvements to summon location of wild summoned
Not using a hard coded radius, instead summon at location where radius is 0 (or the actual radius).
Does only affect spells without TARGET_FLAG_DEST_LOCATION set (and the majority of those spells with implicit target 18)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-25 20:14:58 +01:00
NoFantasy
686d9b0c70 [11064] Add dummy effect of spell 9976
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-22 12:30:18 +01:00
NoFantasy
1824dd767f [11057] Add script effect of spell 48917
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-21 12:19:27 +01:00
zergtmn
2223393527 [11051] Implement spell 51662 2011-01-20 17:13:06 +05:00
zergtmn
9bc37afa28 [11044] Make EffectDistract implementation less hacky 2011-01-19 23:13:19 +05:00
PSZ
0f70e9a79c [11043] Add additional check for spell 53475, 53487 and 54015
Only reset when current rep is less than the reset value.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-19 17:10:21 +01:00
NoFantasy
6f2804d513 [11042] Add dummy effect of spell 47305 and script effect of 47311
Note: spell animation (the fun part of the spells) does not play as it should, so this implementation should be revised at some point to correct that problem.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-19 16:58:01 +01:00
VladimirMangos
bf04f46011 [11040] Fixed spell bonuses apply to healing from 58757
Thanks Lynx3d for help in patch writing.
2011-01-18 21:59:20 +03:00
michalpolko
56eb87f1f8 [11033] Implement glyph 45793.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 14:06:09 +03:00
NoFantasy
3bb16cacdb [11031] Add dummy effect of spell 54577 and script effect of 54581
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-18 10:57:44 +01:00
michalpolko
7d61f8470e [11024] Fixed work spell 50720
* Threat redirection correctly applied
* Implemented cooldown reset part.

Note: Damage redunction still not fixed.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 15:21:03 +03:00
x3n
d35be7f4c1 [11023] Implement support for threat multiplier and AP based threat bonus for spells.
* Higher ranks are now automatically filled when not listed in spell_threat
* Added some loading checks to detect inconsistent data

Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2011-01-17 12:55:24 +01:00
breakwater
d072a42807 [11020] Proper percent damage for effect 3 of spell 50341.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-17 11:08:19 +03:00
VladimirMangos
1e8ca772b3 [11012] Remove battlemaster mails support as unused now. 2011-01-15 19:18:44 +03:00
Daggy
e9fc7d05b2 [10999] Add teleport destination for TARGET_EFFECT_SELECT cases
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-11 09:29:04 +01:00
VladimirMangos
15943c95d8 [10996] Move set max original aura stack cases to aura holder creating
This will avoid show unexpected "gain Name Name(2) Name(N)" spam in log.

Maybe exist more nice way seelct like spells instead raw listing but i not see currently it.
2011-01-10 15:34:31 +03:00
NoFantasy
7ab08fd6a4 [10992] Add CastSpell part of dummy effect for spell 23138
Also limit max targets.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-09 19:41:29 +01:00
NoFantasy
f8680c119d [10991] Add dummy effect of spell 19411 and 20474
Hack alert! Create GO manually instead of using spell. See code comments for details.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-09 18:47:59 +01:00
Lynx3d
f11ec97957 [10990] Fix wrong threat assignment in Spell::EffectHealPct when m_caster and m_originalCaster differ. 2011-01-09 15:43:50 +01:00
Daggy
9f8cfb77d4 [10967] Add dummy effect of spell 38194 and limit it's maxTargets
Correct order of spellfamily case.
Note: triggered spell 38203 needs target map fill

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-01-05 10:24:23 +01:00
VladimirMangos
a0e298179c [10952] Don't use singleton to access static functions. 2011-01-03 14:55:55 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
VladimirMangos
afdfdf6559 [10939] Check non-unit target case for avoid crash in EffectQuestComplete. 2010-12-30 03:20:39 +03:00
zergtmn
ec6089bbd8 [10935] Move script calls to ScriptMgr
- Script library presence is now optional.
- Some script hooks have new names. Scripting libraries need to be adjusted accordingly.

Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-29 21:48:06 +05:00
VladimirMangos
918e646ca2 [10934] Implement dummy effect of spell 7671.
Thanks to X-Savior for reserch.
2010-12-29 05:05:59 +03:00
zergtmn
0d6f990e4e [10912] Move scripting related functions from ObjectMgr to ScriptMgr 2010-12-24 00:23:37 +05:00
KiriX
b6c50838a3 [10910] Use provided target instead of caster for SPELL_EFFECT_QUEST_COMPLETE
Signed-off-by: zergtmn <zerg@myisp.com>
2010-12-23 21:03:14 +05:00
VladimirMangos
a84d67a389 [10908] Imporve detection need use reagents by triggered spell.
Now regagent used if main spell (if infor about provided to triggered cast)
not have regent data.

This fix reagetn use for spell 43723. But maybe need another fixes for proper animation.
2010-12-23 00:58:21 +03:00
zergtmn
2f4e7a9377 [10901] Allow vehicles to have gossip menu
In addition rename IsGameobject -> IsGameObject.
2010-12-21 15:14:52 +05:00
VladimirMangos
f228a1c08d [10866] Unsummon guardians at re-cast only for non-triggered case. 2010-12-13 08:05:46 +03:00
NoFantasy
0c20c0f9f7 [10858] Add triggered spell part for dummy effect of spell 43572
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-11 12:37:10 +01:00
Feanordev
c5a96cde5f [10852] Fixed typo in [10847]
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-11 02:57:51 +03:00