Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the wraith monster #13342

Merged
merged 2 commits into from Aug 19, 2015

Conversation

Projects
None yet
4 participants
@BevapDin
Copy link
Contributor

commented Aug 18, 2015

(I found this via #13333, thanks to @VlasovVitaly for inquiring the "darkness" effect. One gets this effect via the mattack::darkman ("DARKMAN" in JSON), which is only used by the monster "mon_darkman", named "wraith" in game).

The monster "mon_darkman" was introduced by #4570, but the spawning of it was lost during the merge. (The last commit of the PR was on Nov 23, 2013, it was merged on Mar 2, 2014, which explains the merge problems.)

Seriously: check out dce396d, the last commit from that PR and search for "mon_darkman" and "darkness", then check out the merge commit 88fb9d3 and search again (see also that the merge commit does not touch src/mapgen.cpp and src/player.cpp at all).

And nobody noticed. It's been nearly 1.5 years. The whole monattack::darkman function and probably the death function as well were not used at all. Did I mention 1.5 years? The "darkness" effect is not used at all. There are several tileset commits that mention it. @John-Candlebury, didn't you miss your own creation for all the time?

Oh, and the effects of the "darkness" effect are not really applied. The effect only changes the color of all things around the character to gray (see map::draw_maptile, the only real reference to it). It's referenced in other parts, but for no effect: monattack.cpp: added from a never spawning monster (since 1.5 years!), mondeath.cpp: removed when the never spawning monster dies (there's an interesting philosophical dilemma in there, somewhere), player.cpp: removed when in sunlight (but where to get it from, 1.5 years).

I re-added the spawning and the effects of the effects.

I'm still not over the 1.5 years and I'll never will (-:

@VlasovVitaly

This comment has been minimized.

Copy link
Contributor

commented Aug 18, 2015

C-C-C-C-ombo breaker.

2015-08-18 17:21 GMT+03:00 BevapDin notifications@github.com:

(I found this via #13333
#13333, thanks to
@VlasovVitaly https://github.com/VlasovVitaly for inquiring the
"darkness" effect. One gets this effect via the mattack::darkman
("DARKMAN" in JSON), which is only used by the monster "mon_darkman", named
"wraith" in game).

The monster "mon_darkman" was introduced by #4570
#4570, but the
spawning of it was lost during the merge. (The last commit of the PR was on
Nov 23, 2013, it was merged on Mar 2, 2014, which explains the merge
problems.)

Seriously: check out dce396d
dce396d,
the last commit from that PR and search for "mon_darkman" and "darkness",
then check out the merge commit 88fb9d3
88fb9d3
and search again (see also that the merge commit does not touch
src/mapgen.cpp and src/player.cpp at all).

And nobody noticed. It's been nearly 1.5 years. The whole
monattack::darkman function and probably the death function as well were
not used at all. Did I mention 1.5 years? The "darkness" effect is not used
at all. There are several tileset commits that mention it.
@John-Candlebury https://github.com/John-Candlebury, didn't you miss
your own creation for all the time?

Oh, and the effects of the "darkness" effect are not really applied. The
effect only changes the color of all things around the character to gray
(see map::draw_maptile, the only real reference to it). It's referenced
in other parts, but for no effect: monattack.cpp: added from a never
spawning monster (since 1.5 years!), mondeath.cpp: removed when the never
spawning monster dies (there's an interesting philosophical dilemma in
there, somewhere), player.cpp: removed when in sunlight (but where to get
it from, 1.5 years).

I re-added the spawning and the effects of the effects.

I'm still not over the 1.5 years and I'll never will (-:

You can view, comment on, or merge this pull request online at:

#13342
Commit Summary

  • Re-add the wraith monster to strange cabins.
  • Re-add sight-impairment from "darkness" effect,

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#13342.

@VlasovVitaly

This comment has been minimized.

Copy link
Contributor

commented Aug 18, 2015

Gj btw =)

@chaosvolt

This comment has been minimized.

Copy link
Contributor

commented Aug 18, 2015

Oh wow, that's one of those "how did no one notice this" sorta things. What faction are they supposed to be anyway, cultist I'm guessing?

@Rivet-the-Zombie

This comment has been minimized.

Copy link
Member

commented Aug 18, 2015

I barely recall this critter, and I was never aware that the wraith actually got added - well, sorta added, anyway.

Nice work, @BevapDin!

@chaosvolt

This comment has been minimized.

Copy link
Contributor

commented Aug 18, 2015

I had always assumed it was an obscure spawn, when I noticed it was unsprited in Mshock's set while working on the modded version. So at least it'll have some graphical support for when it makes its year-and-a-half belated debut. X3

@Rivet-the-Zombie Rivet-the-Zombie self-assigned this Aug 19, 2015

Rivet-the-Zombie added a commit that referenced this pull request Aug 19, 2015

Merge pull request #13342 from BevapDin/fod
Enable the wraith monster

@Rivet-the-Zombie Rivet-the-Zombie merged commit ada5f3f into CleverRaven:master Aug 19, 2015

1 check passed

default This has been rescheduled for testing as the 'master' branch has been updated.

@BevapDin BevapDin deleted the BevapDin:fod branch Aug 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.