Anonymous | Login | Signup for a new account | 18-04-24 19:59 CEST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
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 | |||||
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 | |||||
Tags | No tags attached. | |||||
Nightly Version | Not Available | |||||
Experimental Flags | None | |||||
Option Flags | None | |||||
Internal Build Number | ||||||
Attached Files | ||||||
Notes | |
(0001532) daskaras (reporter) 28-03-13 11:17 |
is this possible? |
(0001534) Mirravin (reporter) 28-03-13 13:16 |
What is the problem to use defs? [DEFNAME spell_defs_extra] spell_1_race def_elf ... |
(0001535) daskaras (reporter) 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 (reporter) 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? |
(0001537) Gil Amarth (reporter) 29-03-13 11:16 |
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. |
(0001538) daskaras (reporter) 29-03-13 12:40 |
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 (manager) 09-09-13 02:05 |
As noted above, use DEFs. |
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 | View Revisions |
29-03-13 11:16 | Gil Amarth | Note Added: 0001537 | |
29-03-13 12:38 | daskaras | Note Edited: 0001535 | View Revisions |
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 |
Copyright © 2000 - 2010 MantisBT Group |