DARKNET: Add improved challenge achievement for BN15 (#2479)

* DARKNET: Add improved challenge achievement for BN15

* DARKNET: Adjust heartbleed check location for achievement

* Fix wrong achievement data and update svg

* DARKNET: Fix styling of documentation link

* lint

---------

Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
This commit is contained in:
Michael Ficocelli
2026-02-07 21:28:55 -05:00
committed by GitHub
parent 95d08d7722
commit e649adfef4
8 changed files with 155 additions and 5 deletions
+2
View File
@@ -247,6 +247,7 @@ export function NetscriptDarknet(): InternalAPI<DarknetAPI> {
logger(ctx)(
`Attempting to extract data from ${server.hostname}... (Est: ${formatNumber(networkDelay / 1000, 1)}s)`,
);
DarknetState.hasUsedHeartbleed = true;
if (Player.skills.charisma < server.requiredCharismaSkill) {
logger(ctx)(
@@ -263,6 +264,7 @@ export function NetscriptDarknet(): InternalAPI<DarknetAPI> {
return helpers.netscriptDelay(ctx, networkDelay).then(() => {
const xpGained = Player.mults.charisma_exp * 50 * ((500 + Player.skills.charisma) / 500);
Player.gainCharismaExp(xpGained);
const onlineConnectionCheck = getFailureResult(ctx, targetHost, { requireDirectConnection: true });
if (!onlineConnectionCheck.success) {
return {