Commit Graph
100 Commits
Author SHA1 Message Date
FatBoy bfcdd3bf4b mobile default starting point 2023-05-28 12:56:47 -05:00
FatBoy 67808b69a6 check for dead target 2023-05-28 12:07:00 -05:00
FatBoy 59a4da0c3f randomized patrol delays 2023-05-28 11:34:54 -05:00
FatBoy fd9c5d06af randomized patrol delays 2023-05-28 11:30:46 -05:00
FatBoy 19beb3d5cb randomized patrol delays 2023-05-28 11:29:00 -05:00
FatBoy 863aa4c4a9 randomized patrol delays 2023-05-28 11:25:12 -05:00
FatBoy 90ae798bb8 no more skating rink 2023-05-28 11:19:32 -05:00
FatBoy c47d1b7823 aggro check for non agressive mobs 2023-05-28 11:03:29 -05:00
FatBoy 4e5c77ec47 hamlet guard aggro fix 2023-05-28 11:02:37 -05:00
FatBoy d673c329b6 hamlet guards + mobs aggro before going home 2023-05-28 10:55:11 -05:00
FatBoy 7dfd8148d5 use aggro range not mob range 2023-05-28 10:47:10 -05:00
FatBoy a2a70484ed cant check range of target if theres no target 2023-05-28 10:46:07 -05:00
FatBoy 36eef1942b mobs use half aggro range top chase targets past go home point 2023-05-28 10:43:05 -05:00
FatBoy b154f7ee7f mobs don't go home while in combat range 2023-05-28 10:21:56 -05:00
FatBoy ea919b4ecf mob aggro raneg when swapping hated target 2023-05-28 10:13:49 -05:00
FatBoy b42a378ca8 hate value reset when mob goes home 2023-05-28 10:11:20 -05:00
FatBoy 3b3e89c98f NPC owner null check 2023-05-28 09:25:15 -05:00
FatBoy 708d2e9fb3 building check fix 2023-05-28 09:19:10 -05:00
FatBoy bee3a9b376 Merge remote-tracking branch 'origin/magicbox1.5' into magicbox1.5
# Conflicts:
#	src/engine/ai/MobileFSM.java
2023-05-28 09:18:09 -05:00
FatBoy 0de09ee9f5 trebs now show correct time remaining to spawn 2023-05-27 22:00:12 -05:00
FatBoy 0d2af7c011 treb fix 2023-05-27 20:54:16 -05:00
FatBoy 11e373db6f treb fix 2023-05-27 20:53:52 -05:00
FatBoy 2e219916a0 respawn work 2023-05-27 19:19:06 -05:00
FatBoy a07ee7903b respawn work 2023-05-27 19:11:17 -05:00
FatBoy 56d6efc4e4 mob chance to cast set at 50% 2023-05-24 20:27:58 -05:00
FatBoy b6c9eed229 power chance tuning 2023-05-24 20:08:53 -05:00
FatBoy eb9a1143e4 patrol delay fine tuning 2023-05-24 19:27:25 -05:00
FatBoy 3e659d981a Patrol wait determined by MBServerStatics.AI_PATROL_DIVISOR
mob cast chance now determined by MBStatics.AI_POWER_CHANCE

mob cast cooldown now determined by MBServerStatics.AI_POWER_DIVISOR

guards use normal mob damage calculations
2023-05-24 19:14:23 -05:00
FatBoy d999d60e9a Patrol wait determined by MBServerStatics.AI_PATROL_DIVISOR
mob cast chance now determined by MBStatics.AI_POWER_CHANCE

