Commit graph

766 commits

Author SHA1 Message Date
VladimirMangos
093db9c033 [10223] Implement spell 44572 affect to permament stun immuned targets.
This also fix unexpected triggering effect any unrelated spell casts.
2010-07-19 06:53:01 +04:00
VladimirMangos
98ae9efbc6 [10220] Fixed typos in mangos.sql
* Typos in `1playercreateinfo_*` tables. Thanks to Astoria.
* Lost recent field rename in `item_template`. Thanks to bobi88.
2010-07-18 22:54:58 +04:00
Laise
5a1a40719c [10219] Fix spell 36032 stacking and procs 2010-07-18 20:02:13 +03:00
crackm
7bb8b2bedb [10217] Update playercreateinfo_action/playercreateinfo_spell
* Drop some food action buttons
* Drop attack spells for caster classes
* Use expected simlifed spell version 20154 (it replaced by full version at learn spell 53408 and similar)
  In code used helper code for support 2 versions as fake non-stacking ranks.
* Some other old "max ranks" of talents and spells now are permanent bonuses known from start (only "max rank" for spell exist)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-18 12:26:12 +04:00
crackm
624b45f333 [10208] Add proper data for character orientation at creating.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-17 20:04:38 +04:00
VladimirMangos
20a5551739 [10207] Implement ITEM_FLAGS2_EXT_COST_REQUIRES_GOLD use instead sign of ExtendedCost field. 2010-07-17 19:23:38 +04:00
Lynx3d
f2e3881a77 [10205] Correctly implement flying mount restrictions in zone 4395 by use of special area flag.
Also drop existing spell_area entries if exist, workaround not needed anymore.
2010-07-17 05:53:17 +02:00
VladimirMangos
4e16982d18 [10203] Rename item_template.Faction to Flags2 and define some values for it.
Thanks to Shauren for research flag ITEM_FLAGS2_COST_REQUIRES_GOLD meaning
and inspiring in general what must be done long time ago with field rename
and other enum values listing.
2010-07-17 04:51:25 +04:00
VladimirMangos
f8efc2b5b3 [10197] Add to playercreateinfo original player orientation field.
It still not filled. Patch with correct values welcomed ;)
2010-07-15 22:25:27 +04:00
VladimirMangos
93e06f945e [10171] Clarify acoount password/lock command errors. 2010-07-09 23:20:39 +04:00
Laise
f5565c725a [10160] Fix sql for character_aura and pet_aura 2010-07-08 17:52:36 +03:00
Laise
a4c197681b [10159] clean-up after recent changes 2010-07-08 13:30:08 +03:00
Laise
a32b3063a2 [10156] Add shared object for auras of same spell and move spell proc code to its own file, also spread procs by auras and effect indexes. 2010-07-07 19:08:26 +03:00
Lightguard
ba5de6eb8c [10148] Improve .gm ingame command
Thanks to Vladimir for suggestions
2010-07-04 00:30:36 +02:00
przemratajczak
8d80906296 [10131] Fix spellpower bonus received by 54181
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-07-01 10:17:15 +02:00
schmoozerd
9379e3b81d [10125] Add pool/event ids to diff creature/gameobject list output commands.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-30 20:45:12 +04:00
NoFantasy
b8942160be [10119] Add model data for undead player that got lost for rev 10109
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-29 09:54:55 +02:00
NoFantasy
bb3b0bd598 [10109] Add and use actual bounding_radius/combat_reach per model for characters.
Data are stored in same table as for creature (like dbc models data), and provides the default values for playable races.
Currently the bounding and reach are applied only at creation and load. Note that these values are modified by scale. For player case, scale is always 1.0 as default.

For later, auras and spell effects that change scale and/or modelid must in addition make sure bounding_radius are updated accordingly to the new scale and/or model (combat_reach does not seem to be affected by such changes, and is always 1.5 for players).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-06-27 01:31:51 +02:00
schmoozerd
4e1c8a2ad6 [10107] Pool/event info in .npc info and .gobject target commands
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-26 18:56:22 +04:00
VladimirMangos
a504b4d200 [10106] More modes for .go commands
* Now '.go' command can be used with creature_entry/gameobject_entry shift links (output of .lookup creature/object commands)
* Now '.go object' command sipport id-mode and name part mode similar .go creature case: .go object id #gameobject_id or .go object $namepart.
* HandleGoHelper use in more commands also.
2010-06-26 17:26:00 +04:00
VladimirMangos
8e6410d639 [10089] Change in event system work with pool system.
* `game_event_pool` dropped and related in momory data generated
  based by another pool tables content.

* Pool work with spawed at event and despawned at event object now different.
  - If object listed in `game_event_*` as spawned at event start and it's part of some pool
    then all other pool object must be listed as spawned with this event start, and more,
    if pool has mother pool, then all mother pool members must have objects spawned at this
    event start. More short: all object of some top (not have mother pool) mitbe or listed for some event start spawn,
    or not listed for any event start spawn.
  - If object listed in `game_event_*` as DEspawned at event start and it's part of some pool
    then nothing special required for other pool objects. Event systemwil command to pool system exclude for spawning and despawn referenced
    object until event end.

* Many checks has been added at event/pool data loading.
* Changes fix crashes related to event/pool common work.

Thanks to NoFantasy for help in research original problems and ways for improve code.
2010-06-21 06:13:02 +04:00
VladimirMangos
a2a50c11be [10087] Move table in more expected mangos.sql part 2010-06-20 21:49:47 +04:00
VladimirMangos
619f01e150 [10086] Implement use .go command with shiftlinks or player name.
* Now if for .go command provided no X Y Z args command will not teleport player to nowhere.
* Instead command allow used with player name and work as simplifed .goname
  (teleport to player _point_ in user instance binding, not to player instance)
