Added sample Item Enchant configuration file.

removeExposedPackKey
sigonasr2 4 months ago
parent 4774f94d9b
commit 3c40b3ee41
  1. 2
      Adventures in Lestoria Tests/ItemTests.cpp
  2. 1
      Adventures in Lestoria/Adventures in Lestoria.vcxproj
  3. 3
      Adventures in Lestoria/Adventures in Lestoria.vcxproj.filters
  4. 463
      Adventures in Lestoria/ItemEnchants.txt

@ -209,8 +209,6 @@ namespace ItemTests
}catch(std::runtime_error&e){}
}
TEST_METHOD(RefiningTest){
util::random();
util::random();
std::weak_ptr<Item>slimeKingRing{Inventory::AddItem("Ring of the Slime King"s)};
Assert::IsFalse(slimeKingRing.lock()->CanBeRefined(),L"Ring of the Slime King should not be allowed to be refined since we have no fragments.");
std::weak_ptr<Item>testArmor{Inventory::AddItem("Test Armor"s)};

@ -1210,6 +1210,7 @@
<Text Include="Crawler_System_Overview.txt" />
<Text Include="Crawler_Trapper_Witch_thief.txt" />
<Text Include="debug.log" />
<Text Include="ItemEnchants.txt" />
<Text Include="Merchant%27s Items.txt" />
<Text Include="NewClasses.txt" />
<Text Include="InitialConcept.txt" />

@ -1379,6 +1379,9 @@
<Text Include="assets\config\story\Chapter 6.txt">
<Filter>Configurations\Story</Filter>
</Text>
<Text Include="ItemEnchants.txt">
<Filter>Configurations\Items</Filter>
</Text>
</ItemGroup>
<ItemGroup>
<Image Include="assets\heart.ico">

@ -0,0 +1,463 @@
Item Enchants
{
General Enchants
{
# Chance to roll
Percent Chance = 50%
Enchant Display Color = 253, 255, 206, 255
Health Increase
{
Description = "Increases Maximum Health."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Health, 10, 25
# Stat Modifier[1] = ...
}
Health Boost
{
Description = "Increases Maximum Health %."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Health %, 5, 10
# Stat Modifier[1] = ...
}
Defense Increase
{
Description = "Increases Defense."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Defense, 10, 25
# Stat Modifier[1] = ...
}
Defense Boost
{
Description = "Increases Defense %."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Defense %, 5, 10
# Stat Modifier[1] = ...
}
Attack Increase
{
Description = "Increases Attack."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Attack, 5, 10
# Stat Modifier[1] = ...
}
Attack Boost
{
Description = "Increases Attack %."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Attack %, 2, 5
# Stat Modifier[1] = ...
}
Movement Boost
{
Description = "Increases Move Spd %."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Move Spd %, 5, 10
# Stat Modifier[1] = ...
}
Ability Haste
{
Description = "Decreases cooldown time of abilities."
# Stat, Lowest, Highest Value
Stat Modifier[0] = CDR, 2, 5
# Stat Modifier[1] = ...
}
Crit Rate
{
Description = "Increases critical hit rate."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Crit Rate, 2, 5
# Stat Modifier[1] = ...
}
Crit Damage
{
Description = "Increases damage from critical hits."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Crit Dmg, 5, 10
# Stat Modifier[1] = ...
}
HP Recovery
{
Description = "Restores health every 6 seconds."
# Stat, Lowest, Highest Value
Stat Modifier[0] = HP6 Recovery %, 2, 4
# Stat Modifier[1] = ...
}
Stoneskin
{
Description = "Reduces damage taken."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Damage Reduction, 2, 5
# Stat Modifier[1] = ...
}
Quickstrike
{
Description = "Increases attack rate."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Attack Spd, 3, 5
# Stat Modifier[1] = ...
}
Mana Pool
{
Description = "Increases maximum mana."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Mana, 10, 20
# Stat Modifier[1] = ...
}
}
Class Enchants
{
# Chance to roll
Percent Chance = 40%
Enchant Display Color = 83, 250, 255, 255
Ranger
{
Quickdraw
{
Description = "Basic Attack cooldown has a 20% chance of instantly resetting when a target is hit."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Stealthy Retreat
{
Description = "Invulnerability time increased dramatically when using Retreat."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Poisonous Arrow
{
Description = "Every 10 seconds, the next arrow fired becomes a poisonous arrow causing 20% damage every second for 7 seconds."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Extreme Rapid Fire
{
Description = "Fire an additional 5 arrows when using Rapid Fire"
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Charge Beam
{
Description = "Charged Shot's attack radius becomes immensely large."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Mega Charged Shot
{
Description = "Charged Shot's cast time increases by 1.5 seconds. Now deals two times more damage."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Multi-Multishot
{
Description = "Multishot can now hold up to three charges."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
Thief
{
Backstabber
{
Description = "Attacking a target from behind deals an additional 40% damage."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Tumble
{
Description = "Roll range, invulnerability time, and Movespeed boost are all increased by 30%."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Triple Toss
{
Description = "Hidden Dagger now throws three daggers instead of one."
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Deadly Mirage
{
Description = "Immediately after dashing once with Deadly Dash, perform another dash in target direction."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Adrenaline Stim
{
Description = "Sacrifice 20% of your health to gain 50% increased attack range. Adrenaline Rush also lasts 30 seconds instead of 8."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
Trapper
{
Burning Arrow
{
Description = "Auto attacks now apply a 6-second burn to targets dealing 20% attack every 2 seconds."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Enfeebled Target
{
Description = "Marked targets are slowed by 30% and deal 20% less damage."
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Long-Lasting Mark
{
Description = "Marks now last for 20 seconds."
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Trap Collector
{
Description = "You can now hold two charges of each trap."
Affects = Ability 2, Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Lingering Scent
{
Description = "Bleed lasts for 10 seconds longer."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Caught Dead
{
Description = "Caught targets are stuck for 5 seconds."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Concussive Trap
{
Description = "Explosive traps now explode three times when triggered. Additional explosions deal 250% attack."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
Warrior
{
Giant Sword
{
Description = "Attack Range increased by 75%."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Steel Yourself
{
Description = "Negates knockback from collisions."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Auto Guard
{
Description = "If Block is up and you take damage, Block will activate immediately, blocking the attack."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Heavy Guard
{
Description = "Block's duration is doubled."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Advance Shield
{
Description = "Block no longer grants invulnerability or knockback reduction. Block now grants a shield equal to 20% of your health for 10 seconds."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Battle Shout
{
Description = "Battlecry now deals damage equal to your defense."
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Slam Shock
{
Description = "Monsters hit by Ground Slam become stunned for 5 seconds."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Sonic Upgrade
{
Description = "Sonic Slash's Cooldown and Mana costs reduced by 20%."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
Witch
{
Bouncing Orb
{
Description = "Homing orb now bounces off of targets up to 4 bounces. Damage reduced to 50% attack. Cannot hit the same target twice in a row."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Nine Lives
{
Description = "Transform's cooldown becomes 20 seconds. Upon using Transform remain in cat form. Instead of taking damage, getting hit will simply revert your form."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Spreading Pain
{
Description = "If Curse of Pain kills a target, it can spread to nearby targets."
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Pooling Poison
{
Description = "Throw Poison causes the splash effect to linger for 10 seconds, dealing 100% attack every 2 seconds."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Poison Bounce
{
Description = "Throw Poison bounces along the ground two additional times dealing small splashes of poison for 100% attack damage before the final explosion."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Expunge
{
Description = "Target takes 50% additional damage during Curse of Death."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
Wizard
{
Piercing Bolt
{
Description = "Regular attacks now go through targets. Damage dealt to additional targets reduced by 50%."
Affects = Auto Attack
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Blink Portal
{
Description = "For 5 seconds after using Teleport, the Wizard can activate Teleport again to teleport back to the original location. Cooldown increased to 13 seconds."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Black Hole
{
Description = "After teleporting, creates a small black hole pulling in nearby targets for 4 seconds."
Affects = Right Click Ability
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Trail of Fire
{
Description = "The Firebolt leaves behind a trail of fire, burning targets standing in it for 10% attack every second for 10 seconds."
Affects = Ability 1
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Chain Lightning
{
Description = "Targets affected by Lightning Bolt will send out two additional shocks half a second later to other nearby targets for 100% attack. This can continue up to three times."
Affects = Ability 2
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Summon Comet
{
Description = "Meteor cast time reduced by 1 second. Meteor attack falls twice as quickly."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Solar Flare
{
Description = "Meteor cast time increased by 2 seconds. Meteor is twice as large and deals 1600% attack. Lingering fire rings last twice as long."
Affects = Ability 3
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
}
Unique Enchants
{
# Chance to roll
Percent Chance = 10%
Enchant Display Color = 255, 125, 51, 255
Magical Protection
{
Description = "Provides a defensive aura granting many boons."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Health %, 5, 10
Stat Modifier[1] = Defense %, 5, 10
Stat Modifier[2] = Move Spd %, 5, 10
Stat Modifier[3] = HP4 Recovery %, 2, 5
}
Aura of the Beast
{
Description = "Provides an offensive aura granting many boons."
# Stat, Lowest, Highest Value
Stat Modifier[0] = Attack %, 4, 8
Stat Modifier[1] = Crit Rate, 5, 10
Stat Modifier[2] = CDR, 5, 10
Stat Modifier[3] = Crit Dmg 15, 20
}
Lethal Tempo
{
Description = "Increases Attack Speed by 5% with each strike, up to 25%."
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Second Wind
{
Description = "Gain 1% HP Recovery/sec when below 20% health."
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Death Defiance
{
Description = "30% chance to avoid taking lethal damage."
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
Reaper of Souls
{
Description = "Recover 3 Health for each monster kill."
# Stat, Lowest, Highest Value
# Stat Modifier[0] = ..., 0, 0
}
}
}
Loading…
Cancel
Save