mob cast cooldown now determined by MBServerStatics.AI_POWER_DIVISOR
2023-05-24 19:05:35 -05:00
FatBoy 9b5573c210 guards get Mob.guardedCity assigned to 2023-05-18 19:59:39 -05:00
FatBoy 932daa730a guards use highbred City._playerMemory.size() and Mob.playerAgroMap to go to sleep 2023-05-18 19:54:54 -05:00
FatBoy 0b029a5f79 Merge remote-tracking branch 'origin/mobile-usage-audit' into mobile-usage-audit 2023-05-18 19:49:09 -05:00
FatBoy ac42a9cd8f removed treb override in MobileFSM.DetermineAction 2023-05-18 19:48:37 -05:00
FatBoy 92015c1a13 guards no longer ignore early exit. FSM will not run if no players are online. mobs will use translocate instead of recall power. 2023-05-15 19:01:43 -05:00
FatBoy d9c05fa622 magical rolling re-enabled 2023-05-12 21:14:41 -05:00
FatBoy 99a82a6b84 enemy/notenemy aggro rules finalized 2023-05-10 18:33:03 -05:00
FatBoy 60c2405cad mobs now use enemy/notenemy for aggro rules 2023-05-09 21:11:51 -05:00
FatBoy 27a6a1f4d0 guards' sleeping pill wore off 2023-05-09 20:59:49 -05:00
FatBoy 584ad46b75 duplicate zoneMobSet additions fixed 2023-05-09 20:27:24 -05:00
FatBoy f99698feda duplicate zoneMobSet additions fixed 2023-05-09 19:57:34 -05:00
FatBoy b3c7db9214 Merge branch 'magicbox1.5' into feature-guard-patrol 2023-05-09 18:40:04 -05:00
FatBoy 76f3d2599b NPCs in buildings show correct spawn times and progress 2023-05-07 19:40:38 -05:00
FatBoy 92a0af8dbb guard minion spawn timer scaling off barracks rank 2023-05-07 17:14:47 -05:00
FatBoy fb2205d700 remove player formn cityoutlaws when they leave 2023-05-07 12:41:31 -05:00
FatBoy 526fe799f6 remove player formn cityoutlaws when they leave 2023-05-07 12:34:01 -05:00
FatBoy 0c9bb0d948 initialize cityOutlaws 2023-05-07 12:20:50 -05:00
FatBoy d6a35a577b mobs use hate value to hot swap targets 2023-05-07 12:15:38 -05:00
FatBoy 508fac6168 mobs use hate value to hot swap targets 2023-05-07 12:06:54 -05:00
FatBoy 7c47ef0550 mobs use hate value to hot swap targets 2023-05-07 12:06:03 -05:00
FatBoy e838bb641b mobs use hate value to hot swap targets 2023-05-07 11:53:00 -05:00
FatBoy c54aa5f9fc guard aggro rules for hostiles 2023-05-07 08:35:11 -05:00
FatBoy b899708cd5 removed obvious bug in guards dropping aggro 2023-05-07 08:12:42 -05:00
FatBoy 14f98493c7 guard minions no longer respawn while captain is dead 2023-05-07 08:06:15 -05:00
FatBoy c7e470166d guard captain and wall archer spawn times hard set at 450 and 900 respectively 2023-05-07 08:02:52 -05:00
FatBoy db218139b3 scaling respawn timer for guard minions based on barracks rank 2023-05-07 07:58:52 -05:00
FatBoy df842a2209 Merge branch 'magicbox1.5' into feature-guard-patrol 2023-05-06 15:54:45 -05:00
FatBoy 64bde9c197 guard reverse KoS logic 2023-05-06 15:53:35 -05:00
FatBoy 6cf599f6bc guard reverse KoS logic 2023-05-06 14:52:10 -05:00
FatBoy d9adef611d mob movement logic update 2023-05-06 13:03:00 -05:00
FatBoy 9ffc09ac02 mob movement logic update 2023-05-06 12:14:28 -05:00
FatBoy 7e5cef2842 guard patrol point logic 2023-05-03 21:20:30 -05:00
FatBoy 969aeec1c7 guard patrol point logic 2023-05-03 21:19:49 -05:00
FatBoy e66b25f803 update isMoving for mobs still at their bind loc 2023-05-03 21:02:38 -05:00
FatBoy 7f9cc6e010 guard patrol work 2023-05-03 20:38:42 -05:00
FatBoy 964e7a4363 guards will now recall home if they leave city grid and have no players loaded 2023-05-03 19:50:52 -05:00
FatBoy aec0115d9b Added random city grid patrol point for guards with no barracks patrol points assigned 2023-05-03 19:43:58 -05:00
FatBoy 566bb8144a were guard contract ID in enum 2023-04-30 17:17:20 -05:00
FatBoy 0b932119b0 guard work 2023-04-30 16:54:39 -05:00
FatBoy 9fefebd4a3 wild mob naes and world NPC names corrected 2023-04-30 16:19:53 -05:00
FatBoy d4e7a6691c removed unused nameOverride variable 2023-04-30 16:12:00 -05:00
FatBoy ad4f9d3540 player placed NPCs now show correct names 2023-04-30 16:09:17 -05:00
FatBoy 6868c9de24 player placed mobiles now show correct names 2023-04-30 16:05:48 -05:00
FatBoy 56a6b9d204 guard minion logic work 2023-04-30 15:04:12 -05:00
FatBoy e52b8e894b guard minion logic work 2023-04-30 14:55:12 -05:00
FatBoy 0bc41323b1 guard minions added to captains parentZone.zoneMobSet 2023-04-30 13:47:15 -05:00
FatBoy 3a7ad74ab6 wall archers no longer spawn with level * 10 2023-04-30 13:35:25 -05:00
FatBoy 7ed0b8a052 wall archers given BehaviourType in initializeMob 2023-04-30 13:03:41 -05:00
FatBoy 718fe56cda drops no longer announce on mob death && config drop rate used for mob equipment drop chance 2023-04-30 12:27:02 -05:00
FatBoy 620fad57fe Mob equipment drops once more, including vorg with proper chance 2023-04-23 22:07:54 -05:00
FatBoy f24605735e renamed "run" in MobileFSM to "DetermineAction" 2023-04-23 20:41:43 -05:00
FatBoy 7e9e0d2c5b MobileFSM cleanup and bonus code removal 2023-04-23 20:38:28 -05:00
FatBoy 1487efc46b Mob.java cleanup 2023-04-23 20:19:17 -05:00
FatBoy 2df4f658c9 Mob.java cleanup 2023-04-23 20:16:30 -05:00
FatBoy 3e005c3a51 NPC have names and contract names 2023-04-22 23:20:24 -05:00
FatBoy 88e09c479f wall archers no longer spawn minions 2023-04-22 23:12:45 -05:00
FatBoy 83eab27a90 proper NPC names in asset management window 2023-04-22 22:44:13 -05:00
FatBoy c02c5750c6 proper contract names in asset management window 2023-04-22 22:10:06 -05:00
FatBoy 09d7ff0740 make wall archers great again 2023-04-22 21:55:06 -05:00
FatBoy ed1a6192c7 enemy/notEnemy fix for mobs 2023-04-22 18:24:43 -05:00
FatBoy ae968211ab none to enum MonsterType 2023-04-22 18:13:29 -05:00
FatBoy a3170bfb4b test code for notEnemy 2023-04-22 18:08:40 -05:00
FatBoy 344c5900b8 added none check to enemy and notEnemy in mobbase 2023-04-22 17:52:55 -05:00
FatBoy 1d74643fe3 None added to enum MonsterType 2023-04-22 17:49:26 -05:00
FatBoy 38e5081b0e moved createSiegeMob and createGuardMob to the Mob class 2023-04-22 17:16:34 -05:00
FatBoy 45ab68caa4 trebuchets now have pet AI with canRoam disabled 2023-04-21 20:12:49 -05:00
FatBoy 3329d61636 fixed error in initialize mob 2023-04-21 18:23:52 -05:00
FatBoy 5299da784a mob respawn fix actual 2023-04-21 15:17:37 -05:00
FatBoy e5b7bd1fa6 mob respawn fix 2023-04-21 12:56:09 -05:00
FatBoy 881907c53a AggroWanderer and Wandered state updates 2023-04-21 10:47:49 -05:00
FatBoy 6a03b58aa6 pet AI logic 2023-04-21 10:44:19 -05:00