SphereServer BugTracker - SphereServer |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002072 | SphereServer | new feature request | public | 27-04-12 13:46 | 09-09-13 02:05 |
|
Reporter | daskaras | |
Assigned To | Ben | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | |
Platform | | OS | | OS Version | |
Product Version | 20-09-2009, 0.56b Prerelease | |
Target Version | | Fixed in Version | | |
Nightly Version | Not Available |
Experimental Flags | None |
Option Flags | None |
Internal Build Number | |
|
Summary | 0002072: Using tags in the spell section |
Description | it would be nice, if we can set own tags in our spells definitions, like
[Spell 1]
DEFNAME=s_Clumsy
NAME=Clumsy
tag.race=def_elf
SOUND=snd_SPELL_CLUMSY
ON=START
IF (<serv.spell.<argn1>.tag.race>&def_elf)
RETURN 0
ELSE
smsg You are not an Elven
RETURN 1
ENDIF |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
27-04-12 13:46 | daskaras | New Issue | |
28-03-13 11:17 | daskaras | Note Added: 0001532 | |
28-03-13 13:16 | Mirravin | Note Added: 0001534 | |
28-03-13 14:41 | daskaras | Note Added: 0001535 | |
28-03-13 18:01 | Mirravin | Note Added: 0001536 | |
28-03-13 18:02 | Mirravin | Note Edited: 0001536 | bug_revision_view_page.php?bugnote_id=0001536#r488 |
29-03-13 11:16 | Gil Amarth | Note Added: 0001537 | |
29-03-13 12:38 | daskaras | Note Edited: 0001535 | bug_revision_view_page.php?bugnote_id=0001535#r490 |
29-03-13 12:40 | daskaras | Note Added: 0001538 | |
09-09-13 02:05 | Ben | Note Added: 0001669 | |
09-09-13 02:05 | Ben | Status | new => resolved |
09-09-13 02:05 | Ben | Resolution | open => no change required |
09-09-13 02:05 | Ben | Assigned To | => Ben |
Notes |
|
|
|
|
|
What is the problem to use defs?
[DEFNAME spell_defs_extra]
spell_1_race def_elf
... |
|
|
(0001535)
|
daskaras
|
28-03-13 14:41
(edited on: 29-03-13 12:38) |
|
the problem is, that you can not use tags in spell section.
please read my question rightfully.
|
|
|
(0001536)
|
Mirravin
|
28-03-13 18:01
(edited on: 28-03-13 18:02) |
|
Why you need tags, if you can get the same result with defs or vars, if you need dinamic variables?
|
|
|
|
I use tags in his scroll items, and reference them through SCROLL_ITEM in the spell definitions.
It would be better if you could put TAGs in the spell definition, but putting TAGs in his scrolls is also a option. |
|
|
|
it´s better and easier to use tags in spells with one line than using a code line like
@start
IF !(<tag0.race>&def_elf)
RETURN 1
ENDIF
you can also use then
tag0.race=def_elf,def_shaman |
|
|
(0001669)
|
Ben
|
09-09-13 02:05
|
|
As noted above, use DEFs. |
|