revamp

Qlass Pack

Short Name: 
qlass-pack

Adds several new classes and races:
- Bladebender class: Psionic melee fighter that triple-wields daggers and has "meta" talents that can modify other talents.
- Harbinger class: Wilder melee fighter that channels storms through their attacks. More powerful against groups of foes than against single targets. Their class talents do not use resources.
- The Cooler Anorithil class: Revamp of the Anorithil class that must directly alternate between Solar and Lunar talents instead of managing positive/negative energy.
- Zephyr class: Basically a ranged and exclusively lightning-based version of Arcane Blade. Overpowered, not a serious class, and mostly exists to demonstrate instant projectiles.

- Dreamelf race: Overpowered race that can reposition enemies and shorten talent cooldowns.
- Lich race: Undead race that can convert a portion of all their damage into a damage type of their choice.

This addon also makes a couple other changes to make the Zephyr class work:
- Feather Wind is no longer snapshottable, provides less defense but provides both melee and ranged defense, and its maximum encumbrance is no longer spellpower-dependent.

Other than that, the addon tries not to affect existing classes/races/talents. The new classes won't appear on enemies or Adventurers.

You may freely modify and redistribute this addon and its contents, except where otherwise indicated in the Credits section below.

Weight: 134953

===== Credits =====
As in vanilla, all talent icons are from http://game-icons.net/ and licensed under CC-BY 3.0. Class icons are from https://opengameart.org/content/painterly-spell-icons-part-4 and https://opengameart.org/content/11-planet-sci-fi-set .

Sounds:
http://freesound.org/people/pingel/sounds/2689/ CC 0
http://freesound.org/people/artifact/sounds/29675/ CC BY 3.0
http://freesound.org/people/BOBtheROSS/sounds/244358/ CC BY 3.0
http://freesound.org/people/CGEffex/sounds/98335/ CC-BY 3.0
http://freesound.org/people/Ephemeral_Rift/sounds/77370/ CC BY-NC 3.0
http://freesound.org/people/jameswrowles/sounds/248219/ CC BY 3.0
http://freesound.org/people/Julien%20Matthey/sounds/105016/ CC 0
http://freesound.org/people/misosound/sounds/251759/ CC 0
http://freesound.org/people/nicStage/sounds/64460/ CC BY 3.0
http://freesound.org/people/benjaminharveydesign/sounds/315914/ CC 0
http://freesound.org/people/misosound/sounds/251759/ CC 0
http://freesound.org/people/werra/sounds/232130/ CC 0
http://freesound.org/people/bspiller5/sounds/157616/ CC 0
http://freesound.org/people/qubodup/sounds/219566/ CC-BY 3.0
http://freesound.org/people/gezortenplotz/sounds/20135/ CC-BY 3.0

