Commit graph

1165 commits

Author SHA1 Message Date
VladimirMangos
df13468ee1 [7165] More strict checking for client casted spells.
Allow explictly cast character spell from client only if it non-passive and show in spellbook/etc base at server data.
2009-01-25 00:13:33 +03:00
DiSlord
68b537dc30 [7164] Fixed 1 tick periodic for drink spells (remove not need code)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:03:55 +03:00
DiSlord
c336eef4cd Fixed druid tree form bonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:02:05 +03:00
ApoC
8275ff9a36 [7163] Pet constructor cleanup.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 20:44:10 +01:00
ApoC
302dc70eab [7162] Converted some uint16 spellid parameteres to uint32. It can provide little speedup.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 18:42:14 +01:00
ApoC
475e8cbcf6 [7161] Implemented configurable option to allow/disallow achievements gain for GMs.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 17:42:21 +01:00
yad02
94d064be6f [7160] Implement (un-)learning skill level dependent spells at skill level change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Some related cleanups using new functionality.
2009-01-24 12:43:42 +03:00
VladimirMangos
bbf8fd0742 Not store dependent spells in character_spell
* Mark spells learned in result character creating, another spell learning, skill grow,
  quest reward as dependent and not store its in `character_spell`.
* Prevent re-learning known spell in expected state
* Prevent re-learning low rank spell as active if higher rank known.
* New type of non-stacked ranked spells check: skill dependent spell bonuses.
* Activate (show propetly and cast if need) lesser spell rank
  for non-stackable in spellbooks spells at unlearn high rank
