Replace living statue and crystal soul graphics with versions that don't have a background

- Also included is details on how this was done, in case someone else can improve on it.
- Living statue attack graphic is derived from Exile III.
This commit is contained in:
2014-12-17 11:39:07 -05:00
parent 8bb96396a5
commit e864d9f7eb
11 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
aval=u[1]*255;
bval=u[2]*255;
i==21&&j==8 ? debug(aval) : 1;
i==21&&j==8 ? debug(bval) : 1;
dist=bval-aval;
i==21&&j==8 ? debug(dist) : 1;
op=u[0].p{i,j}.a;
i==21&&j==8 ? debug(op) : 1;
mdist=op==0 ? 0 : dist/op;
i==21&&j==8 ? debug(mdist) : 1;
mdist/255