aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureEventAIMgr.cpp
AgeCommit message (Collapse)Author
2010-06-04HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISKRat
implemented Condition System all systems should work like before after applying the sql converter you won't be able to apply any Updatepacks (<=up30) so do updates before this this revesion is not threated as stable! --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-01-23Implement QueryResult_AutoPtr type which is ACE's reference counted ↵Anubisss
auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers. Use this auto_ptr for every DB queries(except QueryNamedResult yet). This patch guarantees NO memory leaks from QueryResult pointers. Thanks to raczman for the idea and for the helping to make this patch. --HG-- branch : trunk
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-17Some fixes for GameObject, Chat, Creature, update DuelHandler for 322an0n4m3
--HG-- branch : trunk
2009-11-13Apply #239Kudlaty
EventAI: New Actions: *ACTION_T_MOVE_RANDOM_POINT: _param1, determines the range that can be the random point. *ACTION_T_SET_STAND_STATE: _param1, determines the stand state using the enum UnitStandStateType. *ACTION_T_SET_PHASE_MASK: _param1, determines the phase mask. *ACTION_T_SET_VISIBILITY: _param1, determines the visibility state using the enum UnitVisibility. patch by manuel --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-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-07-31[8258] Replace redundent PQuery uses by Query in EventAI code. Author: Infinitymegamage
--HG-- branch : trunk
2009-07-30 [8235] Fixed typos in ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: ↵megamage
VladimirMangos Thanks to Zor for pointing. --HG-- branch : trunk
2009-07-30 [8233] Implement new EventAI action ↵megamage
ACTION_T_SET_INVINCEABILITY_HP_LEVEL. Author: VladimirMangos Action set min. health value that can be set for creature in result damage apply. It can be used in duel like events with creatures to prevent killing creature and other cases when creature must avoid damage at some health level while it used. --HG-- branch : trunk
2009-07-06[8134] Fixed typo in ACTION_T_MORPH_TO_ENTRY_OR_MODEL check. Author: ↵QAston
VladimirMangos --HG-- branch : trunk
2009-06-18[8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for ↵megamage
EventAI. Author: NoFantasy --HG-- branch : trunk
2009-06-15 [8018] Implement EVENT_T_BUFFED and EVENT_T_TARGET_BUFFED for creature ↵megamage
EventAI. Author: VladimirMangos Its can be used for check specific spell auras stack size for event triggering. [8017] Always reset creature EventAI phase at creature death. --HG-- branch : trunk
2009-05-31[7914] Fixed variable name typos in creature event AI code. Author: NoFantasymegamage
--HG-- branch : trunk
2009-05-28 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make ↵megamage
possibility set ranged fire state. Author: VladimirMangos Also related cleanup code in field cases and player Player::SetSheath. --HG-- branch : trunk
2009-05-21[7863] Implement for EVENT_T_SPAWNED map/zone/subzone only event conditions. ↵megamage
Author: Alex --HG-- branch : trunk
2009-05-21Mobs fleeing and getting assistance feature implementaion. Author: Neo2003megamage
--HG-- branch : trunk
2009-05-21[7860] Implement creature event ai ACTION_T_CALL_FOR_HELP for explicit call ↵megamage
for help in some script cases. Author: VladimirMangos --HG-- branch : trunk
2009-05-19 [7852] Use union of per-event type structures, more checks at creature ↵megamage
event ai loading. Author: VladimirMangos Including: * Fixed check for EVENT_T_SPELLHIT school field. Add check at loading. Note: this event expect before and now schol _mask_ in param2. * In EVENT_T_RECEIVE_EMOTE use original player condition check code instead copy of related code. --HG-- branch : trunk
2009-05-18 [7847] Replace paramter unions by uniton of event ai action type ↵megamage
structures. Add/fix some loading checks. Author: VladimirMangos * Also send to process function reference to strucutre instead large amount fields. * Specially note that fixed check for first arg of action type 27 that before wrongly test as quest id, when by using code expected creature id. Possible some used data wrongly can be quest ids.... --HG-- branch : trunk
2009-05-15 [7834] Mangos string loading code cleanups. Author: VladimirMangosmegamage
* Better integration creature event ai strings. * Not inclide in checks as expected max mangos strings range value to range --HG-- branch : trunk
2009-04-25*Add new eventAI action 105 call assistance. Param1 = radius.megamage
--HG-- branch : trunk
2009-04-19[7689] Batter EventAI loading checks and fix one from possible crash cases. ↵megamage
Author: NoFantasy --HG-- branch : trunk
2009-04-17*Fix build.megamage
--HG-- branch : trunk
2009-04-17[7679] More checks for creature EventAI loading at server startup. Author: ↵megamage
NoFantasy --HG-- branch : trunk
2009-04-17*Use EventAI as default AIName for creatures without an AIName but with ↵megamage
eventai scripts. --HG-- branch : trunk
2009-04-15*Set creature's AIName to "EventAI" if it has event script.megamage
--HG-- branch : trunk
2009-04-07[7622] Added creatureAI with related database tables. Author: AlexDerekamegamage
*Note: three tables are renamed. --HG-- branch : trunk