KimLS
f76fffe622
A bunch of send position changes, rename navigateto
2018-10-15 22:02:16 -07:00
KimLS
cd6fd2d2dc
Merge master to movement_manager, fix for merge failure
2018-10-14 17:23:11 -07:00
KimLS
d0685556e8
Bunch of bug fixes, guard behavior works again
2018-10-13 23:53:16 -07:00
KimLS
1785120796
Bunch of refactoring and walking, AI needs a ton of tweaking to use the new logic
2018-10-12 00:03:58 -07:00
Michael Cook (mackal)
df899bb2df
Tweak NPC AI Heal logic a bit
...
New rule: Spells:AI_HealHPPct defaults to 50
This is the default maximum HP and NPC will start a heal
The spell AI fields min_hp and max_hp are now used to override the HP
percentages they will heal at
2018-10-09 14:18:24 -04:00
Akkadius
9fcafbef62
Remove navmesh from roambox logic until stuck issues are sorted with movement overhaul
2018-10-01 21:15:30 -05:00
KimLS
29ea65a71e
Redoing movement to introduce proper rotation
2018-09-24 22:41:53 -07:00
KimLS
1aa97957d8
Renamed function, need to fix bots, some combat bug fixes.
2018-09-21 23:54:07 -07:00
KimLS
7278c6294d
Movement will now be handled by the movement manager instead of mob
2018-09-20 16:14:47 -07:00
KimLS
f754cb1307
Move update path to movement manager so all movement will use paths
2018-09-18 23:06:56 -07:00
KimLS
c677169edd
Removed existing movement code, started replacing
2018-09-15 19:20:47 -07:00
Michael Cook (mackal)
7836d020ce
Add NPC Max Aggro Distance to zone table
2018-09-08 00:22:16 -04:00
Akkadius
7c298a249f
Pets now use navmesh
2018-09-04 20:27:43 -05:00
Akkadius
3eee699a89
Calculate roambox destination z once and let navmesh pathfinding calculate it the rest of the time
2018-09-03 04:07:13 -05:00
Akkadius
4a4668b36a
Remove an unecessary costly z calc
2018-09-03 03:54:15 -05:00
Akkadius
395cf2e8ce
Roambox logic now uses navmesh
2018-09-03 03:46:48 -05:00
Akkadius
8a28e8500d
Make fear and fleeing respect navmesh for both clients and NPCs
2018-09-03 03:06:23 -05:00
Akkadius
6fc20939e8
Fix for edge case with roambox water logic
2018-09-03 02:11:39 -05:00
Akkadius
b92e83a465
Fix client pathing Z while feared
2018-09-03 01:51:40 -05:00
Akkadius
d4e0e8aea2
Revert LOS check code until further refinement
2018-08-28 00:55:06 -05:00
Trust
62f9816aa8
Returned Logic from PR #766
2018-08-25 19:46:37 -04:00
Trust
4c8018e4ca
Prevent Gate if near bind location (Rule) and Heal on Gate (Rule)
...
RULE_INT(NPC, NPCGatePercent, 5) // % at which the NPC Will attempt to gate at.
RULE_BOOL(NPC, NPCGateNearBind, false) // Will NPC attempt to gate when near bind location?
RULE_INT(NPC, NPCGateDistanceBind, 75) // Distance from bind before NPC will attempt to gate
RULE_BOOL(NPC, NPCHealOnGate, true) // Will the NPC Heal on Gate.
RULE_REAL(NPC, NPCHealOnGateAmount, 25) // How much the npc will heal on gate if enabled.
2018-08-24 23:04:29 -04:00
Akkadius
86f1cedf91
Add LOS checks into roambox logic to prevent scaling mountains and going over buildings, cpu cycle saves and logging added. Things are looking really good now
2018-08-18 23:18:55 -05:00
Akkadius
3a7d18f32a
Throttle Z calculations in roambox code, fix typo on fallback logic range
2018-08-18 22:48:12 -05:00
Akkadius
834062fbf9
Add another layer of randomization to roam box logic, npc's who weren't originally spawned in water won't roambox into water
2018-08-18 22:01:46 -05:00
Akkadius
4b6ab34fd9
Fix, cleanup and simplify the roambox logic and cleanup a bunch of other related code
2018-08-18 18:12:18 -05:00
Michael Cook (mackal)
ace81215a1
Correct when tanks can be hit by AE Rampage
...
Tanks will only be hit by AE Rampage if they're the only one on the
NPC's hate list. Others on hate list out ranging AE Rampage will also
prevent the tank from being hit by AE Rampage.
2018-08-16 17:13:34 -04:00
Michael Cook (mackal)
54abeba1ce
Merge pull request #766 from noudess/master
...
Change spell logic to use min_hp from spell list.
2018-08-12 15:55:59 -04:00
Paul Coene
e582a8d17a
Change spell logic to use min_hp from spell list.
2018-08-12 15:35:38 -04:00
Uleat
c435a77813
Reintegration of inventory-based EQDictionary references
2018-07-05 21:05:26 -04:00
Michael Cook (mackal)
bce92c5e02
Add support for innate self targeted spells
...
Currently this just includes checking SpellType_InCombatBuffs
2018-06-20 14:18:39 -04:00
Akkadius
05ae8c8219
Add rule Aggro:NPCAggroMaxDistanceEnabled - enabled by default
...
If enabled, NPC's will drop aggro beyond 600 units or what is defined at the zone level
2018-05-25 22:41:46 -05:00
Akkadius
2c91d1db6e
Make sure NPC's don't open keyed or lockpick enabled doors - also make sure we are opening doors and not platforms above or below
2018-05-11 00:14:24 -05:00
Akkadius
95043d637c
Implement NPC's opening doors and clean up door code a bit
2018-05-10 03:54:49 -05:00
KimLS
a53f65d86b
Merge and compile fixes (non-bot, will do bots later)
2018-04-16 14:15:08 -07:00
Michael Cook (mackal)
c29bdd4b1d
Add a sanity check to prevent mobs climbing steep walls
...
Ex. in OMM's room in anguish
2018-03-17 14:29:11 -04:00
Michael Cook (mackal)
0643bf9783
Remove z offset mod in push, wasn't needed
2018-03-17 13:43:27 -04:00
Michael Cook (mackal)
d8b704ef7d
Adjust z offset down
2018-03-17 02:05:36 -04:00
Michael Cook (mackal)
e46e2952e6
Use 8 points to check in push code
2018-03-15 16:20:00 -04:00
Michael Cook (mackal)
a339d0d41d
Don't rotate the box, it works better
2018-03-15 15:48:34 -04:00
Michael Cook (mackal)
d62f2d41fc
Bug fixes to push, shouldn't get stuck anymore
2018-03-15 15:39:36 -04:00
Michael Cook (mackal)
a6b31017e3
Remove extra z offset
2018-03-09 19:27:31 -05:00
Michael Cook (mackal)
876335bb54
Pull out forced movement from push to it's own function
...
Had to pull this out so we could process it before mez/stun
2018-03-08 19:42:40 -05:00
Michael Cook (mackal)
ef487112df
Add FixZ() to the spell push stuff
...
This is done after the packet since we want the NPC to get pushed up
still. The client will still interp the fall but server side we'll be on
the ground instantly
2018-03-08 16:11:48 -05:00
Michael Cook (mackal)
ae966e546b
WIP for NPC spell push, off by default for now
2018-03-07 16:50:24 -05:00
Michael Cook (mackal)
1beb221337
Pets seem to run until within 35 units of you
...
This was at 75 before, testing on live puts this closer to 35
2018-03-01 16:15:57 -05:00
Michael Cook (mackal)
c87380fa54
Actually fix pet warp range ...
2018-02-23 17:42:57 -05:00
Michael Cook (mackal)
959337b592
Pets should warp to owner >= 450 units Fixes #715
2018-02-23 17:09:04 -05:00
Michael Cook (mackal)
ca0b9bc374
Fix rampage behavior Fixes #716
2018-02-23 17:00:17 -05:00
Michael Cook (mackal)
cdd0b2de00
Bug fix for longer reuses
2018-02-06 13:13:13 -05:00