Brian
7d754c3f7f
* Added support for questItem5 and questItem6 in creature and gameobject
...
* templates.
*
* Thanks to Malcrom for doing the research.
--HG--
branch : trunk
2009-11-26 12:23:33 -07:00
maximius
02eeffd22f
*Add two new functions GetHomePosition() and GetRelativeAngle(x, y)
...
--HG--
branch : trunk
2009-11-19 18:20:34 -08:00
maximius
b257a28fa9
*Cleanup, fix many cases of unoptimized loops, potential crashes, 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-11-01 17:53:07 -08:00
maximius
f4d76b8216
*Implement new LootMode system, and add some basic support in boss_sartharion.cpp. Requires database support.
...
--HG--
branch : trunk
2009-10-28 16:31:19 -07:00
maximius
e585187b24
*Backed out changeset 3be01fb200a5
...
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
...
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
4b79217bef
*Passive targets under attack by players are not ideal targets for hostile creatures, so avoid them.
...
--HG--
branch : trunk
2009-09-29 15:13:46 -07:00
maximius
fd55684873
*Better method for choosing a random model on respawn (should no longer show 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 15:14:25 -07:00
maximius
c3e795e7dd
*Add a new modelid function..
...
*Attempt to fix some Linux compile issues..
--HG--
branch : trunk
2009-09-24 11:26:27 -07:00
Kudlaty
b4cd005f03
Reapply patch about changing modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction.
...
--HG--
branch : trunk
2009-09-21 07:52:16 +02:00
maximius
0cf75ef9ea
*Wintergrasp: Prevent defenders team to click the relic. Patch by Spp.
...
*Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro.
*Judgement of Light PPM based, not 100%. By Drevi.
*Fix Deflection Exploit. By manuel, thanks to TheNecromancer and Gyullo.
*Correct Wintergrasp Tenacity formulas, by Gyullo.
*A Spirit Guide Escort Quest, code from SD2, patch by manuel.
*TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1.
--HG--
branch : trunk
2009-09-19 12:13:08 -07:00
megamage
8efb15c52a
*Try to fix the bug that creature does not regenerate after evade.
...
--HG--
branch : trunk
2009-09-02 12:46:26 -05:00
megamage
2a4c9bcaf9
*Make position as a class;
...
--HG--
branch : trunk
2009-08-29 14:58:45 -05:00
megamage
a35991c836
*Add function CanAIAttack
...
--HG--
branch : trunk
2009-08-26 16:54:59 -05:00
megamage
5f1589d6d1
*Allow vehicles to regenerate energy.
...
--HG--
branch : trunk
2009-08-23 22:36:51 -05:00
megamage
1ee90e1022
*Update vehicle system. Make vehicle a seperate class from creature.
...
--HG--
branch : trunk
2009-08-23 22:09:43 -05:00
megamage
4a85a779c1
*Allow to change creature's sight distance because 50 yards are too small for some scripts.
...
--HG--
branch : trunk
2009-08-23 14:16:03 -05:00
megamage
e03b7cd4d7
*Change react state of guardian back to aggressive. Instead check threat radius in canstartattack to prevent them attack too far target.
...
--HG--
branch : trunk
2009-08-15 14:30:14 -05:00
megamage
e94295fe42
*Fix function disappearanddie to make creature disappear immediately without death visual.
...
--HG--
branch : trunk
2009-08-14 22:26:07 -05:00
maximius
2fd68eab44
*Add Dual Spec support, original by EnderGT, thanks to Thyros and XTElite1 for helping me test :)
...
--HG--
branch : trunk
2009-08-14 17:24:52 -07:00
megamage
656cb8a318
*Remove some incorrect use of removefromworld in scripts.
...
--HG--
branch : trunk
2009-08-13 10:21:57 -05:00
megamage
f0c8efea55
*Fix the equip visual of quest endless hunger.
...
--HG--
branch : trunk
2009-08-11 22:20:34 -05:00
megamage
9403ff03e7
*Only use m_isWorldObject to check if an object is in grid or world.
...
--HG--
branch : trunk
2009-08-11 16:14:45 -05:00
Rat
35cf6778de
*added script for training dummies
...
*added new creature extra flag (CREATURE_FLAG_EXTRA_NO_SKILLGAIN) if set creature won't increase player's weapon skill
--HG--
branch : trunk
2009-08-04 12:38:35 +02: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
megamage
ffcbd11b2c
[8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart
...
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.
Signed-off-by: VladimirMangos <[email protected] >
Also implement KillCreditN field check at loading.
--HG--
branch : trunk
2009-07-20 12:30:37 +08:00
megamage
e1d93bd00f
*Backup your DB!
...
[8098] Support uint32 spell ids in code. Author: VladimirMangos
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
--HG--
branch : trunk
2009-07-01 18:07:20 -05:00
QAston
69f36d7af4
*Send threat messages to client - thanks to megamage for research.
...
--HG--
branch : trunk
2009-07-02 00:03:57 +02:00
megamage
fe89fbfbdb
[8057] Move code from Event AI to class Creature function for reuse in other scripting cases. Author: NoFantasy
...
--HG--
branch : trunk
2009-06-27 15:37:33 -05:00
QAston
a74ae18739
*Merge tc1 commits 1582-1590
...
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
Muhaha
eab85d9d6e
* Added LowerPlayerDamageReq function from TC2
...
* Akama is summoned after the illidari council has been deafeated. (remove your akama spawn from creature db)
* Dampen Magic timer
* Merging mother from TC2
--HG--
branch : trunk
2009-06-20 02:54:03 +02:00
megamage
39d3b492fe
*Update creature damage calculation.
...
--HG--
branch : trunk
2009-06-19 17:13:36 -05:00
megamage
c4a8da0e32
[8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI. Author: NoFantasy
...
--HG--
branch : trunk
2009-06-18 17:05:01 -05:00
megamage
6fd4113cda
[8033] Update max vendor item list for client 3.x.x Author: VladimirMangos
...
--HG--
branch : trunk
2009-06-17 18:38:51 -05:00
megamage
c6765f9365
*Allow to force to respawn creatures.
...
*Save creature data for vehicles.
*Change some visibility update sequence of respawned creatures.
*Fix bugs of quest 12687: dark rider may not be on horse / horse cannot be used twice / horse does not respawn at correct phase
--HG--
branch : trunk
2009-06-17 01:01:39 -05:00
megamage
572a9191d9
*Some creature display id update. By VladimirMangos and GriffonHeart
...
--HG--
branch : trunk
2009-06-15 18:02:12 -05:00
megamage
b9610f27dd
*Check movementflag to interrupt casting instead of checking position.
...
*Also some other fixes about movement flags.
--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
megamage
67a356767d
[7995] Check display id correctness for creature and gameobjects. Author: VladimirMangos
...
--HG--
branch : trunk
2009-06-13 09:40:44 -05:00
Machiavelli
1c97b2bf79
Merge
...
--HG--
branch : trunk
2009-06-11 17:56:20 +02:00
Machiavelli
6eaf6e962a
* Change name of recently added scriptAI functions to better reflect purpose
...
* Fix typo in 3910_world.sql, spotted by irish
--HG--
branch : trunk
2009-06-11 17:54:59 +02:00
megamage
9d670fe6f5
*Switch to support client version 3.1.3
...
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.
Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)
--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
megamage
b0fa2172e3
*Fix a crash in 3896.
...
--HG--
branch : trunk
2009-06-10 09:46:32 -05:00
Machiavelli
ee9beadbc2
Merge
...
--HG--
branch : trunk
2009-06-10 08:45:45 +02:00
Machiavelli
f137dc02ec
* Better fix for issue that players are unable to loot creatures when the HP of the creature is changed via a script. Do not use rev before this.
...
--HG--
branch : trunk
2009-06-10 08:44:10 +02:00
megamage
853432b201
*Fix a bug that creature ignore LOS in assistance case.
...
--HG--
branch : trunk
2009-06-09 19:55:15 -05:00
Machiavelli
d065bbf410
* When checking if players are eligible for reward after killing a creature, check for minimum of 50% of 'cur_health' prior to combat rather than max health. Fixes Murmur loot issue.
...
--HG--
branch : trunk
2009-06-10 00:41:29 +02:00
megamage
ebfb4c0558
[7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos
...
Note: before this commit hunters can tame exotic pets like any other.
After patch like not propertly contriolled pets will auto-dismiss at loading
if talent not learned.
--HG--
branch : trunk
2009-06-06 20:31:23 -05:00
megamage
8bb75918a8
[7951] Mope call for help code to function form Event AI code to allow use it from C++ scripts also. Author: NoFantasy
...
--HG--
branch : trunk
2009-06-04 16:10:26 -05:00
megamage
d0878ec414
*Fix the bug that shaman/druid/mage pets do not have scaled stats
...
--HG--
branch : trunk
2009-06-01 23:45:00 -05:00
megamage
d83658c821
*wintergrasp: allow players to click titan relic to change the attacker/defender teams. Now only some of npc and portal will be changed.
...
--HG--
branch : trunk
2009-05-31 22:45:32 -05:00