View Single Post
Old February 21, 2017, 14:33   #2
phylyc
Rookie
 
Join Date: Feb 2017
Posts: 6
phylyc is on a distinguished road
There is no item with tval 50. The tval of edged weapons is 23 and the sval of a Longsword is 17. So, you want to change the artifact to

N:85:'Elf's bane'
I:23:17:0
W:2:1:1:50000
P:1:2d5:1:0d0
F:BRAND_ELEC | SHARPNESS
D:wrought in Utumno
D: the blade is searing hot like the Black hand of
D: It's wielder Sauron

Also make sure that you insert it after N:84 (that is Delmereth) in the artefact.txt file as all the ID's have to be ordered. That is all you have to do.

To test it you can also go into debug mode (>ctrl+a) (pw Gondolin) and create the artifact with (>ctrl+a >shift+c) and then enter the ID, which is 85 for your longsword. In my version this doesn't work though since Sil isn't taking the ID input (could be a mac problem), so I had to fix it by adding a query for additional player input at that place and recompile it. Otherwise, just go and slay monsters until it drops.

Hope this helps.
phylyc is offline   Reply With Quote