ButterStuffed Posted August 12, 2016 Share Posted August 12, 2016 I couldn't find the answer on the wiki so if someone could answer these questions for me I'd be grateful. Recently WX-78 got a nerf in which every consecutive lightning strike will charge slightly less. Does anyone know the numbers for it? Like an equation for how much less per strike would be nice. The Extra Adorable Lavae can eat both charcoal and ash, however the wiki doesn't clearly say whether or not charcoal fills the same as ash. Anyone know? Abigail does night damage underground regardless of the time of day right? Fire damage was reduced for players on fire, does this reduction apply to monsters as well? I swear I had a couple more questions but I can't remember them.. Ah well, I'll just ask again in here when I do remember. Thanks! Link to comment Share on other sites More sharing options...
DarkXero Posted August 12, 2016 Share Posted August 12, 2016 2 hours ago, Weird Wanderer said: Recently WX-78 got a nerf in which every consecutive lightning strike will charge slightly less. Does anyone know the numbers for it? Like an equation for how much less per strike would be nice. Relevant code: local basecharge = TUNING.TOTAL_DAY_TIME local dampen = 3 * basecharge / (inst.charge_time + 3 * basecharge) local dcharge = dampen * basecharge * .5 * (1 + math.random() * dampen) startovercharge(inst, inst.charge_time + dcharge) Lua testing code: local charge_time = 0 local lightnings = 0 local function DoLightning() local basecharge = 480 local dampen = 3 * basecharge / (charge_time + 3 * basecharge) local dcharge = dampen * basecharge * .5 * (1 + math.random() * dampen) charge_time = charge_time + dcharge lightnings = lightnings + 1 print("Time: "..tostring(charge_time).."s, Strike: "..tostring(lightnings)) end DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() DoLightning() Output (after 15 consecutive strikes): Time: 441.64505202323s, Strike: 1 Time: 680.74846943265s, Strike: 2 Time: 930.36102618528s, Strike: 3 Time: 1146.8827867905s, Strike: 4 Time: 1348.2767352849s, Strike: 5 Time: 1484.8700080606s, Strike: 6 Time: 1622.5300917932s, Strike: 7 Time: 1776.1409992601s, Strike: 8 Time: 1896.9636608287s, Strike: 9 Time: 2025.2890896799s, Strike: 10 Time: 2144.8060724457s, Strike: 11 Time: 2265.5667428199s, Strike: 12 Time: 2372.0527976544s, Strike: 13 Time: 2480.2948863701s, Strike: 14 Time: 2599.2862739973s, Strike: 15 2 hours ago, Weird Wanderer said: The Extra Adorable Lavae can eat both charcoal and ash, however the wiki doesn't clearly say whether or not charcoal fills the same as ash. Anyone know? They fill the same. inst:AddComponent("edible") inst.components.edible.foodtype = FOODTYPE.BURNT inst.components.edible.hungervalue = 20 inst.components.edible.healthvalue = 20 2 hours ago, Weird Wanderer said: Abigail does night damage underground regardless of the time of day right? Correct. In the caves, the world is in permanent night. What varies is the "cavephase" (day, dusk, night), rather than the "phase" (night). Abigail looks at the "phase". 2 hours ago, Weird Wanderer said: Fire damage was reduced for players on fire, does this reduction apply to monsters as well? In Don't Starve, I killed a crow with a single fire dart. In Don't Starve Together, I used a fire dart on a crow, and after the fire extinguished, the crow flew away. So the answer is yes. 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.