Commit Graph

354 Commits

Author SHA1 Message Date
FatBoy 7b43440fae mobs start the game at their first patrol point index 2023-06-25 19:32:49 -05:00
FatBoy 33c6f1c74d patrol point index 2023-05-28 13:48:15 -05:00
FatBoy da378bf490 patrol point index 2023-05-28 13:31:39 -05:00
FatBoy b3b7a78cec patrol point index 2023-05-28 13:28:22 -05:00
FatBoy bfcdd3bf4b mobile default starting point 2023-05-28 12:56:47 -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
MagicBot a1f8fedefe Merge remote-tracking branch 'origin/magicbox1.5' into mob-AI-debug
# Conflicts:
#	src/engine/ai/MobileFSM.java
2023-05-28 07:42:10 -04:00
FatBoy 11e373db6f treb fix 2023-05-27 20:53:52 -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 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 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 92a0af8dbb guard minion spawn timer scaling off barracks rank 2023-05-07 17:14:47 -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
MagicBot 7dcefdf5d7 Contract moved to AbstractCharacter.
Arty tower restricted to a single tower captain.
2023-05-02 15:09:09 -04:00
MagicBot 82aeba3a05 NPC rotations inherit building rotation. 2023-05-02 13:51:31 -04:00
MagicBot c56d5567f2 bugfix in quaternion math. 2023-05-02 13:21:40 -04:00
MagicBot 52160d48c4 Adding building rotation to mobile rotation. 2023-05-02 13:17:34 -04:00
MagicBot ce516f24c0 Contracted Mob/Npc rotation derived from slot position. 2023-05-02 13:08:02 -04:00
MagicBot 715abf1444 Building Location rotations are now a quaternion. 2023-05-02 09:10:41 -04:00
MagicBot e745c260f0 Positive rotation not negative. 2023-05-02 08:46:43 -04:00
MagicBot b7c2e09b81 Rotation slot location by building rotation. 2023-05-02 08:39:03 -04:00
MagicBot 48172fb220 Rotation slot location by building rotation. 2023-05-02 08:26:43 -04:00
MagicBot 44b99a8781 It's w not y. 2023-05-01 15:58:04 -04:00
MagicBot b8eb198b09 Pirate name related code moved to NPCmanager. 2023-05-01 14:28:02 -04:00
MagicBot 59cd2b0dc1 Bonus code removal. 2023-05-01 13:55:06 -04: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 6868c9de24 player placed mobiles now show correct names 2023-04-30 16:05:48 -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 7ed0b8a052 wall archers given BehaviourType in initializeMob 2023-04-30 13:03:41 -05:00
MagicBot eee949de93 Naming update. 2023-04-30 10:55:16 -04:00
MagicBot b5e2848091 Location serialization matches NPC 2023-04-30 10:20:21 -04:00
MagicBot 1ab8540f73 Location serialization matches NPC 2023-04-30 09:32:34 -04:00
MagicBot c029a881e9 Location serialization matches NPC 2023-04-30 09:23:56 -04:00
MagicBot e18c046ee7 Parent zone required by db handler. 2023-04-30 07:41:11 -04:00
MagicBot 48d66a0d42 Integer division fix. Class cleanup. 2023-04-29 15:40:50 -04:00
MagicBot d454878245 BuildingModelBase no longer needed. 2023-04-29 15:15:23 -04:00
MagicBot cace195e18 Logic and comment cleanup. 2023-04-29 14:36:39 -04:00
MagicBot 129aff909c Update; mobile offsets within buildings. 2023-04-29 14:25:36 -04:00
MagicBot 6cfd078469 Removed old methods from codepath. 2023-04-29 14:00:24 -04:00
MagicBot 4acc4192af Initial work on Mobile init refactor. 2023-04-29 13:57:09 -04:00
MagicBot 225e55d956 Slots will be derived not stored. 2023-04-29 08:08:45 -04:00
MagicBot 6d73e12c5c Slot added to stored procedures. 2023-04-24 16:23:13 -04:00