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
Ambusher shadow #32857
Closed
John-Candlebury
wants to merge
15
commits into
CleverRaven:master
from
John-Candlebury:teleport-shadow
Closed
Ambusher shadow #32857
Changes from 7 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
aac02f8
teleport monster
John-Candlebury 5d09474
Revive some real ancient work
John-Candlebury a508c3a
Make the ancient code work.
John-Candlebury 805b78f
Add new monster, split shadows from monster file
John-Candlebury 389a3e5
Merge remote-tracking branch 'upstream/master' into teleport-shadow
John-Candlebury 6e8cf1d
Style additions
John-Candlebury ce39bd4
Add harvest entry
John-Candlebury 74c37b8
Update src/monattack.cpp
John-Candlebury e57dd1a
Update src/monattack.cpp
John-Candlebury 038239e
Update src/creature.cpp
John-Candlebury 8c0d58c
Update src/monattack.cpp
John-Candlebury 81e727c
Change colors to dark_gray
John-Candlebury aff4a3f
Update src/monattack.cpp
John-Candlebury a7e2c33
Update src/monattack.cpp
John-Candlebury a644215
Update src/monattack.cpp
John-Candlebury File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
[ | ||
{ | ||
"id": "mon_darkman", | ||
"type": "MONSTER", | ||
"name": "wraith", | ||
"description": "A gigantic shadow, chaotically changing in shape and volume. Two piercing orbs of light dominate what can only be described as its head.", | ||
"default_faction": "nether", | ||
"species": [ "NETHER" ], | ||
"diff": 2, | ||
"volume": "875000 ml", | ||
"weight": 200000, | ||
"hp": 800, | ||
"speed": 140, | ||
"symbol": "S", | ||
"color": "dark_gray", | ||
"aggression": 2, | ||
"morale": 500, | ||
"melee_skill": 6, | ||
"melee_dice": 3, | ||
"melee_dice_sides": 8, | ||
"melee_cut": 3, | ||
"dodge": 3, | ||
"armor_bash": 12, | ||
"armor_cut": 8, | ||
"vision_day": 50, | ||
"luminance": 6, | ||
"harvest": "exempt", | ||
"special_attacks": [ [ "DARKMAN", 5 ], [ "scratch", 15 ] ], | ||
"death_function": [ "DARKMAN" ], | ||
"flags": [ | ||
"NOHEAD", | ||
"HARDTOSHOOT", | ||
"WEBWALK", | ||
"FLIES", | ||
"PLASTIC", | ||
"ELECTRIC", | ||
"ACIDPROOF", | ||
"SUNDEATH", | ||
"REGENERATES_IN_DARK", | ||
"NO_BREATHE" | ||
] | ||
}, | ||
{ | ||
"id": "mon_shadow", | ||
"type": "MONSTER", | ||
"name": "shadow", | ||
"description": "This is an animate shadow. Looking like nothing more than an errant patch of normal shadow, it draws your attention by the way it moves subtly and whispers softly in the back of your mind. Strange intrusive thoughts accompany the quiet murmur, awakening your most horrific memories and fears.", | ||
"default_faction": "nether", | ||
"species": [ "NETHER" ], | ||
"diff": 2, | ||
"volume": "750 ml", | ||
"weight": 1000, | ||
"hp": 60, | ||
"speed": 90, | ||
"symbol": "A", | ||
"color": "dark_gray", | ||
"aggression": 100, | ||
"morale": 100, | ||
"melee_skill": 6, | ||
"melee_dice": 1, | ||
"melee_dice_sides": 2, | ||
"melee_cut": 0, | ||
"dodge": 4, | ||
"vision_day": 50, | ||
"harvest": "exempt", | ||
"special_attacks": [ [ "DISAPPEAR", 200 ] ], | ||
"special_when_hit": [ "ZAPBACK", 100 ], | ||
"death_function": [ "MELT" ], | ||
"flags": [ | ||
"SEES", | ||
"HEARS", | ||
"GOODHEARING", | ||
"SMELLS", | ||
"NOHEAD", | ||
"HARDTOSHOOT", | ||
"GRABS", | ||
"WEBWALK", | ||
"FLIES", | ||
"PLASTIC", | ||
"SUNDEATH", | ||
"ELECTRIC", | ||
"ACIDPROOF", | ||
"HIT_AND_RUN", | ||
"NO_BREATHE", | ||
"NOGIB" | ||
] | ||
}, | ||
{ | ||
"id": "mon_shadow_hunter", | ||
"type": "MONSTER", | ||
"name": "adumbration", | ||
"description": "A fragment of ambient shadow, hiding among the recesses of your vision. It chaotically shifts in and out of reality, as if the universe itself objected it's existence.", | ||
"default_faction": "nether", | ||
"species": [ "NETHER" ], | ||
"diff": 20, | ||
"size": "SMALL", | ||
"hp": 60, | ||
"speed": 90, | ||
"symbol": "A", | ||
"color": "dkgray", | ||
"aggression": 100, | ||
"morale": 100, | ||
"melee_skill": 6, | ||
"melee_dice": 1, | ||
"melee_dice_sides": 12, | ||
"melee_cut": 0, | ||
"dodge": 4, | ||
"vision_day": 50, | ||
"harvest": "exempt", | ||
"special_attacks": [ [ "SHADOW_HUNTER", 1 ] ], | ||
"special_when_hit": [ "ZAPBACK", 100 ], | ||
"death_function": [ "MELT" ], | ||
"flags": [ | ||
"SEES", | ||
"HEARS", | ||
"GOODHEARING", | ||
"SMELLS", | ||
"NOHEAD", | ||
"HARDTOSHOOT", | ||
"GRABS", | ||
"WEBWALK", | ||
"FLIES", | ||
"PLASTIC", | ||
"SUNDEATH", | ||
"ELECTRIC", | ||
"ACIDPROOF", | ||
"NO_BREATHE", | ||
"NOGIB" | ||
] | ||
}, | ||
{ | ||
"id": "mon_shadow_hunter_h", | ||
"type": "MONSTER", | ||
"name": "invisible adumbration", | ||
"description": "DO THE IMPOSSIBLE! \nSEE THE INVISIBLE! \n \n Seeing monster is not intended.", | ||
"default_faction": "nether", | ||
"species": [ "NETHER" ], | ||
"diff": 20, | ||
"size": "SMALL", | ||
"hp": 60, | ||
"speed": 90, | ||
"symbol": "A", | ||
"color": "dkgray", | ||
"aggression": 100, | ||
"morale": 100, | ||
"melee_skill": 6, | ||
"melee_dice": 1, | ||
"melee_dice_sides": 1, | ||
"melee_cut": 0, | ||
"dodge": 1, | ||
"vision_day": 10, | ||
"vision_night": 40, | ||
"harvest": "exempt", | ||
"path_settings": { "max_dist": 6 }, | ||
"special_attacks": [ [ "SHADOW_HUNTER_H", 1 ] ], | ||
"special_when_hit": [ "ZAPBACK", 100 ], | ||
"death_function": [ "MELT" ], | ||
"flags": [ | ||
"SEES", | ||
"INVISIBLE", | ||
"NOHEAD", | ||
"HARDTOSHOOT", | ||
"WEBWALK", | ||
"FLIES", | ||
"PLASTIC", | ||
"SUNDEATH", | ||
"ELECTRIC", | ||
"ACIDPROOF", | ||
"NO_BREATHE", | ||
"NOGIB" | ||
] | ||
}, | ||
{ | ||
"id": "mon_shadow_snake", | ||
"type": "MONSTER", | ||
"name": "shadow snake", | ||
"description": "This is an animate shadow in the form of a long and sinuous snake. Translucent and dark, it glides silently across the floor, wriggling and flexing as it moves.", | ||
"default_faction": "nether", | ||
"bodytype": "snake", | ||
"species": [ "NETHER" ], | ||
"volume": "30000 ml", | ||
"weight": 40750, | ||
"hp": 40, | ||
"speed": 90, | ||
"material": [ "flesh" ], | ||
"symbol": "s", | ||
"color": "dark_gray", | ||
"aggression": 100, | ||
"morale": 100, | ||
"melee_skill": 6, | ||
"melee_dice": 1, | ||
"melee_dice_sides": 4, | ||
"melee_cut": 4, | ||
"dodge": 1, | ||
"harvest": "exempt", | ||
"special_attacks": [ [ "DISAPPEAR", 200 ] ], | ||
"death_function": [ "MELT" ], | ||
"flags": [ "SEES", "SMELLS", "WARM", "SWIMS", "PLASTIC", "SUNDEATH", "NOGIB" ] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Player still has a chance to get this effect, and
Differs from the above
part would be totally unclear to him. I suggest rewriting this part to avoid any possible confusion.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only monsters can have this effect, since its applied only by monster::apply_damage.