Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

Cleric without his ability #101

Closed KroArtem closed 8 years ago

KroArtem commented 8 years ago

I've created two clerics, one cleric doesn't have his ability to heal, another one can do it. 2016-07-05 16-59-47

Andrettin commented 8 years ago

I can't reproduce the bug unfortunately :(

KroArtem commented 8 years ago

The next time I get such a problem, I'll attach a savegame.

Andrettin commented 8 years ago

Did your cleric perchance use a scroll of forgetfulness? I've found a bug with the "retrain" effect of the scroll that would cause this issue for priests, which I fixed here: https://github.com/Andrettin/Wyrmgus/commit/4e31ea9442bf67def420525c1c33c8dab663b1e1

KroArtem commented 8 years ago

Hmm, no, there were no scrolls there at all.

KroArtem commented 8 years ago

It happens when you load saved game. I have Witness with two abilities on the bottom of the map. After loading he doesn't have any abilities. autosave.sav.gz

Andrettin commented 8 years ago

Thank you! The issue has been corrected: https://github.com/Andrettin/Wyrmgus/commit/2e2a17ee179bb336a596610504d5dbc96aa108ad