59 Commits

Author SHA1 Message Date
Foereaper
ee336830b5 Implement Playerbots
This is the first, rough implementation of Playerbot AI by Ike3, originally playerbot by blueboy

There's still TONS of work left to do on this, but it should compile and build

This introduces a new cmake option, playerbots. Disabled by default
2015-04-04 01:21:17 +02:00
evil-at-wow
5415cf16c4 [Core] Remove a useless statement from (cz2654). (cz2655)
Thank you for pointing this out, @fgreinus.
2015-04-03 22:55:55 +01:00
y1x2
0491c3d5a7 [Core] Add core support for spell 29201
Basic version of Corrupted Mind spell for Loatheb encounter in Naxxramas (original) (cz2654)
2015-03-31 01:51:35 +01:00
kvipka
f119a6119b [Core] Fix channeling spells for unit (will not cast channeling spells when walking, attacking etc.) (c2632) 2015-03-26 11:27:36 +00:00
kvipka
4839283c1c [Core] Improved Blink (c2618,c2623)
1 - Implement generating path ( where unit can walk - there blink will available )
2 - Implement Water path (if blink starting before (or in) water - Z coord will safe, if starting IN water, and last point on a ground (if it available) - new Z will on a ground.
3 - Implement Safe blink , both parts :
  * - blink at abyss ( unit will stoped before abyss )
  * - blink in falling, where difference between unit Z and land Z < 8 yards - unit will blink on a land, if blink in falling, but difference will more then 8 yards - just blink forward

All parts of blink has check LoS (c2618)

Blink -> Check if we are near of liquid level before assigning previous Z to next Z. (c2623) @cyberium

Also when we tp to water we have to set final z a bit under the liquid level. Not at liquid level.
2015-03-26 10:33:26 +00:00
xfurry
c0b73d3fee [AI] Fix TARGET_SELF-TARGET_SCRIPT target combination (c2606)
Also introduce more symmetric behaviour for TARGET_FOCUS_OR_SCRIPTED_GO
2015-03-25 10:57:01 +00:00
xfurry
19ab916daa [Core] Implement movement wrappers for creatures and players
(c2599)
This will set the movement flags and send SMSG_SPLINE_MOVE_* opcodes on movement change.
This will fix movement for flying vehicles and allow future scripting possibilities.

(c2608) Make CanSwim and CanFly abstract method. Also precise UNIT_FL…AG_UNK_15 possible use.
@cyberium
2015-03-23 13:01:20 +00:00
Antz
c9b37c73fa [Movement] Reverted Rel18 movement flag changes 2015-03-23 10:58:10 +00:00
Antz
386f5374ab [Release20] Initial Release 20 2015-03-22 22:10:05 +00:00