2009-01-24 12:03:43 +03:00
DiSlord
4b5aba18f8 Some fixes/add to prev commit
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 04:28:32 +03:00
DiSlord
abaa111eaa [7159] Allow GO cast as need (use go coordinates for target select in some cases)
Fixed work all Huter traps target selection
More check in ObjectAccessor::Get Object
More generic work 22 TARGET_CASTER_COORDINATES target type

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 03:44:45 +03:00
ApoC
c2a0a18a38 [7158] Added isAlive() check into Unit::SelectHostilTarget()
This can fix some unexpected behavior in some scripts which not checking alive state in main UpdateAI() method.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-24 00:23:09 +01:00
mcben
625f94ab35 [7157] Fixed config file parsing for not ascii characters.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-24 01:46:45 +03:00
VladimirMangos
0798b151cc Small vehicle related code cleanup. 2009-01-24 01:45:57 +03:00
DiSlord
3f4821acfb [7156] More generic periodic aura work
Implement SPELL_AURA_PERIODIC_HEALTH_FUNNEL
Apply SPELL_AURA_PERIODIC_HEALTH_FUNNEL mod to aura periodic time
Add support SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY flag
Apply duration mod to channeling spells
Fix mage 44401 and correct drop its charge

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 22:10:12 +03:00
Energy
fbe212d359 [7155] One more mount allowed instance.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 19:28:23 +03:00
GriffonHeart
25b120877e [7154] Move allow player fly check to function.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 15:57:23 +03:00
VladimirMangos
10468d170d Fixed typo and restore loot rates work. 2009-01-23 15:51:55 +03:00
arrai
1c809f4943 [7153] Fixed map extractor build on some *nix systems 2009-01-23 11:29:23 +01:00
arrai
71cb0f514a [7152] Fixed typo in previous commit 2009-01-23 11:21:16 +01:00
begemot
9bede601a2 [7151] Startup log cleanup and beautification.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 04:29:35 +03:00
Neo2003
34fc995ef9 [7150] Fixed: spell 58284 must be in original spells for all warlocks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 02:14:33 +03:00
DiSlord
3c45d5f548 [7149] Implement paladin dummy proc - 53380 and ranks, 53501 and ranks
Complete fix dummy and trigger from Hunter 53228 amd ranks
Allow trigger from some Hunter, Paladin spells

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 01:45:16 +03:00
seirge
7e76c7dff2 [7148] Fixed possible crash at clone creatures without family.
Signed-off-by: zhenya <zhenya@mangos.ru>

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-23 01:28:24 +03:00
VladimirMangos
100801b713 [7147] Check creature template type/family at server startup. 2009-01-23 01:28:05 +03:00
freghar
11ed0e99a8 [7146] Trailing whitespace code cleanup
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
NoFantasy
1cae7220fa [7145] Mount ids for some spell casted taxi flights.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 18:32:31 +03:00
GriffonHeart
17916d3dc8 [7144] Implement DK specific way for talent points calculation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 06:35:10 +03:00
VladimirMangos
3afd542de2 [7143] Avoid selection quest taxi nodes for taxi master map.
Preper at loading more stricted taxi nodes mask for normal taxi network
with excliuded quest only nodes (used from spells with SPELL_EFFECT_SEND_TAXI.
Use prepered mask at search nearest to taxi master taxi node.
2009-01-22 05:14:26 +03:00
balrok
6bdb95dfc3 [7142] Fixed teleporting ghosts away from grave at lost control.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 03:44:07 +03:00
Energy
f26d6151c8 [7141] Implement heroic raid instance mode support.
* Heroic mode player amount for instances in DB. Can be used for any instances but added for heroic raid instance.
* Output transfer error at max playrs limit.
* FIXME notes ;) for raid required implementing store 2 reset time and do global reset for 2 modes. But currently raid have inmmap entry data
same reset time for both cases.
* Update instances list where mounts allowed.
* Simplify and fix code for SMSG_RAID_INSTANCE_INFO.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 03:27:59 +03:00
DiSlord
2a891a8c92 [7140] Implement 76 TARGET_DYNAMIC_OBJECT_COORDINATES
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 02:03:26 +03:00
DiSlord
d22f915c2c [7139] Implement 227 aura SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:55:18 +03:00
DiSlord
81a866fba7 Implement 267 SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:35 +03:00
DiSlord
d57baebef9 Implemement 255 SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT aura
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:31 +03:00
DiSlord
01b677ff82 Implement 195 SPELL_AURA_MOD_IGNORE_ABSORB_FOR_SPELL aura (remove unused variable)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:26 +03:00
Butch3r
3adbf3e00f [7138] Prevent spam aura add in logs. Output only in detail mode.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 00:14:32 +03:00
evilstar
c54383360a [7137] Implement SPELL_EFFECT_ALLOW_RENAME_PET, and then item 43850 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-22 00:00:32 +03:00
GriffonHeart
f0932d70c5 [7135] Implement support for single taxi master with different path for teams.
Side effect: quest taxi flights (without mount id provided) will impossible start from normal taxi master.
But for its expected starting from scripts.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-21 19:46:47 +03:00
VladimirMangos
2c2abc42f6 [7134] Make reqirement for DB data for non-player explicit discovery spell optional. 2009-01-21 19:46:46 +03:00
VladimirMangos
6bc449d053 [7136] Check mount existance at loading not completed taxi path at login. 2009-01-21 19:41:26 +03:00
GriffonHeart
d9d30fd40e [7135] Implement support for single taxi master with different path for teams.
Side effect: quest taxi flights (without mount id provided) will impossible start from normal taxi master.
But for its expected starting from scripts.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-21 17:50:21 +03:00
VladimirMangos
7766d016ca [7134] Make reqirement for DB data for non-player explicit discovery spell optional. 2009-01-21 15:51:37 +03:00
tomrus88
b5ba359186 Updated client build 2009-01-21 11:00:54 +03:00
tomrus88
8ffa79211b Merge branch 'master' into 308 2009-01-21 10:59:27 +03:00
VladimirMangos
2b91a790bc [7133] Re-implement explicit spell discovery code.
* Replace reqClass by reqSkillVlaue field in `skill_discovery_template`
  and check expected skill points amount for specific reipe discovery.
* Add new `spell_loot_template` loot table for store item selection data for spells.
  At this moment for expclicit recipes discovery spells.
* Code cleanups.
2009-01-21 06:39:54 +03:00
VladimirMangos
205957df0a [7132] Disable quest mail loot check: some quest mails not have items. 2009-01-21 06:09:16 +03:00
VladimirMangos
93662a1fb3 [7131] Ignore loot rates for some internal loot tables and batter loot checking at load. 2009-01-21 06:05:42 +03:00
ApoC
1718653e63 [7130] Changet all *::Update(time_t) to *::Update(uint32), there is no need to use time_t (mostly 64b) because time diffs are very small numbers and the base calculation of diff is done as uint32.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 02:48:32 +01:00
ApoC
a92354afed [7129] Changed uint64 results to const uint64& on some methods.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 02:10:03 +01:00
ApoC
03b7d1006a [7128] Cleanup in PetHandler.cpp and little PetAI.cpp
Fixed: pet stop attacking when casts spell by command.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-21 01:31:42 +01:00