patrickmohrmann / earthdawn4eV2

1 stars 0 forks source link

Trigger Patterncraft to learn spells #820

Open patrickmohrmann opened 1 month ago

patrickmohrmann commented 1 month ago

Description learning spells requires a successful patterncraft test. therefore on _preCreate event for spells and the ed4eDropItem function, it shall be checked, if the item is a spell, and if so, a roll prompt shall be opened - after confirming the validation prompt - for the talent with the ed-id patterncraft (add this ed-id) the Difficulty will be distinguished by the spell level to be added: DC = level +5

the validation prompt shall be enhanced for this, to provide the user with a choice of all this grimoire items he possesses, to decide in which grimoire he wants to copy the spell. This is independent of the learning itself. The spell will not only be added to the actor but to the chosen Grimoire as well

if the test is successful, the the spell will be added.

An additional check shall evaluate, if the spell is already available to the actor as learned if so a ui notification shall inform him about that.

Additional context Add any other context or screenshots about the feature request here.

patrickmohrmann commented 1 month ago

grimoire items have to be finished #728 before this can be started