VladimirMangos
c56ef09fa3
[7887] Drop pet spell teaching code, including field in character_pet.
2009-05-24 07:20:13 +04:00
VladimirMangos
8171bb57dd
[7886] Drop use table petcreateinfo_spell
...
This is first commit in chain for remove oudated and not used pet functionality.
* Use instead dropped table CreatureSpellData.dbc if creature_template.PetSpellDataId set (mostly hunter pets)
* Use creature_template.spellN if not set creature_template.PetSpellDataId (mostly different summon creatures)
* Fixed bug with not removing from action bar spell icon for not ranked unlearned spells.
Note: summoned controllable creatures without PetSpellDataId must have expected spells in spellN feilds for creature_template.
2009-05-24 06:39:29 +04:00
qsa
37f8cea0a1
[7885] Fixed talent 34914 and ranks proc spell to correct spellid.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:43:13 +02:00
Sephiroth1983
2bf4660129
[7884] DB cleanup from obsolete 28734 spell.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:21:00 +02:00
Serker
59392eee2d
[7884] Removed obsolete 28734 dependency.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 23:19:41 +02:00
ApoC
029b49dec8
[7883] Implemented new NPC extra flag CREATURE_FLAG_EXTRA_NOT_TAUNTABLE.
...
NPC with this flag is immune to apply aura SPELL_AURA_MOD_TAUNT and immune to SPELL_EFFECT_ATTACK_ME by default.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 20:06:07 +02:00
VladimirMangos
82c8428d78
[7882] For achievement criterias data check ACHIEVEMENT_CRITERIA_DATA_TYPE_T_PLAYER_DEAD include target's team check.
2009-05-23 19:38:04 +04:00
VladimirMangos
5616ef173b
[7881] More types with random generated item at recipe casting. Cleanups code.
...
Real resulting items creating required DB support (helper error message outputed at loading)
2009-05-23 18:51:39 +04:00
VladimirMangos
3d1b055e9e
Fixed bank bag slot amount achievement statistic. Cleanup related code.
2009-05-23 18:50:46 +04:00
ApoC
d3d07c5657
[7880] Added error output for default switch case.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 16:04:01 +02:00
ApoC
dc389f416c
[7879] Added SPELL_AURA_MOD_SPELL_CRIT_CHANCE into isTriggerAura.
...
This will fix auras (57529, 57531, possibly others) to be correctly removed dependently on their procFlags and procCharges.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:30:26 +02:00
Tanatos
a59de33941
[7879] Fixed proc for 31571 and ranks.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-23 12:21:14 +02:00
Derex
6a5cd72e4d
[7878] Use bigger buf for better performence.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-23 01:54:23 +04:00
VladimirMangos
bc4611e8c0
[7877] Correctly set totem PvP state at loading and owner PvP state change, including GM totem case.
...
* Also set PvP state in proper way at pet loading if owner in PvP state.
2009-05-23 00:37:49 +04:00
ApoC
e0e5ed7bd8
[7876] Implemented dummy effect and special target selection for 52759.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 20:34:58 +02:00
ApoC
dad833fd3e
[7875] Calculate mechanic immune mask for aura remove only if really needed.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 19:09:42 +02:00
ApoC
5c80c62f9b
[7874] Fix: possible runtime crash.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-22 18:20:56 +02:00
VladimirMangos
3beec18f4e
[7873] Use same name for realmd DB connection in realmd code as used in mangosd/game.
2009-05-22 16:27:46 +04:00
Astellar
0bd7177b11
[7872] Restore work one shaman totem
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-22 14:47:51 +04:00
NoFantasy
8b5fa13011
[7871] Drop unused second arg in InstanceData::OnCreatureCreate.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-22 06:33:08 +04:00
VladimirMangos
3b11d833c8
[7870] Implement creature ranged ammo show at ranged weapon use.
...
* Use BDC data (creature weapon not alwas listed in item_template)
2009-05-22 06:09:03 +04:00
VladimirMangos
b708cc87a3
[7869] Add note about VS 2003 drop to NEWS
2009-05-21 21:50:42 +04:00
freghar
fd074a71fb
[7868] Added guard sql queries and 7867_01_realmd_account.sql to Makefile
...
"the stuff I forgot in previous commit", sorry
Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 19:13:08 +02:00
freghar
34ee1cffa2
[7867] Change default IP in account and banned_ip tables
...
As IP of 0.0.0.0 is, unlike 127.0.0.1, more clearly recognized as invalid.
Signed-off-by: freghar <compmancz@gmail.com>
2009-05-21 18:47:29 +02:00
tomrus88
61d1829431
[7866] Added VS 2010 Beta 1 project files. Requires libeay32.dll update. This is experimental changes. Use it on own risk. (cherry picked from commit 732a8e66ab877563be3163b1307144d2003a7d2a)
...
Signed-off-by: tomrus88 <tomrus88@gmail.com>
2009-05-21 20:10:04 +04:00
tomrus88
8163470c2c
[7865] Dropped VC 7.1 (VS 2003) support.
2009-05-21 19:52:36 +04:00
NoFantasy
50898eedde
[7864] Use x.0f float constant format.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 17:34:18 +04:00
Alex
bde5402b40
[7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 05:26:38 +04:00
VladimirMangos
0f928164e0
[7862] Fixed infinity loop at search spell related summoned gameobject in owner list.
2009-05-21 03:42:26 +04:00
Astellar
75438d2736
[7861] Update visibility check to make possible have invisible for owner pets/totems (need for some spells)
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-21 02:39:28 +04:00
Neo2003
fa03b3663a
Mobs fleeing and getting assistance feature implementaion.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also rename ACTION_T_FLEE to ACTION_T_FLEE_FOR_ASSIST for clear use
2009-05-21 01:33:28 +04:00
VladimirMangos
f332c000d1
[7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call for help in some script cases.
2009-05-20 22:15:41 +04:00
raczman
159258b668
[7859] Memory leak in BG code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Thanks to ANTOMA for prepering patch to mangos.
2009-05-20 16:34:28 +04:00
raczman
a6d4d733b5
[7858] Properly deallocate memory in tile assembler, and dereference memory when fread fails.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Thanks to ANTOMA for prepering patch to mangos.
I also change code to more nice view using temporary defines.
2009-05-20 15:42:41 +04:00
X-Savior
1dbadb6ff0
[7857] Update doc/EventAI.txt
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-20 13:36:29 +04:00
Astellar
ea1ca701ed
[7856] Fix cast 51525 and ranks charge on target (not owner)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-20 06:58:50 +04:00
Seizerkiller
c014560b45
[7855] Add description command to pool_* tables for simplify DB development.
...
Note: this fields not used and not loaded by mangos.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-19 23:40:06 +04:00
NoFantasy
83beb6ec1d
[7854] Fixed typo in random text selection code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-19 23:24:35 +04:00
Astellar
4e748b3786
[7853] Start casting including take reagents/power and set cooldown aftre fill targets and re-check spell cast continue.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-19 23:09:44 +04:00
VladimirMangos
72b4ff2fac
[7852] Use union of per-event type structures, more checks at creature event ai loading.
...
Including:
* Fixed check for EVENT_T_SPELLHIT school field. Add check at loading. Note: this event expect before and now schol _mask_ in param2.
* In EVENT_T_RECEIVE_EMOTE use original player condition check code instead copy of related code.
2009-05-19 22:20:36 +04:00
VladimirMangos
e712baa58c
[7851] Fixed typo to allow work '.tele name' command.
2009-05-19 01:36:29 +04:00
VladimirMangos
0838475415
[7850] Fixed '.pinfo name' work, move reputation code from it to new command '.character reputation [$name]'.
2009-05-19 01:03:39 +04:00
VladimirMangos
fdbc22ac93
Provide and use universal way for get locale and locale index for chat/console command use.
2009-05-19 01:02:10 +04:00
DiSlord
695d83568a
[7849] Fix remove Swiftmend aurastate in some cases
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-18 23:44:26 +04:00
SeT
c672d4d99e
[7848] Fix set variable to zero on apply -100% mod
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-18 23:41:12 +04:00
VladimirMangos
07d00c3927
[7847] Replace paramter unions by uniton of event ai action type structures. Add/fix some loading checks.
...
* Also send to process function reference to strucutre instead large amount fields.
* Specially note that fixed check for first arg of action type 27 that before wrongly test as quest id,
when by using code expected creature id. Possible some used data wrongly can be quest ids....
2009-05-18 22:45:20 +04:00
timmit
2d4edd18f6
[7846] Add empty line to end of .h file
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-18 13:27:31 +04:00
evilstar
4617ac1dc1
[7845] Implement reload support for creature eventAI tables.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-18 12:28:45 +04:00
VladimirMangos
75d7a4c0cb
[7844] Fixed mangos string storage index type.
2009-05-18 12:28:23 +04:00
ApoC
592adcf6d4
[7843] Added newline into Pet.h end to make gcc happy.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-17 23:54:00 +02:00