Commit Graph

50 Commits

Author SHA1 Message Date
megamage
94d048311d *Fix a crash caused by undismissed pet.
--HG--
branch : trunk
2009-08-08 17:58:58 -05:00
QAston
2ff21d4cef *Implement Aura Type 247 (SPELL_AURA_CLONE_CASTER) and 279 (SPELL_AURA_INITIALIZE_IMAGES)
*Handle CMSG_GET_MIRRORIMAGE_DATA opcode.
*Save Minions follow angle to allow themmoving in a formation
*Improvements in SpellAI: correctly evade and select attack target for creatures without threat list
*Use SpellAI instead of PetAI for not controllable guardians
*Only guardians with SUMMON_TYPE_PET are controllable now
*Add script and template data for Mirror Image.
*Thanks to Drahy for help.

--HG--
branch : trunk
2009-07-22 17:10:30 +02:00
QAston
99ef71cbc4 *Fix some problems with charmer removing started with rev 4402.
--HG--
branch : trunk
2009-07-09 18:18:41 +02:00
megamage
111dac5f94 [8102] Simplify code base at new root method WorldObject::CleanupsBeforeDelete Author: VladimirMangos
* Call it from Map::AddObjectToRemoveList and remove now not needed explcit calls
    * Create Gameobject version to make GO with owner more safe for remove

--HG--
branch : trunk
2009-07-01 18:23:36 -05:00
megamage
d861941477 *Remove some redundent code in spell.cpp
--HG--
branch : trunk
2009-06-14 21:06:45 -05:00
megamage
e922351bf0 *Fix a bug that triggers show level up visual when summoned.
--HG--
branch : trunk
2009-06-09 22:01:35 -05:00
megamage
63c07a5767 *Do not trigger spells with triggers with scripts. This fixes the bug that shadow fissure of Kel'thuzad deals damage without delay.
--HG--
branch : trunk
2009-06-09 16:18:08 -05:00
megamage
f919fb47c5 *Move creature::update before summon timer check to prevent to lose the last tick.
--HG--
branch : trunk
2009-06-07 23:33:18 -05:00
megamage
c70e6a003e *Use setcharmedby and removecharmedby in enter/exit vehicle functions.
*Fix build.

--HG--
branch : trunk
2009-06-03 13:51:05 -05:00
megamage
375be3648e *Remove puppet when it is killed.
--HG--
branch : trunk
2009-05-26 15:29:59 -05:00
megamage
d971d0121f *Do not consider possessed creatures as pet. Also fix the bug that possessed creature does not display spells.
--HG--
branch : trunk
2009-05-25 22:52:08 -05:00
megamage
9215f0ee11 *Set creature trigger have the same level as caster.
--HG--
branch : trunk
2009-05-09 22:36:04 -05:00
megamage
67876f9dfe *Fix a creature spell use bug.
--HG--
branch : trunk
2009-05-09 22:00:18 -05:00
megamage
0681a2131e *Fix a bug that guardian pets do not have correct stats.
--HG--
branch : trunk
2009-05-09 10:58:31 -05:00
megamage
fa1dcd16cf *Update summon system.
--HG--
branch : trunk
2009-05-06 13:34:11 -05:00
megamage
a682bfb201 *Fix broken hunter pet.
--HG--
branch : trunk
2009-05-03 15:13:20 -05:00
megamage
87606e66ff *Fix a crash when player log in. Sorry.
--HG--
branch : trunk
2009-05-03 13:02:38 -05:00
megamage
f6e8ccb239 *Clean up summon code.
--HG--
branch : trunk
2009-05-03 10:45:34 -05:00
megamage
122d944945 *Update summon system.
*Fix the bug that shaman cannot summon fire elemental.
*Fix the bug that totem meters cannot be displayed.

