From 4683dd44b2f41a7b4afd524eaf904e1bd0bc858f Mon Sep 17 00:00:00 2001 From: "Allen B. Cummings" Date: Wed, 21 Feb 2024 11:14:10 -0500 Subject: [PATCH] Merged PR 987: 990_updated_effects Updated several effects --- guilds/aeromancer/effects/add-hp.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/add-sp.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/add-stamina.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/damage-hp.c | 2 +- guilds/aeromancer/effects/damage-sp.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/damage-stamina.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/siphon-hp.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/siphon-sp.c | 188 ++++++++++++++++++++- guilds/aeromancer/effects/siphon-stamina.c | 188 ++++++++++++++++++++- guilds/bard/lyrics/danse-macabre.c | 2 +- guilds/bard/lyrics/tune-of-the-muse.c | 2 +- 11 files changed, 1499 insertions(+), 11 deletions(-) diff --git a/guilds/aeromancer/effects/add-hp.c b/guilds/aeromancer/effects/add-hp.c index a7b14626f..a1937e731 100644 --- a/guilds/aeromancer/effects/add-hp.c +++ b/guilds/aeromancer/effects/add-hp.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Add Hit Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for 'healing' " + "hit points."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 15); + + addSpecification("increase hit points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageHitPointsEvent"); } diff --git a/guilds/aeromancer/effects/add-sp.c b/guilds/aeromancer/effects/add-sp.c index a7b14626f..21536ae05 100644 --- a/guilds/aeromancer/effects/add-sp.c +++ b/guilds/aeromancer/effects/add-sp.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Add Spell Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for 'healing' " + "spell points."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 15); + + addSpecification("increase spell points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageHitPointsEvent"); } diff --git a/guilds/aeromancer/effects/add-stamina.c b/guilds/aeromancer/effects/add-stamina.c index a7b14626f..91e44ec02 100644 --- a/guilds/aeromancer/effects/add-stamina.c +++ b/guilds/aeromancer/effects/add-stamina.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Add Stamina Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for 'healing' " + "stamina points."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 15); + + addSpecification("increase stamina points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageHitPointsEvent"); } diff --git a/guilds/aeromancer/effects/damage-hp.c b/guilds/aeromancer/effects/damage-hp.c index 3ea9c7736..7fdb3e7fa 100644 --- a/guilds/aeromancer/effects/damage-hp.c +++ b/guilds/aeromancer/effects/damage-hp.c @@ -119,7 +119,7 @@ protected void Setup() "name" : "staff", "types" : ({ "staff" }), "formula" : "additive", - "rate" : 1.0 + "rate" : 1.05 ]), ([ "type": "weapon damage", diff --git a/guilds/aeromancer/effects/damage-sp.c b/guilds/aeromancer/effects/damage-sp.c index a7b14626f..dd364f551 100644 --- a/guilds/aeromancer/effects/damage-sp.c +++ b/guilds/aeromancer/effects/damage-sp.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Damage Spell Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for damaging " + "spell points."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 10); + + addSpecification("damage spell points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageSpellPointsEvent"); } diff --git a/guilds/aeromancer/effects/damage-stamina.c b/guilds/aeromancer/effects/damage-stamina.c index a7b14626f..a84ea5bf5 100644 --- a/guilds/aeromancer/effects/damage-stamina.c +++ b/guilds/aeromancer/effects/damage-stamina.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Damage Stamina Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for damaging " + "stamina points."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 10); + + addSpecification("damage stamina points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageStaminaEvent"); } diff --git a/guilds/aeromancer/effects/siphon-hp.c b/guilds/aeromancer/effects/siphon-hp.c index a7b14626f..030e287a3 100644 --- a/guilds/aeromancer/effects/siphon-hp.c +++ b/guilds/aeromancer/effects/siphon-hp.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Siphon Hit Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for vampirically " + "taking hit points from a foe and transferring a portion to the caster."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 20); + + addSpecification("siphon hit points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageStaminaEvent"); } diff --git a/guilds/aeromancer/effects/siphon-sp.c b/guilds/aeromancer/effects/siphon-sp.c index a7b14626f..1f8ddc3c6 100644 --- a/guilds/aeromancer/effects/siphon-sp.c +++ b/guilds/aeromancer/effects/siphon-sp.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Siphon Spell Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for vampirically " + "taking spell points from a foe and transferring a portion to the caster."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 20); + + addSpecification("siphon spell points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageStaminaEvent"); } diff --git a/guilds/aeromancer/effects/siphon-stamina.c b/guilds/aeromancer/effects/siphon-stamina.c index a7b14626f..9381ca656 100644 --- a/guilds/aeromancer/effects/siphon-stamina.c +++ b/guilds/aeromancer/effects/siphon-stamina.c @@ -2,10 +2,196 @@ // Copyright (c) 2024 - Allen Cummings, RealmsMUD, All rights reserved. See // the accompanying LICENSE file for details. //***************************************************************************** -inherit "/lib/modules/research/constructedResearchComponent.c"; +inherit "/lib/modules/research/instantaneousActiveResearchItem.c"; ///////////////////////////////////////////////////////////////////////////// protected void Setup() { + addSpecification("name", "Siphon Stamina Points"); + addSpecification("source", "aeromancer"); + addSpecification("description", "This research provides the user with the " + "knowledge of the aeromancer spell construction component for vampirically " + "taking stamina points from a foe and transferring a portion to the caster."); + addPrerequisite("/guilds/aeromancer/effects/root.c", + (["type":"research"])); + + addSpecification("scope", "targeted"); + addSpecification("research type", "points"); + addSpecification("research cost", 1); + addSpecification("spell point cost", 20); + + addSpecification("siphon stamina points", ({ ([ + "probability": 80, + "base damage": 5, + "range": 10 + ]), + ([ + "probability": 20, + "base damage": 10, + "range": 20 + ]) + })); + + addSpecification("modifiers", ({ + ([ + "type": "research", + "research item": "/guilds/aeromancer/lightning/discharge.c", + "name" : "Discharge", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatics.c", + "name": "Electrostatics", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/ionization.c", + "name" : "Ionization", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-discharge.c", + "name": "Enhanced Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-induction.c", + "name" : "Electrostatic Induction", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/enhanced-conductivity.c", + "name": "Enhanced Conductivity", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/electrostatic-condenser.c", + "name" : "Electrostatic Condenser", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/corona-discharge.c", + "name": "Corona Discharge", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/plasma-eruption.c", + "name" : "Plasma Eruption", + "formula" : "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type":"research", + "research item": "/guilds/aeromancer/lightning/flux-condenser.c", + "name": "Flux Condenser", + "formula": "multiplicative", + "base value" : 1, + "rate": 1.25 + ]), + ([ + "type": "weapon damage", + "name" : "staff", + "types" : ({ "staff" }), + "formula" : "additive", + "rate" : 1.05 + ]), + ([ + "type": "weapon damage", + "name": "not a staff", + "types": ({ "dagger", "short sword", "long sword", "bow", "axe", + "hand and a half sword", "two-handed sword", "crossbow", + "sling", "thrown", "pole arm", "mace", "hammer", "flail" }), + "formula": "subtractive", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "elemental air", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "level", + "name": "level", + "formula": "logarithmic", + "rate": 1.05 + ]), + ([ + "type": "skill", + "name": "spellcraft", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name": "magical essence", + "formula": "logarithmic", + "rate": 1.25 + ]), + ([ + "type":"skill", + "name" : "physics", + "formula" : "additive", + "rate" : 0.10 + ]), + ([ + "type": "skill", + "name": "mathematics", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "skill", + "name": "chemistry", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "intelligence", + "formula": "additive", + "rate": 0.05 + ]), + ([ + "type": "attribute", + "name": "dexterity", + "formula": "additive", + "rate": 0.025 + ]), + ([ + "type": "attribute", + "name": "wisdom", + "formula": "additive", + "rate": 0.025 + ]), + })); + + addSpecification("cooldown", 6); + addSpecification("event handler", "aeromancerDamageStaminaEvent"); } diff --git a/guilds/bard/lyrics/danse-macabre.c b/guilds/bard/lyrics/danse-macabre.c index 9469a6b77..1499e8238 100644 --- a/guilds/bard/lyrics/danse-macabre.c +++ b/guilds/bard/lyrics/danse-macabre.c @@ -67,7 +67,7 @@ protected void Setup() "value": 10 ]), (["modifier": "bonus resist water", "value": 10 ]), - (["modifier":"bonus hit points", + (["modifier": "bonus hit points", "value" : 150]), }), ])); diff --git a/guilds/bard/lyrics/tune-of-the-muse.c b/guilds/bard/lyrics/tune-of-the-muse.c index 3b1f1b495..96b3ebc9d 100644 --- a/guilds/bard/lyrics/tune-of-the-muse.c +++ b/guilds/bard/lyrics/tune-of-the-muse.c @@ -84,7 +84,7 @@ protected void Setup() addSpecification("bonus heal spell points rate", 10); addSpecification("bonus heal stamina rate", 10); - addSpecification("duration", 20); + addSpecification("duration", 120); addSpecification("event handler", "inspiringLyricEvent"); addSpecification("use composite message", "##InitiatorName## ##Infinitive::sing##, '##CompositeSegment##'");