megamage
2a4c9bcaf9
*Make position as a class;
...
--HG--
branch : trunk
2009-08-29 14:58:45 -05:00
megamage
ab5f515f21
*Update flame levi script. Allow player to shoot down pyrite container and refill the demolishers.
...
*Other script-related fixes.
--HG--
branch : trunk
2009-08-28 11:26:20 -05:00
megamage
d91903e5b1
*Fix the behavior of mob assistance.
...
--HG--
branch : trunk
2009-08-27 13:54:57 -05:00
megamage
f16b93d8d8
*Update flame levi script. Fix the bug that it often gets stuck.
...
--HG--
branch : trunk
2009-08-26 22:56:20 -05:00
megamage
21af4cf832
*Some clean up and add debug info to find the reason of crash.
...
--HG--
branch : trunk
2009-08-26 19:28:21 -05:00
megamage
a35991c836
*Add function CanAIAttack
...
--HG--
branch : trunk
2009-08-26 16:54:59 -05:00
megamage
f13b3f4e58
*Fix the bug that inhabit_air does not make mob fly
...
--HG--
branch : trunk
2009-08-26 13:38:09 -05:00
megamage
058e6827a6
*Always remove riding aura when exit vehicle.
...
*Other misc changes.
--HG--
branch : trunk
2009-08-25 23:55:37 -05:00
megamage
d14a4a2372
*Fix the bug that sometimes vehicle is not usable after respawn.
...
--HG--
branch : trunk
2009-08-25 00:56:23 -05:00
megamage
87270fefc2
*Some update of aura system. Remove unnecessary variables and parameters from auraeffect. Always refer to parent aura when finding target/source/caster.
...
--HG--
branch : trunk
2009-08-24 22:31:54 -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
a6e2196247
*Better mob ai for quest an end to all things.
...
--HG--
branch : trunk
2009-08-23 16:27:00 -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
Machiavelli
798ff48c59
* Correctly set SPELLMOD_COOLDOWN for pet cooldowns. By pasdVn.
...
--HG--
branch : trunk
2009-08-17 14:36:36 +02:00
maximius
b6e7065d41
*Add config option to change minimum level required to Dual Spec
...
--HG--
branch : trunk
2009-08-15 13:39:40 -07: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
1bdc65e5ee
*Send area id instead of zone id in local defense channel. By durotar
...
--HG--
branch : trunk
2009-08-12 07:16:20 -05:00
megamage
e8330e4162
*Update creature damamge formula. Use damage mod in config as total_pct modifier.
...
--HG--
branch : trunk
2009-08-06 10:38:46 -05:00
QAston
1d96091d2a
*Improvements in map managing.
...
--HG--
branch : trunk
2009-08-01 00:20:32 +02:00
megamage
d80754a480
[8204] Avoid call assistance from non-combatants. Author: GriffonHeart
...
--HG--
branch : trunk
2009-07-24 09:15:52 +08: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
208087ff6e
[8182] Store and use Map* pointer in WorldObject instead map ids for speedup Author: Ambal
...
Also some code logic cleanups.
Changes let make more cleanups in base map access and other places,
but this chnages not inlcuded in patch.
*This patch may cause crash.
--HG--
branch : trunk
2009-07-16 11:49:00 +08:00
megamage
77cd4a8cb0
[8058] Avoid use error_log in non-scripting DLL code. Author: NoFantasy
...
--HG--
branch : trunk
2009-06-27 15:38:09 -05: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
Machiavelli
605b5670e3
* Update creature damage calculation.
...
--HG--
branch : trunk
2009-06-22 23:12:53 +02:00
megamage
39d3b492fe
*Update creature damage calculation.
...
--HG--
branch : trunk
2009-06-19 17:13:36 -05:00
megamage
b86ef4c3a8
*Lower creature damage.
...
--HG--
branch : trunk
2009-06-19 11:17:58 -05:00
megamage
8397da15e5
*Change creature damage calculation.
...
--HG--
branch : trunk
2009-06-18 20:43:48 -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
Machiavelli
3a309abfab
* In case of a 'for' loop, don't declare the iterator of a type that has a larger value range when the iterator can take a maximum value of a more efficient data type. (int to uint8 in most cases).
...
* Other minor cleanups, Null pointer checks etc.
--HG--
branch : trunk
2009-06-18 17:21:25 +02:00
megamage
d805e89091
*Update creature melee damage calculation.
...
--HG--
branch : trunk
2009-06-17 13:34:49 -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
3cf2be6042
[8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
...
--HG--
branch : trunk
2009-06-16 11:19:59 -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
b8f95e0546
*Fix the bug that players lose stats when change weapons when have disarm auras.
...
--HG--
branch : trunk
2009-06-10 10:13:45 -05:00
megamage
b0fa2172e3
*Fix a crash in 3896.
...
--HG--
branch : trunk
2009-06-10 09:46:32 -05:00
megamage
853432b201
*Fix a bug that creature ignore LOS in assistance case.
...
--HG--
branch : trunk
2009-06-09 19:55:15 -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
37f4bf6a04
*Fix the bug that triggers are visible.
...
--HG--
branch : trunk
2009-06-03 21:47:38 -05:00
megamage
e3390806a9
[7948] Use SetFaction instead explcit field set, other cleanups. Author: NoFantasy
...
--HG--
branch : trunk
2009-06-03 19:29:55 -05:00
megamage
5036cf91f4
*Fix a crash introduced in 3734. Thanks to onkelz28
...
--HG--
branch : trunk
2009-06-03 11:07:01 -05:00
megamage
7fd22f063b
*Consider model 11686 as trigger and do not allow they to choose random model. This fix the bug that some triggers are visible.
...
--HG--
branch : trunk
2009-06-03 00:36:44 -05:00