forked from tmewett/BrogueCE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve and refactor auto-targeting (tmewett#664)
* Add functions and enum * Refactor targeting functions * Remove creatureIsTargetable * Add negationWillAffectMonster, fix rethrow, update autotarget logic
- Loading branch information
Showing
6 changed files
with
268 additions
and
150 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- When using a staff or wand, enemies that always reflect bolts (stone/winged guardian, non-negated mirror totem) will no longer be auto-targeted. | ||
- When hallucinating but not telepathic, auto-targeting behavior has changed in two ways. First, an initial target will no longer be selected when using a staff or wand whose kind isn't known. Second, the tab key will have no effect. The previous behavoir leaked information about which creatures are allies. | ||
- When using a staff or wand, the tab key will now cycle through additional targets (if any) only if an initial target was selected. | ||
- When using a known staff of tunneling, turrets and sentinels will now be auto-targeted. | ||
- If a wand or staff of unknown kind has been magic detected, auto-targeting will now target enemies or allies accordingly. | ||
- Monsters that are immune to fire are no longer auto-targeted when using a firebolt staff or throwing an incendiary dart or known potion of incineration. | ||
- Monsters that are immune to weapon damage are no longer auto-targeted when throwing a dart or javelin, or using a staff of conjuration. | ||
- When using a known wand of domination, monsters at full health will not longer be auto-targeted. | ||
- When using a known wand of negation, monsters that will not be affected will no longer be auto-targeted. | ||
- When using a known wand of beckoning, monsters that are adjacent to the player will no longer be auto-targeted. | ||
- When using a known staff of healing, non-reflective allies at full health will no longer be auto-targeted. | ||
- When throwing a known potion of confusion or caustic gas, unaffected enemies will no longer be auto-targeted. |
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.