Skip to content

Commit

Permalink
Merged PR 987: 990_updated_effects
Browse files Browse the repository at this point in the history
Updated several effects
  • Loading branch information
Allen B. Cummings committed Feb 21, 2024
1 parent cadc740 commit 4683dd4
Show file tree
Hide file tree
Showing 11 changed files with 1,499 additions and 11 deletions.
188 changes: 187 additions & 1 deletion guilds/aeromancer/effects/add-hp.c
Expand Up @@ -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");
}
188 changes: 187 additions & 1 deletion guilds/aeromancer/effects/add-sp.c
Expand Up @@ -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");
}

0 comments on commit 4683dd4

Please sign in to comment.