--HG--
branch : trunk
2009-05-02 19:24:22 -05:00
megamage
4121087a8e *Allow trigger creatures use spell2 as heroic spells.
--HG--
branch : trunk
2009-04-29 00:10:05 -05:00
megamage
34599a46f7 *Some update of summon effect code.
--HG--
branch : trunk
2009-04-27 18:12:45 -05:00
megamage
fc7e1db9fb [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangos
* This let get objects at map without reference to player or another object.
    * Simplify future implementation for per-map storage for like objects

--HG--
branch : trunk
2009-04-20 20:28:19 -05:00
megamage
68fd41d2c8 *Fix a bug that pet/charmed cannot AOE neutral creatures.
--HG--
branch : trunk
2009-04-19 19:45:54 -05:00
megamage
6a59c3e6a4 *Fix a bug that JustSummoned is not called and all related script bugs.
--HG--
branch : trunk
2009-04-12 11:25:55 -05:00
megamage
b51cea6ce4 *Remove some code which may cause crash.
--HG--
branch : trunk
2009-03-31 14:08:38 -06:00
megamage
031df598ab *Try to fix crash.
--HG--
branch : trunk
2009-03-31 09:18:39 -06:00
megamage
ff83e4a9b1 *Fix some bugs of pet.
--HG--
branch : trunk
2009-03-27 22:47:28 -06:00
megamage
1c2eab4110 *Fix a crash caused by pet.
*Make pet class derived from guardian class.

--HG--
branch : trunk
2009-03-25 21:32:34 -06:00
megamage
ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
megamage
d2e0ed5f57 *Only set guardian's ownerguid in setpet.
--HG--
branch : trunk
2009-03-25 10:12:15 -06:00
megamage
a84e757793 *Update summon system. Show pet bar for guardians. Allow multiple charms/guardians.
--HG--
branch : trunk
2009-03-21 09:48:44 -06:00
megamage
b2f5136215 *Fix a crash for summoned creatures without summer.
--HG--
branch : trunk
2009-03-20 21:09:16 -06:00
megamage
8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00
megamage
eea631a0a3 *Fix a crash caused by unsummon creature.
--HG--
branch : trunk
2009-03-20 09:38:42 -06:00
megamage
a2392121f0 *Fix the bug that summon dbc is not read. Now creatures can be summoned.
*Make minipet as tempsummon instead of pet. Make totem as tempsummon.

--HG--
branch : trunk
2009-03-19 14:41:30 -06:00
megamage
328345ac1a [7403] much more unneeded includes removed Author: balrok
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
7915fd768a *Merge.
--HG--
branch : trunk
2009-03-06 18:09:01 -06:00
megamage
8787c00ca3 *Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states.

--HG--
branch : trunk
2009-03-05 18:48:56 -06:00
megamage
31637d4aac *Merge.
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
00ba699d6f *Merge.
--HG--
branch : trunk
2009-02-16 19:04:31 -06:00
megamage
bb75ff7b79 *Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG--
branch : trunk
2009-02-15 17:33:36 -06:00
Drahy
5dab980495 * Updated copyright notice for new year (2009) part 2
* Changed mangos website

--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6 * Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
2377f49ea8 *Update charm and possess code.
--HG--
branch : trunk
2009-01-08 21:48:38 -06:00
gvcoman
44bdb135f4 [svn] Implemented player on player and player on creature possession:
* Implemented packet and vision forwarding through possessed units
* Added new OnPossess script call alerting scripts on when possession is applied/removed
* Moved fall damage and fall under map calculations into the Player class
* Added new PossessedAI that is applied only while possession on creature is active
* Implemented summon possessed spell effect
* Fixed Eyes of the Beast

--HG--
branch : trunk
2008-11-05 20:51:05 -06:00
megamage
e22427d4b0 [svn] Fix the bug that summoned creatures may respawn.
--HG--
branch : trunk
2008-10-25 01:39:51 -05:00
w12x
b8362cd7f1 [svn] Fixed copyright notices to comply with GPL.
--HG--
branch : trunk
2008-10-23 03:29:52 -05:00
Seline
2265aef916 [svn] * Merge Temp dev SVN with Assembla.
* Changes include:
   - Implementation of w12x's Outdoor PvP and Game Event Systems.
   - Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
   - All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
   - Improved Config cleanup.
   - And many more changes.

--HG--
branch : trunk
2008-10-14 11:57:03 -05:00
Neo2003
9b1c0e006f [svn] * Proper SVN structure
--HG--
branch : trunk
2008-10-02 16:23:55 -05:00