Commit Graph

308 Commits

Author SHA1 Message Date
Shauren
8dbdc15705 Core/Units: Made RemoveAllAurasExceptVehicle more generic, can now be used to remove all auras except specified type 2011-04-23 10:24:44 +02:00
Shauren
d73ffc9e81 Core/Vehicles:
* Added generic solution for vehicle accessories not relying on AI calls
* Only accessories marked as minion will be respawned when the vehicle enters evade mode
* Notify the summoner's AI when vehicle accessory fails to install and despawns
2011-04-22 21:59:37 +02:00
Shauren
0d477ab132 Core/Creatures: Dismount creatures without CREATURE_TYPEFLAGS_MOUNTED_COMBAT when entering combat 2011-04-18 11:43:50 +02:00
Shauren
eb0c1bdff0 Core/Vehicles: Fixed vehicles with passengers not counting for kill crediting 2011-04-16 14:01:25 +02:00
SimonDMII
e38634186c Core/Spells: fix Global Cooldown reset on spell cast interrupt. 2011-04-11 16:35:31 +06:00
Shocker
9efac6fe9f Core/Misc: AddAura should allow adding auras to dead targets if spell is passive/can target dead targets 2011-04-09 19:49:45 +03:00
pek2011
337b75cafc Core/Cleanup: Drop some unused code and update some unknown player flags (from Mangos).
Closes #1167
2011-04-07 15:10:10 +03:00
Shauren
24240430ad Scripts/Icecrown Citadel: Fixed Professor Putricide ooze adds behavior (cannot taunt/aggro anymore), also removed targeting dbc hack and scripted the spell properly 2011-04-06 21:21:45 +02:00
Shocker
ba80f2fbdc Core/Spells: Fix area target search for spells with SPELL_ATTR2_ALLOW_DEAD_TARGET 2011-04-06 17:00:05 +03:00
Shauren
1df9eacd90 Core/Spells: Moved 71880 and 71892 under proper spell family case 2011-04-02 00:09:48 +02:00
Manuel
21a2c56af3 Scripts/Eye of Eternity: Implemented script for Malygos encounter, please report any issue you find.
Thanks for the help to Machiavelli and Shauren.