===== Changelog =====
1.1.0:
- Updated for ToME version 1.7.2 (including translation support)
- Changed some talents to mitigate ToME's crit tracking bug ( http://forums.te4.org/viewtopic.php?f=42&t=51477 ). Talents with non-damaging effects that crit (e.g. Countershock, Solar Shield) now try to preserve previous crit state; other affected talents are detailed individually below.
- Redesigned all combatTalentLimit() calls, attempting to adapt to 1.7's change to combatTalentLimit() shape.
- Slight changes to various talent descriptions for consistency.
- Bladebender:
- Bug fix: Deja Vu no longer routinely fails to force its target and no longer infinitely repeats talents with coroutines
- Bug fix: Specialty can no longer be used on prodigies
- Bug fix: Specialty now calls on_mastery_change and updates talent passives correctly
- Bug fix: Eliminated an accidentally-left-in debugging line (printed "asdfasglasldgkj" when Project reactivated after leveling up)
- Air Parry now prints its message right before destroying a projectile instead of right after
- Cooler Anorithil:
- Bug fix: Selenelion now provides the correct amount of extra spell crit multiplier
- Bug fix: Ad Astra no longer refers to Jumpgate in its failure message (text-only bug)
- Crit tracking bug mitigation: Syzygy talent now uses instant bolts instead of projectiles, tries to preserve previous crit state, and uses its own crit state for its damage
- Crit tracking bug mitigation: Star Song beams now crit individually
- Crit tracking bug mitigation: Solar Flares explosions now crit individually
- Resistance's talent level scaling curve for its resistances adjusted (lower values at talent level 1, higher values at higher talent levels)
- Solar Shield duration reduced to 5 (from 10); the long duration was a holdover from when Bathe in Light could be obtained from escorts
- Solar Shield's description now includes damage shield power and duration bonuses
- Harbinger:
- Finally got rid of the Tremor category.
- Crit tracking bug mitigation: Flashover now tries to preserve previous crit state and uses its own crit state for its damage
- Fortress of Ruin now provides evasion instead of a variant of crit shrug.
- Resistance now provides slightly more resistance
- Resistance's resistance cap bonus now converges instead of scaling at ^0.5
- Fortitude now scales linearly (previously ^0.75) and generally gives slightly more saves
- Lich:
- Bug fix: The Lich talent now describes the effect of 1.7 critical shrug instead of 1.5 critical shrug.
- Ancient Knowledge now has a safeguard for talent categories that are known by the actor but don't actually exist (fixes compatibility with Arcanist class from Arcanum).
- Zephyr:
- Bug fix: Lightning Phase's damage can now crit
- Crit tracking bug mitigation: Hail of Destruction's spell crit now happens per-target for the lightning explosion, instead of before doing the archery attack

1.0.1:
- Removed some debugging print() calls
- Bug fix: Vortex now attributes its damage correctly (allows it to trigger "Talent on hit (mindpower)" directly)
- Bug fix: Ancient Knowledge no longer affects mastery of prodigies (coincidentally fixes Adept error)
- No longer modifies Tempest because its snapshotting is fixed in Bugfix Pack.

