Commit graph

5980 commits

Author SHA1 Message Date
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
DiSlord
9e1b9e56fd [7127] Implement 271 SPELL_AURA_MOD_DAMAGE_FROM_CASTER aura
Allow this aura trigger and drop charges (only if caster hit target)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 01:36:17 +03:00
pasdVn
1d0d9c6fa2 [7126] Fixed typo in spell 53301 and ranks dummy tick.
Fixed typo in spell 53290 and ranks dummy proc.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 22:40:58 +01:00
DiSlord
921914f87e [7125] Work under pet talents
Coorrect update Talent Points on levelup / leveldown
Unlearn other ranks of learned talent
Fix typo in Pet::HasSpell (wrong result for removed spell)
Allow .reset talents reset pet talent
Implement SPELL_AURA_MOD_PET_TALENT_POINTS aura (hunter talent)
Only reset pet talent from trainer unlearn.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 00:31:19 +03:00
DiSlord
ca7ac74134 Allow trigger from 10 and ranks Mage spell (work some talents)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 00:28:00 +03:00
DiSlord
b6e7f49887 Use SPELL_AURA_MOD_MECHANIC_RESISTANCE for melee spells
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 00:27:49 +03:00
ApoC
220aa56fed [7124] Removed virtual keyworld from Map::CanUnload method. This method needn't to be virtual. Method moved all into header file to be inlined.
Fixed problem when instance never unloaded in case low population servers where update time always fit into WORLD_SLEEP_CONST and unload time is multiple of this constant.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 20:54:23 +01:00
Balrok
ce384c5278 [7123] Cleanup in using STD's containers erase method.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 20:07:44 +01:00
VladimirMangos
8171c9c61a [7122] Initilize UnitActionBarEntry fields. 2009-01-20 15:32:34 +03:00
arrai
6ef0e056b0 [7121] Fixed ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_ACHIEVEMENT 2009-01-20 01:57:15 +01:00