Commit graph

1128 commits

Author SHA1 Message Date
michalpolko
4bb5fdb53b [11549] Fixed talent 58872 and ranks triggering by not blocked attacks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-27 04:54:04 +04:00
breakwater
d02bee5127 [11530] Fixes for talent 47201 and ranks
* Update triggering source spells.
* In code overwrite wrong family mask data for spell mod.
  If more cases will be maybe will better restore spell_affect table.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-24 06:00:47 +04:00
SilverIce
7c86d3f477 [11529] Pack and send to client all gameobject's quaternion components which allows place gameobjects cornerwise.
Update '.gobject turn' command, now you have to specify 3 rotations to turn gameobject: rotation angles around z, y and x axes.
Note to DB devs: use QuaternionCompressed::Unpack to extract rotations from the data that came with UPDATEFLAG_ROTATION.
2011-05-24 03:49:13 +03:00
Schmoozerd
4ba5aa83e3 [11523] Implement .npc aiinfo
Comamnd show information about used AI and scripts for targeted creature.
AI classes (including from script DLL) can provide additinal info about own state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-23 03:05:05 +04:00
Iriskin
5876afb0a4 [11521] Fixed typo in chat command help.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 23:55:03 +04:00
VladimirMangos
f2cdfcf9b2 [11517] Restore work glyph 43350 2011-05-21 06:04:49 +04:00
laise
36857cadc9 [11516] Druid T10 Balance 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 04:49:36 +04:00
Vinolentus
19ff7f0a8b [11513] Not pass command list as format %s value.
This let avoid not nice command list text length limitation.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-20 23:14:06 +04:00
laise
440e80b5ae [11503] Warrior t10 dps set bonuses.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 05:07:29 +04:00
VladimirMangos
eb61995f7e [11501] Implement item 46098/46348 enchanting work. 2011-05-18 03:15:24 +04:00
NoFantasy
ecdb435b1e [11489] Remove the old and custom UNIT_NPC_FLAG_GUARD for creatures.
Existing data moved to flags_extra field, with value CREATURE_FLAG_EXTRA_GUARD (0x400 / 1024).
Remove isGuard() from Unit class to a new IsGuard() function in Creature class.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-14 19:17:13 +02:00
Den
706c97c943 [11453] Fixed tier 8 4p bonus affect work
Also small spells ordering fix in `spell_proc_event`.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 05:50:24 +04:00
stfxpi
0c33b7bedf [11452] Implement spell 14537 effects.
Also re-add in correct way sql update for prev. commit.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 05:30:46 +04:00
bwsrv
917e832fed [11451] Fixed proc talent 63156 and ranks from 6353 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 04:19:57 +04:00
BThallid
7237fe7f62 [11436] Really save/load item 5/6 objectives counters in quest status.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-08 01:55:32 +04:00
VladimirMangos
06ba42ccba [11435] Fixed IsPositiveEffect triggered spell case and some cleanups
Mostly found in time 400 update.
2011-05-08 01:43:02 +04:00
VladimirMangos
8807af4a18 [11433] Remove remains 'internalItemHandler' as default in past item script name. 2011-05-07 18:38:42 +04:00
TOM_RUS
e1f345c49f SQL fix. 2011-04-24 22:22:37 +04:00
TOM_RUS
e39a8b55a0 [11391] Auction: multi sell, sale pending list and other fixes. 2011-04-24 21:57:49 +04:00
zergtmn
a030d46ef0 [11389] Fix mangos.sql after [11385] 2011-04-21 19:19:25 +06:00
zergtmn
2835aa5f20 [11385] Add support for static vehicle spawns
Signed-off-by: zergtmn <zerg@myisp.com>
2011-04-20 23:23:47 +06:00
DasBlub
7b2308e483 [11372] Convert tabs to 4 spaces
Thanks to Darkknight900 for pointing out!

Used this script on sql/ and src/: find . -iname *.h -o -iname *.cpp -o -iname *.inc -o -iname *.sql | xargs sed -i 's/\t/    /g'
2011-04-17 01:34:51 +02:00
mns
531103b9e5 [11348] Ignore spell power for item spell 43733.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-14 04:34:46 +04:00
VladimirMangos
07fcdc33cc [11346] Use DELETE/INSERT in 11335_02_mangos_mangos_string.sql 2011-04-13 20:27:23 +04:00
Darkknight900
d83c75b555 [11337] Better wording. v1.01
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-12 17:57:13 +04:00
Schmoozerd
ea516bef45 [11335] Let npc info command display more information.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-12 13:59:26 +04:00
NoFantasy
3cd5a2fb9c [11312] Better wording.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-03 22:38:29 +04:00
VladimirMangos
b92ebd994f [11310] Make .npc add/.gobject add commands work safe.
Reserve at server startup some guods follow last used in static DB spawns guid
for creatures/gameobjects for use in .npc add/.gobject add commands.
This allow safe select guids not used in all map copies. Guids for temporary spawns
used from range frollow after reserved guids range.

This also let select new static spawns guids (added in game chat command) near to already used static guids.
So it let avoid gaps in static guids lists.