1.0.0:
- Initial release
- Changes to the classes and races:
- All content updated for ToME4 version 1.6.7
- Removed legacy talents/effects/etc. that were kept for save compatibility in the original addons, since this is a new addon (and 1.6 is not save compatible with 1.5 anyway)
- Some indentation cleanup
- Edited some descriptions
- Bladebender:
- Bug fix: The sound effect for Break Guard now accounts for the enemy shrugging off the disarm or stun
- Bug fix: Deja Vu recursion guard no longer sticks around slightly longer than intended when the Deja Vu sustain is deactivated
- Bug fix: Deja Vu now has a message when its chosen talent is lost, like the other Talent Perfection talents
- Bug fix: Specialty now updates the passive effects of non-passive talents
- Bug fix: Waiting Blades now only attacks hostile creatures as it claims
- Lesser Weapon Focus can now trigger from all attacks that did not originate from Lesser Weapon Focus, but has a lower trigger chance
- Reduced healing and psi gain from One With Blades by 1/3
- Healing and psi gain from One With Blades is no longer rounded
- Perforate now uses blood color
- Talent Perfection messages for talents being lost no longer begin with a space
- Dreamelf:
- Updated experience penalty to match the change to Shalore
- Updated healing infusion to be inscribed instead of in inventory, to match changes to other races
- Cooler Anorithil:
- Bug fix: Finally implemented Sear and Numb with callbackOnDealDamage, fixing them searing/numbing through damage shields. Also can I just say that death_note is a really bad variable name
- Bug fix: Solar Focus Target now actually removes itself if the source dies or otherwise disappears
- Bug fix: Solar Focus now deactivates immediately upon changing levels
- Bug fix: Solar Flares no longer fails to roll crit and shift alignment when it doesn't find any targets
- Renamed from "Anorithil" to "Cooler Anorithil" and is now separate from the vanilla class (no more monsters with it)
- Added class icon
- Added "SOLAR_", "LUNAR_", "LIMINAL_", to unprefixed talents' internal names to reduce the chance of addon conflicts.
- Talents with 3D sounds no longer lose volume with distance, and have had their panning adjusted
- Changed Cunning/Survival mastery from 1.1 to 1.0
- Replaced Duality's projectile deflection chance with a much lower chance to avoid damage
- Reduced the amount of critical chance from Selenelion
- Reduced the damage of Spontaneous Combustion
- Renamed the new version of Corona to Syzygy
- Renamed the new version of Jumpgate to Astral Gate
- Renamed the new version of Jumpgate: Teleport To to Ad Astra
- Renamed the new version of Moonlight Ray to Lunar Ray
- Renamed the new version of Searing Light to Solar Light
- Renamed the new version of Shadow Blast to Shadow Burst
- Renamed the new version of Starfall to Dark Star
- Renamed the new version of Totality to Occultation
- Renamed the new version of Twilight Surge to Twilight Pulse
- Increased minimum pitch of Lunar Ray sounds
- Increased minimum pitch of first Shadow Blast sound
- Increased minimum pitch of first Solar Light sound
- Increased volume of Occultation sound
- Harbinger:
- Bug fix: Particles for Channel Fire, Channel Cold, and Cyclone are no longer lost on save/load
- Bug fix: Cyclone particles now disappear if it is completely unlearned
- Added "HARBINGER_" to talents' internal names to reduce the chance of addon conflicts
- Capped all talent radii at 10
- Arc now attacks monsters in order of how many arc steps it took to reach them, with ties broken randomly
- Arc now has a safeguard against stack overflows when attacking extremely long chains of monsters (chains shorter than 127 monsters are unaffected, so it can still hit over 16,000 monsters)
- Reduced the effect of Chill
- Adjusted scaling of Countershock's cooldown with talent level, nerfing it at talent level 2+
- Reduced Cremate's heal by 70% but removed its once-per-turn restriction
- Cremate no longer plays a sound
- Increased Cyclone's damage by 50%
- Made Electrical Disruption's cooldown scaling less extreme at low talent levels
- Electrical Disruption now plays its sound at the user's location instead of the target's
- Reduced the number of effects removed by Electrical Disruption
- Halved Flashover damage.
- Reduced Flashover radius (matches new Storm Conduit radius)
- Foreshock's sound now has randomized speed
- Reduced the amount of evasion given by Megathrust
- Changed Mist's life regeneration to scale with talent level only (not mindpower), but increased its healing modifier bonus. This also fixes the snapshotting bug with the life regeneration
- Reduced the amount of physical power given by Mountain Mover (now that weapon masteries give less)
- Storm Conduit's radius now scales with talent level
- Storm Conduit's sound now has randomized speed
- Greatly reduced Storm Conduit damage, due to Cremate now being able to trigger it multiple times per turn
- Reduced the effect of Suppressing Fire, especially at low talent levels
- Vortex's sound now has randomized speed
- Reduced the number of effects removed and wards given by Torrent
- Lich:
- Due to 1.6 inscription changes making undead MUCH less bad, this race had to be nerfed a lot.
- Increased experience penalty from 0% to 20%
- Removed stun immunity (farewell consistency with NPC liches)
- Reduced life rating from 10 to 8
- Absorb Essence now recovers steam
- Ancient Knowledge's Infinite Dungeon hack revised to be monotonic (going from slightly below effective talent level 10 to slightly above it no longer makes the talent worse)
- Reduced the crit shrug chance on the Lich talent by about 28%
- Reduced the Cunning-based saves on the Lich talent by 1/3
- Zephyr:
- Bug fix: Recharge now uses callbackOnDealDamage, fixing e.g. 0 damage hits providing mana
- No longer starts in Angolwen because Abashed Expanse is obnoxious
- Self-targeting with Lightning Phase now gives Stormshield instead of Elemental Surge: Lightning (which was similar to Stormshield before 1.6), with a threshold of 0.01 and a small number of charges
- Greatly reduced the flat damage reduction from Static Shield
- Storm Infusion is now passive
- Reduced Sylph's damage avoidance chance
- No longer has Spell/Phantasm or modifies its talents; starts with Disperse Magic instead of Illuminate
- No longer alters Chain Lightning or Thunderstorm
- For consistency with vanilla, the Mobile Defense talent no longer applies to the Feather Wind defense bonus (only relevant in combination with other third-party addons)
- The Storm Fury artifact no longer grants Storm Archery mastery

