Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overhaul unique detection and filitering #84

Merged
merged 2 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ The config folder contains:
| [general] | Description |
| ----------------------- | --------------------------------------|
| profiles | A set of profiles seperated by comma. d4lf will look for these yaml files in config/profiles and in C:/Users/WINDOWS_USER/.d4lf/profiles. |
| whitelist_uniques | If True: Uniques will only be kept if they are found in the yaml profiles and match the requierments. If False: Uniques will be kept if they are found in the yaml and match the requierments or if they are not found at all in the profiles (default) |
| run_vision_mode_on_startup | If the vision mode should automatically start when starting d4lf. Otherwise has to be started manually with the vision button or the hotkey. |
| check_chest_tabs | How many chest tabs will be checked and fitlered for items in case chest is open when starting the filter. E.g. 2 will check first two chest tabs |
| hidden_transparency | The overlay will go more transparent after not hovering it for a while. This can be any value between [0, 1] with 0 being completely invisible and 1 completely visible. Note the default "visible" transparancy is 0.89 |
Expand Down
79 changes: 79 additions & 0 deletions assets/aspects_unique.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"banished_lords_talisman": "after you spend of your primary resource, your next core skill is guaranteed to overpower. your critical strikes that overpower deal increased damage.",
"fists_of_fate": "your attacks randomly deal to of their normal damage.",
"flickerstep": "each enemy you evade through reduces your active ultimate cooldown by seconds, up to seconds.",
"frostburn": "lucky hit up to an chance to freeze enemies for seconds.",
"godslayer_crown": "when you stun, freeze, or immobilize an elite enemy, or damage a boss, it pulls in nearby enemies. you deal increased damage to them for seconds. this effect can only occur once every seconds.",
"mothers_embrace": "if a core skill hits or more enemies, of the resource cost is refunded.",
"penitent_greaves": "you leave behind a trail of frost that chills enemies. you deal more damage to chilled enemies.",
"razorplate": "gain thorns.",
"soulbrand": "your healing potion no longer heals instantly, instead it grants a barrier for of the healing for seconds. while you have a barrier, you gain damage reduction.",
"tassets_of_the_dawning_sky": "when you take damage from a nonphysical damage type, you gain maximum resistance to that damage type for seconds. this effect can only apply to one damage type at a time.",
"temerity": "effects that heal you beyond life grant you a barrier up to of your maximum life that lasts for seconds.",
"the_butchers_cleaver": "lucky hit when you critically strike an enemy you have up to a chance to fear and slow them by for seconds.",
"tibaults_will": "you deal increased damage while unstoppable and for seconds after. when you become unstoppable, gain of your primary resource.",
"xfals_corroded_signet": "lucky hit your damage over time effects have up to a chance to erupt, dealing damage of the same type to nearby enemies.",
"ahavarion_spear_of_lycander": "gain a random shrine effect for seconds after killing an elite enemy. can only occur once every seconds.",
"andariels_visage": "up to an chance to trigger a poison nova that applies poisoning damage over seconds to enemies in the area.",
"doombringer": "lucky hit up to an chance to deal shadow damage to surrounding enemies and reduce their damage done by for seconds.",
"harlequin_crest": "gain damage reduction. in addition, gain ranks to all skills.",
"melted_heart_of_selig": "gain maximum resource. in addition, when you take damage, drain resource for every of life you would have lost instead.",
"ring_of_starless_skies": "each consecutive core skill cast reduces the resource cost of your next core skill by, up to a maximum of.",
"the_grandfather": "increases your critical strike damage by.",
"100000_steps": "after gaining the final damage bonus from the walking arsenal key passive, you automatically cast ground stomp and gain fury. this cannot happen more than once every seconds.",
"ancients_oath": "steel grasp launches additional chains. enemies that have been pulled by steel grasp take xx bonus damage from you for seconds.",
"azurewrath": "lucky hit your core skills have up to a chance to freeze enemies for seconds and deal cold damage to them.",
"battle_trance": "increase frenzys maximum stacks by. while you have maximum frenzy, your other skills gain increased attack speed.",
"fields_of_crimson": "while using this weapon, damaging at least one enemy with rupture creates a blood pool that inflicts bleeding damage over seconds. enemies standing in the pool take increased bleeding damage.",
"gohrs_devastating_grips": "whirlwind explodes after it ends, dealing of the total base damage dealt to surrounding enemies as fire damage.",
"hellhammer": "upheaval ignites the ground, burning enemies for an additional damage over seconds.",
"overkill": "death blow creates a shockwave, dealing of its base damage to enemies. enemies who die to this effect also reset death blows cooldown.",
"rage_of_harrogath": "lucky hit up to a nx chance to reduce the cooldowns of your nonultimate skills by seconds when you inflict bleeding on elites.",
"ramaladnis_magnum_opus": "skills using this weapon deal increased damage per point of fury you have, but you lose fury every second.",
"ring_of_red_furor": "after spending fury within seconds, your next cast of hammer of the ancients, upheaval, or death blow is a guaranteed critical strike and deals (multiplicative damage) bonus critical strike damage",
"tuskhelm_of_joritz_the_mighty": "when you gain berserking while already berserk, you have a chance to become more enraged granting (multiplicative damage) increased damage, fury per second, and a cooldown reduction",
"airidahs_inexorable_will": "when casting an ultimate skill and again seconds after, pull in distant enemies and deal physical damage to them. this damage is increased by per point of willpower you have.",
"dolmen_stone": "casting boulder while hurricane is active will cause your boulders to rotate around you.",
"fleshrender": "debilitating roar and blood howl deal damage to nearby poisoned enemies. deals increased damage based on how much willpower you have",
"greatstaff_of_the_crone": "claw is now a storm skill and also casts storm strike at normal damage.",
"hunters_zenith": "gain a bonus when you kill with a shapeshifting skill. werewolf your next nonultimate werebear skill costs no resource and has no cooldown. werebear your next werewolf skill will heal you for when damage is first dealt.",
"insatiable_fury": "werebear form is now your true form, and you gain ranks to all werebear skills.",
"mad_wolfs_glee": "werewolf form is now your true form, and you gain ranks to all werewolf skills.",
"storms_companion": "your wolf companions are infused with the power of the storm, dealing lightning damage and gaining the storm howl ability.",
"tempest_roar": "lucky hit storm skills have up to a chance to grant spirit.",
"vasilys_prayer": "your earth skills are now also werebear skills and fortify you for.",
"waxing_gibbous": "gain stealth for seconds when killing enemies with shred. breaking stealth with an attack grants ambush, which guarantees critical strikes for seconds.",
"black_river": "corpse explosion consumes up to additional corpses around the initial corpse, dealing increased damage and with a larger radius per additional corpse.",
"blood_artisans_cuirass": "when you pick up blood orbs, a free bone spirit is spawned, dealing bonus damage based on your current life percent.",
"blood_moon_breeches": "your minions have a chance to curse enemies. enemies affected by at least of your curses take (multiplicative damage) increased overpower damage from you.",
"bloodless_scream": "your darkness skills chill enemies for up to. lucky hit your darkness skills have up to a chance to generate additional essence against frozen targets. darkness skills deal xx bonus damage to frozen enemies",
"deathless_visage": "bone spear leaves behind echoes as it travels that explode, dealing damage. echoes deal increased damage based on your critical strike bonus damage stat",
"deathspeakers_pendant": "blood surge casts a mini nova on your minions, dealing damage. damage is increased by per target drained by the initial cast, up to.",
"greaves_of_the_empty_tomb": "create desecrated ground beneath your sever spectrers as they travel, damaging enemies for shadow damage over seconds.",
"howl_from_below": "instead of detonating immediately, corpse explosion summons a volatile skeleton that charges at a random enemy and explodes. corpse explosions damage is increased by.",
"lidless_wall": "lucky hit while you have an active bone storm, hitting an enemy outside of a bone storm has up to a chance to spawn an additional bone storm at their location. each of your active sacrifice bonuses increases the chance by and the total number of additional bone storms you can have by",
"ring_of_mendeln": "lucky hit up to a chance to empower all of your minions, causing the next attack from each to explode for physical damage.",
"ring_of_sacrilegious_soul": "automatically activate the following equipped skills on corpses around you raise skeleton every seconds, corpse explosion every seconds, corpse tendrils every seconds.",
"ashearas_khanjar": "hits with this weapon increase your attack speed by for seconds, up to.",
"condemnation": "your core skills deal increased damage when spending combo points. your basic skills using this weapon have a chance to generate combo points.",
"cowl_of_the_nameless": "you gain increased lucky hit chance against crowd controlled enemies.",
"eaglehorn": "penetrating shot has a chance to fire an arrow that bounces off walls and scenery. damaging enemies with penetrating shot will cause your next cast to make enemies hit vulnerable for seconds",
"eyes_in_the_dark": "unless it hits a boss or players, death trap will continue to rearm itself until it kills an enemy. death trap deals bonus damage and this unique increases all damage to enemies affected by trap skill by. however, death traps cooldown is increased by.",
"grasp_of_shadow": "lucky hit damaging a vulnerable enemy with a marksman or cutthroat skill has up to an chance to summon a shadow clone that mimics your attack.",
"scoundrels_leathers": "while you have unlimited energy from inner sight, your core skills have a chance to spawn caltrops, poison trap, or death trap.",
"skyhunter": "the first direct damage you deal to an enemy is a guaranteed critical strike. if you had maximum stacks of the precision key passive when you cast a core skill, then that skill gains bonus critical strike damage and you gain energy.",
"windforce": "lucky hit hits with this weapon have up to a chance to deal double damage and knock back the target.",
"word_of_hakan": "your rain of arrows is always imbued with all imbuements at once.",
"writhing_band_of_trickery": "casting a subterfuge skill leaves behind a decoy trap that continuously taunts and lures enemies. the decoy trap explodes after seconds dealing shadow damage. can occur every seconds.",
"blue_rose": "lucky hit damaging an enemy has up to a chance of forming an exploding ice spike, dealing cold damage. triple this chance if the enemy is frozen.",
"esadoras_overflowing_cameo": "upon collecting crackling energy, theres a chance to release a lightning nova, dealing lightning damage. lightning nova deals additional damage based on your intelligence stat.",
"esus_heirloom": "your critical strike chance is increased by of your movement speed bonus.",
"flamescar": "while channeling incinerate, you periodically shoot embers that are attracted to enemies, each dealing fire damage.",
"gloves_of_the_illuminator": "fireball now bounces as it travels, exploding each time it hits the ground, but its explosion deals less damage.",
"iceheart_brais": "enemies that die while frozen have an chance to unleash a frost nova.",
"rainment_of_the_infinite": "after using teleport, close enemies are pulled to you and stunned for seconds, but teleports cooldown is increased by.",
"staff_of_endless_rage": "every rd cast of fireball launches additional projectiles and deals bonus damage.",
"staff_of_lam_esen": "your cast of charged bolts have a chance to be attracted to enemies and last longer",
"tal_rashas_iridescent_loop": "for each type of elemental damage you deal, gain increased damage for seconds. dealing elemental damage refreshes all bonuses.",
"the_oculus": "gain the effect of the teleport enchantment for free. when you evade using teleport enchantment, you are taken to a random location."
}
8 changes: 1 addition & 7 deletions config/params.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
[general]
; Which filter profiles should be run. All .yaml files with "Aspects" and "Affixes" sections will be used from
; config/profiles/*.yaml and C:/Users/USERNAME/.d4lf/profiles/*.yaml
profiles=general,barb,druid,necro,rogue,sorc,uniq_general,uniq_barb,uniq_druid,uniq_rogue,uniq_necro,uniq_sorc
; Unique filters can have either whitelist or blacklist behaviour
; If whitelist is True: Uniques will only be kept if a match was found to some yaml config and it passes the threshold.
; NOTE: If any affix on the yaml config is wrong or you forgot to add that unique to the .yaml, it will be discarded
; If whitelist is False: All uniques will be kept unless a match was found to a yaml config. If match was found but
; the requierments are not ok, it will be discarded
whitelist_uniques=False
profiles=general,barb,druid,necro,rogue,sorc,uniques
; weather to run vision mode on startup or not
run_vision_mode_on_startup=True
; How many tabs should be checked for items in chest. Note: All 5 Tabs must be unlocked!
Expand Down
110 changes: 0 additions & 110 deletions config/profiles/uniq_barb.yaml

This file was deleted.

95 changes: 0 additions & 95 deletions config/profiles/uniq_druid.yaml

This file was deleted.

Loading
Loading