* Also command can be used with diferent point coordinates provided shift-links:
  - player (result for example .lookup player account)
  - creature (result .list creature command)
  - gameobject (result .list object command)
  - tele (result .lookup tele)
  - taxinode (result .lookup taxinode)
2010-06-20 07:13:20 +04:00
VladimirMangos
e82f4fbd29 [10058] Add to mangos.sql data from 09720_01_mangos_spell_proc_event.sql
Thank you to NoFantasy for pointing to inconsistance.
2010-06-15 02:15:08 +04:00
VladimirMangos
aa5dfc2895 [10056] Re-add spell proc sql data from [7879].
* It not has been added in commit time to mangos.sql
* It alsow required data updating in family masks.

Thank you to NoFantasy for reseatch problem :)
2010-06-14 20:13:24 +04:00
VladimirMangos
f520c9b1e0 [10051] Fixed talent 58426 broken after 3.3.3 switch.
Also cleanup character auras from wrong duration auras.
2010-06-12 04:32:33 +04:00
VladimirMangos
e1766a3adb [10045] Frop unexpected custom rank data for 26016.
This make spell rank use first rank data.
2010-06-08 17:31:10 +04:00
VladimirMangos
8e9a201ea0 [10044] Generate talent related spell_chain data instead storing its in table.
* Drop now redundant part of data from `spell_chain`.
* Allow store in spell_proc_event cusom ranks data for ppm for chained ranks.
* Drop now redundant part of data from `spell_proc_event`.
2010-06-08 01:51:32 +04:00
AbsoluteZero
32bed90aa9 [10036] Fixed health restore and triggering cooldown for talent 30881 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-06 18:39:08 +04:00
Ceris
7ed98198a7 [10022] Fix damage for 14278 and 16511 and ranks when dagger is equipped
Signed-off-by: Laise <fenrisse@gmail.com>
2010-06-02 18:39:59 +03:00
Laise
1750f61d73 [10018] Add 16246 proc to mangos.sql 2010-06-01 09:02:15 +03:00
VladimirMangos
e4adbc29e6 [10017] Make spell_proc_event.SchoolMask unsigned.
Also use byte length hex for school mask in mangos.sql data.
2010-06-01 06:26:57 +04:00
VladimirMangos
86439e14ad [10015] More redundant data check in spell_proc_event 2010-06-01 04:45:50 +04:00
Laise
f9df9d6226 [10012] Fix charges taking for 16246 2010-05-31 22:04:26 +03:00
VladimirMangos
93624bb496 [10011] Check redundent procFlags value in spell_proc_event. 2010-05-31 12:27:47 +04:00
Laise
57623491c0 [10008] Fix sqls 2010-05-30 23:58:27 +03:00
Laise
6551671f6d [10007] Fix wrongly initialized value 2010-05-30 23:39:04 +03:00
patman128
b98691501b [10006] Fixed typo in mangos.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-29 23:21:55 +04:00
VladimirMangos
8988f0f609 [10003] Fixed unix* install.
I forgot update sql updatenames in Makefile.am after its rename.
2010-05-29 05:57:45 +04:00
VladimirMangos
cd5d598bd6 [10001] Rename current version sql updates (0.16/root dir) to 5 digits format rev.
* order guards not affected in sql updates so this not affect sql guards work.
* TO DEVS: in next sql update commit please check carefully generated by git_is -s
  sql guards for correctness
2010-05-28 23:48:50 +04:00
VladimirMangos
2d81f31afc [9990] Use more correct data for prev. sql update. 2010-05-28 04:26:36 +04:00
VladimirMangos
2cd5a6bbf2 [9988] Add correct spell chain data for 61024 and 61316. 2010-05-28 01:50:28 +04:00
VladimirMangos
86bef7ace5 [9984] Implement item 43214 work.
* Original version suggested by timmit.
* Required DB support for target requirement.
2010-05-27 19:14:02 +04:00
VladimirMangos
4e716c67da [9978] Add explicit AP damage bonus for spells 55095, 55095.
Original patch provided johonson.
2010-05-27 00:05:16 +04:00
insider42
fe69843ce7 [9977] Update talent 16180 and ranks work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-26 22:15:06 +04:00
VladimirMangos
94888e52cd [9974] Restore raid functionality broken after one from 3.3.x switches.
* Fixed typo in raid converting code that triggering raid disband at server restart.
* Fixed current subgroup show for character and update group memebers data at move its
  in diff subgroups.
2010-05-26 00:27:07 +04:00
Laise
628531933d [9967] Fix 16164 proc conditions 2010-05-23 19:51:48 +03:00
VladimirMangos
f0b1c5bd74 [9958] Implement item 34753, 43015, 43478, 43480, 46887. 2010-05-23 00:32:58 +04:00
VladimirMangos
67b8ca03b5 [9957] Alow sell item for money and extanded coset without momey in same time.
npc_vendor.ExtandedCost can be negative now that meaning:
price excluded default item BuyPrice and use only abs(ExtandedCost) items).
For example expected used for item 36908.
2010-05-22 19:49:07 +04:00
VladimirMangos
33c9af577c [9945] Update mangos_spell_check.sql
* Add all data from Spell.cpp
* Add missing data from recent commist for added parts of SpellEffect.cpp
2010-05-21 07:33:52 +04:00