sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 10190] gaze where -path support
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support
- Date: 11 Dec 2005 19:02:19 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=10190
------- Additional Comments From acedit AT armory.com 2005-12-11 13:02 -------
sorry, what i meant was to use codex_find_spell_by_name or
codex_get_spell_section_name.
if [[ $SHOW_PATH == 0 ]]; then
SECTION="$(codex_find_spell_by_name $spell)" # full path to the spell
else
SECTION=$(codex_get_spell_section_name $spell) # section of the spell
fi
What you have is it finds the spell's section, then it finds a grimoire with
that section (with codex_find_section_by_name). That grimoire/section might
not
actually have the spell in it. I can add dummy sections to my local grimoire
very easily.
codex routines can be expensive, its best to try and minimize their use and
not
mutate their results. They use optimized paths internally, mutating the
results
sometimes requires making assumptions which may change.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
-
[SM-Sorcery-Bugs] [Bug 10190] gaze where -path support,
bugzilla-daemon, 12/11/2005
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/11/2005
- [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support, bugzilla-daemon, 12/17/2005
Archive powered by MHonArc 2.6.24.