(test)doom revamp

Short Name: 
doomrevamp

Revamped Skirmisher

Short Name: 
skirm_revamp

Revamps the Skirmisher class.

All talents have been re-coded to remove artificial break points in scaling. In most cases, bonuses which were gated by talent level in vanilla will scale in from the first talent point, reaching approximately the same power at the talent level they were previously gated behind.

Many attack talents' damage scaling has been adjusted to bring them more in line with other weapon attack talents. Max damage scaling values remain the same, but talents will scale up to to those values at a rate somewhat closer to other weapon attack talents.

Many attack talents' stamina costs have been reduced to bring them more in line with other weapon attack talents relative to their damage/utility.

Scoundrel is unlocked, master increased to 1.3.
Poisons mastery is increased to 1.3 (from 1.2).
Stealth is granted, locked at 1.0 mastery.

[Buckler Training]
'Buckler Expertise' grants Armor and Hardiness while wearing light armor (values taken from 1.6). The description has also been updated to reflect what it actually does (i.e. it now notes that melee attack deflection does not work in heavy armor).
'Bash and Smash' now scales in the second shield hit as a chance to occur (50-100%). Knockback distance now scales, instead of having an artifical (and hidden) break point.
Moved to level 8 talent.
'Buckler Mastery' no longer has scaling projectile spread radius (projectiles will always be deflected in a radius of 1). Buckler Mastery now grants immunity to damage from your own projectiles. The critical strike for Bash and Smash now scales in as increased crit chance (50-100%) for the shield hit(s).
Moved to level 12 talent.
'Counter Shot' has been replaced with a new level 4 talent:
'Dash and Crash', a talent which will rush toward a targeted foe up to X tiles away, attack with your shield for Y damage, and activate Block for free. If the shield strike hits, the target may be confused for Z turns. Cooldown decreases with level [~20-10 turns].

[Tireless Combatant]
'Tireless Combatant' talents have been changed to use Dexterity (instead of Willpower) as a requirement.
'Breathing Room' now adds stacks of the new 'Breathing Room' effect each turn their are no enemies adjacent to you. The effect increases life and stamina regen and can stack up to 4 times. You will lose one stack per turn if an enemy is adjacent to you.
'Pace Yourself' now grants flat damage armor instead of reduced fatigue.
'Dauntless Challenger' has been reworked. Rather than passively granting regeneration, you can activate the talent to consume all stacks of Breathing Room and gain the Dauntless Challenger effect for X turns. The effect grants 200% of the stamina regen and 400% of the life regen granted by Breathing Room, multiplied by the number of stacks consumed. You cannot gain stacks of Breathing Room while under this effect, but the regeneration from Dauntless Challenger will persist regardless of enemy location, etc.
'The Eternal Warrior' has improved resistance cap scaling, and now scales in the 'Breathing Room' regeneration bonus from 10%-20% (which also improves 'Dauntless Challenger' as a result).

[Skirmisher Slings]
'Sling Supremacy'now allows you to reload when you Block.
'Swift Shot' now resets Hurricane Shot cooldown completely. Additionally, a somewhat obscure but potentially exploitable bug from vanilla has been removed.
'Hurricane Shot' now always hits targets only once, but the damage scaling is doubled. Projectiles from this attack now travel instantly.
'Bombardment' has been completely reworked. It now costs 20 stamina to sustain, causes Shoot to cost 5 stamina, and increases fatigue by 50%. While active, all sling shots which hit will trigger an instant sling attack on the same target for [20-40]% weapon damage. This can trigger from any shot, from any talent, so long as a sling is equipped. This can affect multiple targets and trigger multiple times, but will strike each individual target twice per turn at most.

[Called Shots]
'Called Shots' attack talent projectiles now travel instantly.
'Kneecapper' has improved pin and slow duration scaling.
'Noggin Knocker' now scales up the stun/increase duration, from 1 (at TL 1) to 2 (at ~ TL 5 / TL 4 at 1.3 mastery).
'Sling Sniper' cooldown reduction now scales and it is possible to reach 3 turn reduction with increased mastery.

Syndicate content