DaZoul Posted June 26, 2021 Share Posted June 26, 2021 So there were a few words dropped on this in another thread, but does anyone know the actual, full mechanic about how and when Spider Queens spawn nurses? Cause from testing I have deducted that I have no idea. I had a few thoughts about making a nurse farm, but to see if that's even possible, nevertheless worth it, I would need the mechanics Link to comment Share on other sites More sharing options...
Well-met Posted June 26, 2021 Share Posted June 26, 2021 From the prefab it seems to be the same chance as the warrior, except it doesn't have a roll of its own. I think it's a random roll during a warrior roll. Link to comment Share on other sites More sharing options...
Viktor234 Posted June 26, 2021 Share Posted June 26, 2021 local function MakeBaby(inst) local angle = (inst.Transform:GetRotation() + 180) * DEGREES local prefab = "spider" if inst.components.combat:HasTarget() and math.random() < 0.45 then prefab = math.random() > 0.5 and "spider_warrior" or "spider_healer" end local spider = inst.components.lootdropper:SpawnLootPrefab(prefab) if spider ~= nil then local rad = spider:GetPhysicsRadius(0) + inst:GetPhysicsRadius(0) + .25 local x, y, z = inst.Transform:GetWorldPosition() spider.Transform:SetPosition(x + rad * math.cos(angle), 0, z - rad * math.sin(angle)) spider.sg:GoToState("taunt") inst.components.leader:AddFollower(spider) if inst.components.combat.target ~= nil then spider.components.combat:SetTarget(inst.components.combat.target) end end end No Combat Target: 100% Regular Spider Combat Target: 55% Regular Spider 22.5% Spider Warrior 22.5% Nurse Spider Link to comment Share on other sites More sharing options...
DaZoul Posted June 26, 2021 Author Share Posted June 26, 2021 So she merely has to be in combat, and does not need to have low health? Tried fighting one with a ham bat. Fight itself really hasn't gotten more difficult. Same process, when she spawns a spider, you lure it a bit away. When she spawns a warrior or nurse, you lure that one a bit further away. So dealing with a nurse is effectively the same as dealing with a Warrior, but if she's alone it's simpler as you can stunlock the nurses. The hardest part of the fight is still the beginning, if she has a full house of 8 spiders at the start. With a ham bat, clearing those is easy, you just gotta hope and get lucky with her not spawning any special ones on you while you're dealing with em Link to comment Share on other sites More sharing options...
Mysterious box Posted June 26, 2021 Share Posted June 26, 2021 Huh interesting guess I was wrong thanks for clearing that up I heard it was when she was low on hp and assumed it was true since when i wailed on her she seemed ot spawn them. Link to comment Share on other sites More sharing options...
Mysterious box Posted June 26, 2021 Share Posted June 26, 2021 By the way anyone know how much hp nurse spiders have? Link to comment Share on other sites More sharing options...
Wumpus the 19th Posted June 26, 2021 Share Posted June 26, 2021 1 hour ago, Viktor234 said: local function MakeBaby(inst) local angle = (inst.Transform:GetRotation() + 180) * DEGREES local prefab = "spider" if inst.components.combat:HasTarget() and math.random() < 0.45 then prefab = math.random() > 0.5 and "spider_warrior" or "spider_healer" end local spider = inst.components.lootdropper:SpawnLootPrefab(prefab) if spider ~= nil then local rad = spider:GetPhysicsRadius(0) + inst:GetPhysicsRadius(0) + .25 local x, y, z = inst.Transform:GetWorldPosition() spider.Transform:SetPosition(x + rad * math.cos(angle), 0, z - rad * math.sin(angle)) spider.sg:GoToState("taunt") inst.components.leader:AddFollower(spider) if inst.components.combat.target ~= nil then spider.components.combat:SetTarget(inst.components.combat.target) end end end I only really know Griftlands code, but I can read enough of this to know this function is just named "MakeBaby". That is funny to me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.