Skip to content

Commit

Permalink
fix(items): items now- have separate effects/abilities, are more dist…
Browse files Browse the repository at this point in the history
…inct when in/out of combat
  • Loading branch information
seiyria committed Mar 24, 2023
1 parent 29b2018 commit aa12001
Show file tree
Hide file tree
Showing 19 changed files with 370 additions and 280 deletions.
4 changes: 3 additions & 1 deletion CONTENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,13 @@ Items require:
* `category` - the rarity of the item (see Item Categories)
* `durability` - how many uses the item can take (`-1` = infinite)
* `value` - how much the item sells for (base; selling via shop sells it for 3x this value to start)
* `givesAbility` - optional, the ability the item gives (by ability name)
* `givesPlayerAbility` - optional, the ability the item gives (by ability name)
* `stats` - the stats the item gives - see items for how to declare this, and see Stats for the valid stats
* `foodDuration` - optional, if specified, the item can be used as a food for combat and will give its `stats` every combat
* `oocHealth` - optional, if specified, will let the player use this item out of combat (if it's `type='Foods'`) and restore this value to health
* `oocEnergy` - optional, if specified, will let the player use this item out of combat (if it's `type='Foods'`) and restore this value to energy
* `effects`
* `abilities`

# Adding a New Gathering Location

Expand Down
2 changes: 1 addition & 1 deletion MODDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Items require:
* `category` - the rarity of the item (see Item Categories)
* `durability` - how many uses the item can take (`-1` = infinite)
* `value` - how much the item sells for (base; selling via shop sells it for 3x this value to start)
* `givesAbility` - optional, the ability the item gives (by ability name)
* `givesPlayerAbility` - optional, the ability the item gives (by ability name)
* `stats` - the stats the item gives - see items for how to declare this, and see Stats for the valid stats
* `foodDuration` - optional, if specified, the item can be used as a food for combat and will give its `stats` every combat

Expand Down
52 changes: 26 additions & 26 deletions content/data/abilities/enemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@



ApplyFire1:
ApplyFire1:
name: Flame
description: Uh oh someones clothes are on fire. Oh wow that sucks.
description: Uh oh someones clothes are on fire. Oh wow that sucks.
icon: on-fire
target: Single
type: Magical
Expand All @@ -17,7 +17,7 @@ ApplyFire1:
energyCost: 5
requires: {}

ApplyEnergyBuff1:
ApplyEnergyBuff1:
name: Charge Up
description: Charging up, likely for a powerful attack?
icon: bolt
Expand All @@ -32,7 +32,7 @@ ApplyEnergyBuff1:
requires: {}


ApplyRegen1:
ApplyRegen1:
name: Regen I
description: Healing go burrrrrrrrr. (Warning excessive regen may cause cancer (and no, more regen will not fix it)).
icon: healing
Expand All @@ -46,7 +46,7 @@ ApplyRegen1:
energyCost: 5
requires: {}

ApplyRegen2:
ApplyRegen2:
name: Regen II
description: Healing go burrrrrrrrr. (Warning excessive regen may cause cancer (and no, more regen will not fix it)).
icon: healing
Expand All @@ -60,7 +60,7 @@ ApplyRegen2:
energyCost: 5
requires: {}

ApplyRegen3:
ApplyRegen3:
name: Regen III
description: Healing go burrrrrrrrr. (Warning excessive regen may cause cancer (and no, more regen will not fix it)).
icon: healing
Expand All @@ -74,7 +74,7 @@ ApplyRegen3:
energyCost: 5
requires: {}

ApplyRegen4:
ApplyRegen4:
name: Regen IV
description: Healing go burrrrrrrrr. (Warning excessive regen may cause cancer (and no, more regen will not fix it)).
icon: healing
Expand All @@ -89,7 +89,7 @@ ApplyRegen4:
requires: {}


ApplyPoison1:
ApplyPoison1:
name: Minor Poison
description: It, uh, poisons. Notably takes longer than fire to do its damage.
icon: toxic-bottle
Expand All @@ -103,7 +103,7 @@ ApplyPoison1:
energyCost: 5
requires: {}

ApplyPoison2:
ApplyPoison2:
name: Poison
description: It, uh, poisons. Notably takes longer than fire to do its damage.
icon: toxic-bottle
Expand All @@ -117,7 +117,7 @@ ApplyPoison2:
energyCost: 5
requires: {}

ApplyPoison3:
ApplyPoison3:
name: Greater Poison
description: It, uh, poisons. Notably takes longer than fire to do its damage.
icon: toxic-bottle
Expand All @@ -131,7 +131,7 @@ ApplyPoison3:
energyCost: 5
requires: {}

ApplyPoison4:
ApplyPoison4:
name: Da Big Poison
description: It, uh, poisons. Notably takes longer than fire to do its damage.
icon: toxic-bottle
Expand All @@ -151,7 +151,7 @@ ApplyPoison4:

GoblinShaman1: # To be moved and re named
name: Goblish Heal I
description: Heal yourself.
description: Heal yourself.
icon: healing
target: Self
type: Magical
Expand Down Expand Up @@ -193,7 +193,7 @@ GoblinLord2:
energyCost: 5
requires: {}

GoblinLord3:
GoblinLord3:
name: Point Weakness
description: "Nice armor, well except for that little hole right there."
icon: point
Expand Down Expand Up @@ -233,7 +233,7 @@ UndeadRegen2:
stats: []
effects:
- effect: ApplyEffect
effectName: Regen2
effectName: Regen2
- effect: ApplyEffect
effectName: EnergyBuff1
cooldown: 3
Expand All @@ -251,10 +251,10 @@ RotAttack1:
- stat: attack
multiplier: 0.75
variance: 0.25
effects:
effects:
- effect: SingleTargetAttack
- effect: ApplyEffect
effectName: Rot1
effectName: Rot1
- effect: ApplyEffect
effectName: HealthDebuff1
- effect: ApplyEffect
Expand All @@ -273,10 +273,10 @@ RotAttack2:
- stat: attack
multiplier: 1.5
variance: 0.5
effects:
effects:
- effect: SingleTargetAttack
- effect: ApplyEffect
effectName: Rot1
effectName: Rot1
- effect: ApplyEffect
effectName: HealthDebuff1
- effect: ApplyEffect
Expand All @@ -295,7 +295,7 @@ RotAttack3:
- stat: attack
multiplier: 1.5
variance: 0.5
effects:
effects:
- effect: SingleTargetAttack
- effect: SingleTargetAttack
- effect: SingleTargetAttack
Expand All @@ -304,7 +304,7 @@ RotAttack3:
- effect: SingleTargetAttack
- effect: SingleTargetAttack
- effect: ApplyEffect
effectName: Rot1
effectName: Rot1
- effect: ApplyEffect
effectName: HealthDebuff1
- effect: ApplyEffect
Expand All @@ -320,9 +320,9 @@ ApplyDoom1:
target: Single
type: Magical
stats: []
effects:
effects:
- effect: ApplyEffect
effectName: Doom1
effectName: Doom1
cooldown: 3
energyCost: 5
requires: {}
Expand All @@ -334,21 +334,21 @@ Mummy1:
target: Single
type: Magical
stats: []
effects:
effects:
- effect: ApplyEffect
effectName: Rot1
effectName: Rot1
- effect: ApplyEffect
effectName: HealthDebuff1
- effect: ApplyEffect
effectName: HealingDebuff1
- effect: ApplyEffect
effectName: Rot1
effectName: Rot1
- effect: ApplyEffect
effectName: HealthDebuff1
- effect: ApplyEffect
effectName: HealingDebuff1
- effect: ApplyEffect
effectName: Rot1
effectName: Rot1
- effect: ApplyEffect
effectName: HealthDebuff1
- effect: ApplyEffect
Expand Down
Loading

0 comments on commit aa12001

Please sign in to comment.