aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.cpp
AgeCommit message (Collapse)Author
2009-12-20*apply trinity style to whole sourceRat
*comment out all mangos to trinity defines *this will make merging a little harder, but code will be more clear --HG-- branch : trunk
2009-12-20Merge MaNGOS, Gossip System. Autor NoFantasy.win32
* DB support required * Closes #859 --HG-- branch : trunk
2009-12-19Set creatures PvP state flag based on creature faction and renamerelated ↵n0n4m3
enum. by NoFantasy --HG-- branch : trunk
2009-12-19Add own function to send AI_Reaction packet. by NoFantasyn0n4m3
--HG-- branch : trunk
2009-12-18Now TrinityCore2 support 3.2.2a client, need extract new maps and dbc files. ↵n0n4m3
thx TOM_RUS, Win32, Machiavelli, VladimirMangos and all trinitycore team --HG-- branch : trunk
2009-12-18[8667] Correctly respawn pooled object in case the same object is selected ↵n0n4m3
for respawn [8701] Fixes and inprovements in pool system. thx Frankir --HG-- branch : trunk
2009-12-17Some fixes for GameObject, Chat, Creature, update DuelHandler for 322an0n4m3
--HG-- branch : trunk
2009-12-06Fix a crash in creature respawn, closes #566spp
--HG-- branch : trunk
2009-11-17*Fix the insane ghoul/vehicle power regen, by MetaphysicalDrama, closes #108maximius
--HG-- branch : trunk
2009-11-01*Cleanup, fix many cases of unoptimized loops, potential crashes, ↵maximius
excessively large data types, unnecessary or wrong casts, non-standardized function calls, and so on.. *Proper Maexxna Web Spray locations (old locations sent players flying into the air) --HG-- branch : trunk
2009-10-31*Fix a crash in Object.hmaximius
*Fix action button saving *Fix a crash on item swap in guild bank *Fix exploit moving after death in Unit.cpp *Fix assert fail at grid load in Creature.cpp Thanks Sisif for these! :) --HG-- branch : trunk
2009-10-28*Implement new LootMode system, and add some basic support in ↵maximius
boss_sartharion.cpp. Requires database support. --HG-- branch : trunk
2009-10-24*Disregard visibility state when evaluating a potential target.maximius
--HG-- branch : trunk
2009-10-23*Minor optimizationmaximius
--HG-- branch : trunk
2009-10-23*Cleanup Creature::_IsTargetAcceptable.maximius
--HG-- branch : trunk
2009-10-23*Use some more standard functions in _IsTargetAcceptable. Should also fix ↵maximius
the perma-unattackable boss issue. --HG-- branch : trunk
2009-10-22*Ignore unattackables, they are not suitable attackers or victims.maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup redux.maximius
--HG-- branch : trunk
2009-10-17*Backed out changeset 3be01fb200a5maximius
--HG-- branch : trunk
2009-10-17*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and ↵maximius
some other cleanups by hand) *Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
2009-10-13*If my target is attacking me, my target is acceptable.maximius
--HG-- branch : trunk
2009-10-13*Some cleanup, change some illogical conditions (if you can attack your ↵maximius
target is no reason to ignore the target, o_O) --HG-- branch : trunk
2009-10-10*Ignore react states in Creature::_IsTargetAcceptable.maximius
--HG-- branch : trunk
2009-10-10*Having to cast this seems silly to me. Oh well, farewell, const-ness!maximius
--HG-- branch : trunk
2009-10-10*Creature::_IsTargetAcceptable rewrite, should hopefully fix the bugs ↵maximius
ogeraisi reported. *Creature health regen patch, written and tested by Gyullo. --HG-- branch : trunk
2009-10-09*Blackfathom Deeps - Event: Aku'mai, by Tartalomaximius
*Split Personality Achivement, by Destalker *Halls of Lightning Fixes, by Destalker Volkhan fixes + Achievement Ionar Fix - without this he resets each time he is invisible, spamming sparks Arcing Burn - should be a debuff (and stackable, stackable part NYI :/) *Naxxramas - Thaddius - the aura shall affect only the character without the proper aura, by Trazom *Naxxramas - Kelthuzad - some timer adjustments (may need verification or tweaking) by Cass *Merges by Stryker, thanks to all authors and testers. [8458] Re-implement SPELL_AURA_MOD_TARGET_ARMOR_PCT in more porper way for weapon dependent cases. Author: VladimirMangos [8459] Avoid mutiply apply weapon dependent armor penetration bonus for each weapon. Author: VladimirMangos [8529] check rune cost only if spell has PowerType == POWER_RUNE. Patch provided by yavi. Author: Ambal [8532] Fixed situation where some items like 42947 were not giving spell power bonus. By: Ambal [8533] Not remove timed quest and correctly fail when time runs out. Add function to remove timed quest instead of direct access to set. Author: NoFantasy [8536] Fixed spell 62776. By: Ambal [8539] Check pet aura range at area aura update. By: Ambal [8546] Implement battleground bonusweekends call to arms. Also fix typo in auctionmgr. Author: balrok [8547] Implemented scriptcall: CorpseRemoved(uint32 & /*respawnDelay*/) it will be called when the corpse of the scripted creature get's removed, it's possible to adjust the next respawn inside the script. Author: balrok [8561] Replace another auras code call by explicit code [8566] avoid singleton-lock when accessing BattleGroundMGR::isBGWeekend() Proposed by vladimir. Comitter: balrok --HG-- branch : trunk
2009-10-06* Prevent totems from having random models.Machiavelli
--HG-- branch : trunk
2009-09-29*Friends shouldn't fight friends, even if that means you have to watch your ↵maximius
friends kill each other. --HG-- branch : trunk
2009-09-29*Whoops, typo (creature_template_addon, not creature_addon)maximius
--HG-- branch : trunk
2009-09-29*Add some error output for improper moveflags on flying creatures.maximius
--HG-- branch : trunk
2009-09-29*Passive targets under attack by players are not ideal targets for hostile ↵maximius
creatures, so avoid them. --HG-- branch : trunk
2009-09-29*Fix a crash in boss_svala.cpp + fix buildmaximius
--HG-- branch : trunk
2009-09-29*The enemy of my enemy is my friend.maximius
*Correct some reversed parameter ordering (team and vehId were swapped) --HG-- branch : trunk
2009-09-27*If our target of choice is attacking a player, only attack our target if we ↵maximius
are friendly towards that player. *Only regenerate quickly if polymorphed. --HG-- branch : trunk
2009-09-27*Do not regenerate the health of controlled or charmed creatures instantly ↵maximius
out of combat --HG-- branch : trunk
2009-09-27*Better method for choosing a random model on respawn (should no longer show ↵maximius
opposite faction models) *Attempt to make it so creatures: don't help players or units controlled or owned by players; and don't help if the unit is fleeing from the enemy player --HG-- branch : trunk
2009-09-27*Merge [8524] New cell search algorithm implemented. You can now choose ↵maximius
different visibility distances on continents, in BG/Arenas and instances. Author: Ambal *Some warning cleanup --HG-- branch : trunk
2009-09-26*Instead of checking getVictim() to determine whether or not to regen ↵maximius
health, check if the threat list is empty *Fix some incorrect/missing scriptname assignments, thanks Drahy --HG-- branch : trunk
2009-09-26*Some better checks.. don't want to try and store a Unit* in a bool!maximius
--HG-- branch : trunk
2009-09-26*Should fix a crash, thanks Drahymaximius
--HG-- branch : trunk
2009-09-26*Gundrak: GO Handling & Slad Ran script by Tartalomaximius
*Cleanup, and don't consider creatures to be in combat if they have no victim, or if their victim is a GM. --HG-- branch : trunk
2009-09-26*Remove some redundant code, and relocate some illogical code.maximius
--HG-- branch : trunk
2009-09-26*Wintergrasp: Tenacity fixes by Sppmaximius
*Better Windows signal handling for services, by defacer *Always hide triggers for players, by ogeraisi --HG-- branch : trunk
2009-09-25*Grobbulus - in Inject event, tank is not a target for this spell, by Gyullomaximius
*Gundrak - AI for the boss Moorabi, by Manuel *Improvements to player death handling (they will now fall to the ground).. also attempted to improve creature death handling the same way. --HG-- branch : trunk
2009-09-25Fix HandleNpcAddCommand with bad creature ID - patch by SPPChaz Brown
--HG-- branch : trunk
2009-09-24*Add a new modelid function..maximius
*Attempt to fix some Linux compile issues.. --HG-- branch : trunk
2009-09-23*Force creatures to choose a new, random model on spawn/respawnmaximius
*Change the damage formula to include weapon min/max damage.. previous method did not work properly at all. --HG-- branch : trunk
2009-09-22*Another regen tweak, by Taliesin.maximius
--HG-- branch : trunk
2009-09-21*Force non-dead mobs that are either: out of combat, or polymorphed, to ↵maximius
regenerate at each update, thanks Gyullo --HG-- branch : trunk
2009-09-21Reapply patch about changing modelid_a/h(2) values to modelid1..4, display ↵Kudlaty
ids are no longer incorrectly chosen based on player faction. --HG-- branch : trunk