Signed-off-by: Manuel <manue.l@live.com.ar>
2011-03-26 21:36:06 -03:00
Shauren
2f79b0f266 Core: Removed all double (and more) empty lines 2011-03-21 10:52:14 +01:00
Ramus
d0eade83e2 Item - Druid T10 Balance 4P Bonus should improve the debuff's damage if you crit while it's already on a target 2011-03-20 13:00:22 +02:00
Shauren
606c890960 Core/Vehicles: Properly remove casted vehicle auras (caster guid is what we must check, not owner) 2011-03-20 00:21:13 +01:00
johnholiver
c5bf4f06ae Core/Spells: Implemented Glyph of Steady Shot 2011-03-19 11:15:07 +01:00
johnholiver
1465a081d0 Core/Spells: Lava Burst patch 3.2.2 update - Lava Burst can no longer deal critical damage to targets who are immune to critical strikes (due to, e.g. Roar of Sacrifice, Blessed Resilience). 2011-03-19 11:12:52 +01:00
Shauren
12b65aa206 Core/Pets
Fixed infinite cooldown bugging after relogging
Restored pet create health for pets without pet_levelstats data
Corrected health gain from stamina for DK Ghouls
2011-03-15 13:23:52 +01:00
Shauren
119bb6fcd5 Core/Units: Fixed SelectNearbyTarget to ignore totems, critters and spirit healers 2011-03-15 12:08:07 +01:00
A Metaphysical Drama
4f48b7ae8d Core/Auras: Fixed SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT and SPELL_AURA_MOD_POWER_COST_SCHOOL auras not taking charges at proc 2011-03-15 11:41:12 +01:00
Shauren
cd5744f2c5 Core/Units: Removed unneeded casts in ApplyResilience 2011-03-14 21:39:53 +01:00
Azazel
6ad4044f05 Core/Mechanics: refactor XP (and in fact, honor/reputation/kill credit) rewarding routine and get rid of copy/pasted code. 2011-03-13 15:28:45 +06:00
Shauren
9710c41a40 More warning fixes 2011-03-08 19:11:02 +01:00
Machiavelli
10c02690b6 Core/Units: Re-remove MOVEMENTFLAG_ROOT applying on Unit::SetRooted to fix a clientside freeze issue (our visibility system is co-reponsible). It's still an ugly hack and should be fixed properly asap.
Closes #879
2011-03-06 16:07:01 +01:00
Machiavelli
d5be3353f3 Core/TempSummon: Implement ForcedUnsummonDelayEvent. Similar to ForcedDespawnEvent for Creatures, this will unsummon TempSummon objects with specified delay.
Core/Vehicles: Implement ForcedUnsummonDelayEvent for creatures exiting vehicles. Fixes visual bug that showed creatures mounted on vehicle after being ejected.
2011-03-06 15:12:34 +01:00
Havenard
222df58340 [Core/PacketIO] Fix issues with Mind Control that was allowing a player to keep interfering other players' movements using Mind Vision 2011-03-06 11:23:34 +01:00
Machiavelli
df97ce7625 Core/Vehicles: Remove redundant Vehicle::Die. All vehicle auras are already removed on Unit::RemoveAllAurasOnDeath.
Addresses ticket:869 - please reconfirm
2011-03-06 10:31:25 +01:00
Shauren
79e660975e Core/Spells: Fixed Heartpierce proc 2011-03-05 18:48:41 +01:00
Machiavelli
a9582964d3 Core/Vehicles: Make the vehicle system more aura driven. Get rid of redundant checks and update relevant data.
Closes #805
2011-03-04 21:17:06 +01:00
Machiavelli
da773981f8 Core/Vehicles: Respect seatId in vehicle_accessory 2011-02-27 17:38:20 +01:00
Machiavelli
683cea9e83 Core/Vehicles:
- Grab correct npc entry from npc_spellclick_spells in case of player vehicle. Fixes DB errors added in my previous changeset
- Allow aura's with SPELL_AURA_CONTROL_VEHICLE to stack if there are enough free seats, even if spellIds are identical.
- Fix a possible infinite loop. Thanks to manuel for spotting
2011-02-27 03:58:41 +01:00
Machiavelli
3ac80ee3a4 Core/Vehicles: Correct usage of npc_spellclick_spells instead of blatant hacks for vehicle entry.
Note: This may break a few vehicles, but only due to the absence of proper, non-hackish data.
2011-02-26 23:00:09 +01:00
Machiavelli
30738e645f Core/Vehicles&Movement:
- Send correct SMSG_MONSTER_MOVE with newly discovered SPLINEFLAG_EXIT_VEHICLE on vehicle exit. Fixes the "stuck on exit" bug as a result of removing the previous hack in 04b656a44f.
- Use SMSG_SPLINE_MOVE_ROOT and SMSG_SPLINE_MOVE_UNROOT as root packets for creatures.
- Reimplement toggling of MOVEMENTFLAG_ROOT on root event (including enter vehicle)
- Speedup in fetching movementflags for vehicles depending on vehicleflags on object updates.
- Code cleanup and refactoring
2011-02-26 03:47:23 +01:00
Shauren
bc94dcfbe4 Core/Spells: Fixed random huge DoT damage ticks
Closes #726
2011-02-25 17:11:02 +01:00
Machiavelli
04b656a44f Core/Vehicles:
- Allow specifying of exit position for Unit::ExitVehicle
- On Vehicle::InstallAccessory, despawn any accessory in the current seat with the same entry with TEMPSUMMON_MANUAL_DESPAWN type
- Remove hacky TELEPORT_ACK packet on vehicle exit
- Remove some redundant packet send operations that were already handled elsewhere
2011-02-25 01:38:21 +01:00
Machiavelli
550f59e05f Core/Vehicles: Do not allow Unit A to enter vehicle of unit B, when unit B is already on vehicle of unit A.
Fixes a core deadlock and stack overflow as well as client crash in the event of improper scripts.
2011-02-23 17:41:33 +01:00
Machiavelli
a6da435b84 Core/Vehicles: Also remove MOVEMENTFLAG_ROOT on ExitVehicle (thanks to Anubisss), and slight refactoring of code. 2011-02-23 04:08:11 +01:00
darkstalker
1646f9d91c Core/Spell Mechanics: introduce global cooldown manager for server-side checks for GCD (ported from mangos) 2011-02-22 17:02:47 +06:00
Machiavelli
8b738d537c Core/Units: Remove hack that caused units with UNIT_STAT_ON_VEHICLE to absorb any incoming damage. 2011-02-22 01:04:56 +01:00
Machiavelli
e07e20ffca Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf. 2011-02-20 20:16:34 +01:00
Shauren
7ac891717c Core/Vehicles: Send proper GUID in SMSG_BREAK_TARGET packet when an unit enters vehicle 2011-02-19 22:50:09 +01:00
Machiavelli
c0b29fd0ad Core/Vehicles: Chart VEHICLE_SEAT_FLAG_UNCONTROLLED and implement usage. Concerns vehicleseat enter/exit capabilities. Fixes vehicles related to Malygos encounter.
Original research by rsa, thanks to Manuel for pointing out.
2011-02-19 21:58:50 +01:00
Azazel
4dc1eaa47c Core/Misc: improve error log messages by adding more info. Specially for Aokromes. 2011-02-17 19:47:08 +06:00
Manuel Carrasco
6b2ffc9039 Core/GuardAI: Guards don't evade if the target casts Vanish and also can detect players with Feign Death.
Core/Scripts: Moved scripts from ScriptedGuardAI to guards.cpp
Core/Creature: Removed custom npcflags UNIT_NPC_FLAG_GUARD (now moved to flag_extras) and UNIT_NPC_FLAG_OUTDOORPVP (not used)

Thanks to Kaelima, Xanadu, Shauren and linencloth.

Signed-off-by: Manuel Carrasco <manue.l@live.com.ar>
2011-02-10 22:36:35 -03:00
QAston
e9bae2d0a0 Core/Auras: Prevent possible crash on SPELL_AURA_DAMAGE_SHIELD aura handler. 2011-02-04 03:14:01 +01:00
QAston
f862db8b92 Core/Unit: Move code using polymorphism out of CharmInfo destructor - fixes issues introduced with 38ea569525. 2011-02-04 02:51:12 +01:00
QAston
38ea569525 Core/Unit: Remove code which depends on polymorphism from Unit class destructor (at destruction time virtual methods aren't working as excpected) 2011-02-04 01:23:49 +01:00
QAston
d18193e52d Core/DynamicObjects: Change the way how dynamic objects are bound to their owners, fixes some crashes in Aura::GetOwner. 2011-02-04 00:27:43 +01:00
Shauren
704e0af9c4 Core/Spells: Fixed Val'anyr, Hammer of Ancient Kings proc 2011-02-01 19:01:56 +01:00
Lazzalf
c0b15c0091 Fixed Judgement of Light not procing for non-mana users
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-31 15:32:21 +01:00
Shauren
42007bb0a9 Core/Spells: Implemented Druid T10 4P restoration bonus 2011-01-31 14:51:42 +01:00