Umbral Incantor Evolution for Shadowblade

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Umbral Incantor Evolution for Shadowblade

#1 Post by nsrr »

Adds a new evolution for Shadowblades, the Umbral Incantor. Get it on te4.org https://te4.org/games/addons/tome/evolu ... l_incantor or the Steam workshop.

As an Umbral Incantor, the Shadowblade will regenerate 1 mana per turn and gain several bonuses to their talents if they are equipped with a staff:

- Shadow Combat: the damage will also be triggered when you cast Channel Staff, and when triggered this way can be a spell critical
- Shadowstep: teleport back to starting location after the attack
- lluminate: will use Shadow Dance without cost or triggering cooldown
- Invisibility: will be cast instantly without cost when Stealth is deactivated (still triggers cooldown)
- Shadow Grasp: will pin for 3 turns instead of pulling
- Shadow Veil: rather than blink and attack, you will cast Shadow Grasp on targets selected (without cost and ignoring cooldown and failure chances)
- Lethality: staffs gain a Dexterity damage modifier equal to twice the crit bonus
- Expose Weakness: (if not on cooldown) will be used instantly when casting Shadowstep (before the return teleport), using stamina as usual and going on cooldown for twice the usual duration
- Blade Flurry: (while sustained) also gain spell cooldown reduction equal to the attack speed bonus and an equal chance on spell hit to cast Channel Staff
- Snap: also affect an equal number of spells ("spell/" category talents)

Requires: level 25, 50 magic, and Channel Staff known (pick up the spell/category from an escort/Angolwen)

Enjoy!
Last edited by nsrr on Sun Oct 22, 2023 2:29 pm, edited 1 time in total.

Mad Twit
Posts: 4
Joined: Mon Nov 13, 2017 12:38 pm

Re: Umbral Incantor Evolution for Shadowblade

#2 Post by Mad Twit »

Doesn't play nice with Restart Sustains. Attempting to unsustain blade flurry either through manualy doing so or running out of stamina causes a crash. Doing it by running out of stamina gets it stuck in a loop. That being said, its another addon so there was no reason they should work, its just that it would be nice if they could get along :D .


This was the error on attempting to unsustain

Code: Select all

ERROR:
Game version: tome-1.7.6
Addons: addon-dev-1.7.4[O], ashes-urhrok-1.7.4[O], items-vault-1.7.6[O], resustain-1.7.0[X], orcs-1.7.4[O], possessors-1.7.4[O], evolution-umbral_incantor-1.7.6[X], cults-1.7.4[O]

Game version (character creation): tome-1.7.6
Lua Error: /engine/interface/ActorTalents.lua:351: /engine/interface/ActorTalents.lua:324: /engine/interface/ActorTalents.lua:274: /data/talents/cunning/lethality.lua:113: attempt to index local 'p' (a nil value)
stack traceback:
	/data/talents/cunning/lethality.lua:113: in function </data/talents/cunning/lethality.lua:112>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:271: in function </engine/interface/ActorTalents.lua:210>
  At [C]:-1 
  At [C]:-1 error
  At /engine/interface/ActorTalents.lua:351 useTalent
  At /engine/interface/PlayerHotkeys.lua:179 
  At /engine/interface/PlayerHotkeys.lua:162 activateHotkey
  At /mod/class/Game.lua:2566 fct
  At /engine/interface/PlayerHotkeys.lua:326 
  At /engine/KeyBind.lua:231 
And this was the error on unlearning

Code: Select all

[LOG]	Player deactivates #{bold}##ORANGE#Blade Flurry#LAST#.#{normal}#
##Use Talent Lua Error##	T_BLADE_FLURRY	Actor:	3358	player
Lua Error: /engine/interface/ActorTalents.lua:351: /engine/interface/ActorTalents.lua:324: /engine/interface/ActorTalents.lua:274: /data/talents/cunning/lethality.lua:113: attempt to index local 'p' (a nil value)
stack traceback:
	/data/talents/cunning/lethality.lua:113: in function </data/talents/cunning/lethality.lua:112>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:271: in function </engine/interface/ActorTalents.lua:210>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:351 useTalent
	At /engine/interface/ActorTalents.lua:442 forceUseTalent
	At /mod/class/Actor.lua:6624 base_forceUseTalent
	At /mod/addons/resustain/superload/mod/class/Actor.lua:37 forceUseTalent
	At /mod/class/Actor.lua:5317 unlearnTalent
	At /mod/addons/orcs/superload/mod/class/Actor.lua:228 unlearnTalent
	At /mod/dialogs/LevelupDialog.lua:421 learnTalent
	At /mod/dialogs/LevelupDialog.lua:1067 onUseTalent
	At /mod/dialogs/LevelupDialog.lua:746 on_use
	At /mod/dialogs/elements/TalentTrees.lua:166 onUse
	At /mod/dialogs/elements/TalentTrees.lua:122 fct
	At /engine/Mouse.lua:71 receiveMouse
	At /engine/Mouse.lua:111 delegate
	At /engine/ui/Dialog.lua:817 mouseEvent
	At /engine/ui/Dialog.lua:510 fct
	At /engine/Mouse.lua:71 
Anyway while im here, cheers for the variety and utility you've added to the game with your addons over the years.

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Umbral Incantor Evolution for Shadowblade

#3 Post by nsrr »

Mad Twit wrote: Sat Oct 21, 2023 6:59 pm Doesn't play nice with Restart Sustains.
I can take a look at it. I'm not sure what might be causing p to be nil, that's odd. I can at least add a sanity check before it tries to index 'p', since I'm pretty sure that's from my changes. I can't garauntee it will work with Restart Sustains, but I'll see what I can do.
Mad Twit wrote: Sat Oct 21, 2023 6:59 pm Anyway while im here, cheers for the variety and utility you've added to the game with your addons over the years.
:D
Thanks for saying so!

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Umbral Incantor Evolution for Shadowblade

#4 Post by nsrr »

Ok, that bug had nothing to do with Restart Sustains, it was 100% my fault. When I modified Blade Flurry I unintentionally omitted a parameter (p) in the condition where it kicks back to the unmodified version if you're not an Umbral Incantor. So, it was working for them, but broken for anyone else :oops:

All fixed now. Thanks again for the report :D

Also, this is now available on Steam.



v1.0.1
---
[Blade Flurry]
Bug fix.
[Misc]
Typo fix "Invisivility" in prodigy description
Uploaded to Steam

Syovere
Cornac
Posts: 41
Joined: Mon Nov 09, 2020 1:30 am

Re: Umbral Incantor Evolution for Shadowblade

#5 Post by Syovere »

nsrr wrote: Sun Oct 22, 2023 2:28 pm Also, this is now available on Steam.
You're sure? I'm not seeing it anywhere but I don't know if that's Steam screwing up or what. Search didn't turn anything up either.

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: Umbral Incantor Evolution for Shadowblade

#6 Post by nsrr »

Syovere wrote: Sat Oct 28, 2023 1:03 am
nsrr wrote: Sun Oct 22, 2023 2:28 pm Also, this is now available on Steam.
You're sure? I'm not seeing it anywhere but I don't know if that's Steam screwing up or what. Search didn't turn anything up either.
That's odd, it shows in my workshop.

Does this link work?
https://steamcommunity.com/sharedfiles/ ... 3057862876

Syovere
Cornac
Posts: 41
Joined: Mon Nov 09, 2020 1:30 am

Re: Umbral Incantor Evolution for Shadowblade

#7 Post by Syovere »

Yeah, and it's showing up in Steam itself for me now. Must've been a temporary Steam hiccup; even a search wasn't pulling it up before.

Post Reply