Amount reserved guids set in new GuidReserveSize.* config options.
2011-04-03 21:22:58 +04:00
zergtmn
4687fa8cb4 [11299] Handle aura durations in SpellAuraHolder
- Unit::CalculateSpellDuration split into two functions
    - CalculateSpellDuration taking into account combo points and caster-side spell mods
    - Unit::CalculateAuraDuration taking into account target-side spell mods
- Diminishing is now applied before duration reduction mods
- Implement saving per-effect periodic timers to DB (required for auras affected by haste)
2011-03-30 23:29:01 +06:00
TheLuda
3edc98c4aa * Mark the functions deterministic to avoid issues with MySQL binary logging. 2011-03-20 14:39:39 -07:00
Iriskin
a9b7f00a9e [11234] Fixed typo in .debug spellcoefs help string.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-03-09 17:20:58 +03:00
zergtmn
02c1bc6557 [11217] Drop effect indexes from *_addon.auras field 2011-03-05 01:50:49 +05:00
VladimirMangos
9312ef7e78 [11214] Implement .debug spellcoefs command
Command show default calculated and DB stored coefficients for spell direct/dot heal/damage.
2011-03-03 18:56:29 +03:00
Neveragain
bef47ce126 [11205] Implement talent 48492 and ranks.
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2011-02-27 15:24:47 +01:00
DasBlub
02a07e6bc7 [11204] Fix mangos_spell_check.sql
Thanks Bobbi88 for pointing out!
2011-02-24 21:31:30 +01:00
VladimirMangos
6529e69924 [11201] Fixed sql update guards in 11200_01_mangos_spell_bonus_data.sql 2011-02-23 16:36:14 +03:00
Lynx3d
3f86c5a865 [11200] Move hard-coded AP coefficients for spells 1776, 8680, 13218 and ranks to spell_bonus_data table. 2011-02-23 13:06:29 +01:00
laise
35c89b68e7 [11198] Implement max stack effect of enchantment applied by spell 2823 and ranks.
Thanks to "maly32167" for additional input.
2011-02-22 20:52:01 +01:00
VladimirMangos
c7eb17b912 [11190] Implement pool_creature_template/pool_gameobject_template.
New table similar `pool_creature`/`pool_gameobject` but store creature/go ids
instead guids. At loading to poll added all guids for specific entry id.
This let not list explictly guids when need list in pool all guids for some entry id.
Mostly for quest pool spawns or unique creature/go random possitions for example.

At load tested that guid added to pool using new tables data not listed in guid tables.
2011-02-20 07:35:14 +03:00
NoFantasy
47776c9b79 [11177] One more typo in DELETE from 11169_01_mangos_mangos_string.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-17 01:53:13 +03:00
virusav
cb8a56aa68 [11176] Fixed DELETE part of 11169_01_mangos_mangos_string.sql 2011-02-17 00:46:20 +03:00
VladimirMangos
24262fb3ae [11174] Missing mangos_string entries from [11169]
Its listed in sql updates but missing in mangos.sql
2011-02-16 08:30:25 +03:00
VladimirMangos
a6584c4401 [11169] Implemented pool system related commands.
.lookup pool $pooldescpart - list of pools (anywhere) with substring in description
.pool list   - list of pools with spawn in current map (only work in instances)
               Non-instanceable maps share pool system state os useless attempt get all pols at all continents.
.pool spawns - list current creatures/objects listed in pools and spawned (added to grid data, not meaning show in world).
.pool spawns #pool_id - list current creatures/objects listed in #pool_id and spawned (added to grid data, not meaning show in world).
.pool #pool_id - pool information and full list creatures/gameobjects included in pool
2011-02-15 14:43:46 +03:00
cipherCOM
c9942fb0cc [11166] Removed old autoconf files
(based on cipherCOM's repo commit 7b5a932)
2011-02-14 12:56:11 +03:00
foohey
30cb26d86a [11160] Lost from_unixtime(integer) function in prev postgre_compatibility_addon.sql
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-14 08:39:47 +03:00
foohey
f31a2d3d84 [11155] Provide way define UNIX_TIMESTAMP/FROM_UNIXTIME for PosgreSQL users.
If mangos build for use Postgre SQL server
Queries from sql/postgre_compatibility_addon.sql must be used
at least one time for each mangos DB part stored in Postgre SQL server.

File constent based at article in http://janusz.slota.name/blog/

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-12 23:04:27 +03:00
VladimirMangos
f73868a703 [11117] Allow for non-instancable maps have InstanceData and instance scripts.
* New table added for non-instanced maps (except BG/arena):
    - `mangos`.`world_template` (script mapping to non instanced data)
    - `characters`.`world` (saved script data string storage)

* InstancedData created for any map types including BGs/arenas, that allow have scripts
  state for any maps, but BG/arena instance data not saved.

Note: Possible structures will renamed later for clarify apply to any type maps,
but avoid for now for simplify changes and hard affect to script library sources.
2011-02-08 04:15:13 +03:00
blueboy
332c4174d2 [11116] Fixed sql update guards data.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

silverice, please use git_id -s instead manual editing for sql updates ;)
2011-02-07 14:34:11 +03:00
SilverIce
50e681146e [11115] Implement .gm setview command 2011-02-07 04:14:09 +02:00
Skirnir
75b4f75f4d [11066] Remove tail whitespaces.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-25 00:22:29 +03:00