Reagents
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
Off of the top of my head...
Open dfndata/spells.dfn. For each spell there is a section, halfway down the section you see a group of entries looking something like this:
ASH=0
DRAKE=1
GARLIC=1
GINSING=1
MOSS=0
PEARL=0
SHADE=0
SILK=0
Change those all to 0, and it won't use any reags.
There may be a better/easier way to do this, but like I say, this is the only way I know off the top of my head.
Open dfndata/spells.dfn. For each spell there is a section, halfway down the section you see a group of entries looking something like this:
ASH=0
DRAKE=1
GARLIC=1
GINSING=1
MOSS=0
PEARL=0
SHADE=0
SILK=0
Change those all to 0, and it won't use any reags.
There may be a better/easier way to do this, but like I say, this is the only way I know off the top of my head.
Scott
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
Found an easier way to go about this.
Open uox.ini, scroll towards the bottom until you find
Change that to
This should start every newly created character with the priv of NOT needing reagents to cast a spell.
If this does not work, please let me know, so I can look into fixing it.
Open uox.ini, scroll towards the bottom until you find
Code: Select all
[startup]
{
STARTGOLD=1000
STARTPRIVS=0
}
Code: Select all
[startup]
{
STARTGOLD=1000
STARTPRIVS=0x8000
}
If this does not work, please let me know, so I can look into fixing it.
Scott
-
giwo
- Developer
- Posts: 1780
- Joined: Fri Jun 18, 2004 4:17 pm
- Location: California
- Has thanked: 0
- Been thanked: 0
Sorry for the very short reply.
Here is a comprehensive list of Character Privledges (all are able to be set with that option there, just note that affects ALL NEW CHARACTERS).
0x0001 = GM
0x0002 = Can Broadcast (Serverwide Messages)
0x0004 = Invulnerable
0x0008 = "Show name" Displays Object Serial
0x0010 = No skill title displayed
0x0020 = Can be GM Paged
0x0040 = Can Open Character packs.
0x0080 = Counselor
0x0100 = Can move "immovable" objects.
0x0200 = Frozen
0x0400 = Can view houses as an "icon".
0x0800 = Unused
0x1000 = Does not need mana to cast spells.
0x2000 = Can be dispelled.
0x4000 = Has permanent magic reflection.
0x8000 = Does not need reagents to cast spells.
These are all HEX (meaning always use the 0x before your number), and are set as addition, so say you wanted a character to be able to cast spells without reagents and mana, you would use 0x9000 (0x1000 + 0x8000).
Note that 0xFFFF would set ALL of these properties, but there are at least a few that could be... problematic (Making your character dispellable, for one, I can only imagine the backflips the code would do).
Here is a comprehensive list of Character Privledges (all are able to be set with that option there, just note that affects ALL NEW CHARACTERS).
0x0001 = GM
0x0002 = Can Broadcast (Serverwide Messages)
0x0004 = Invulnerable
0x0008 = "Show name" Displays Object Serial
0x0010 = No skill title displayed
0x0020 = Can be GM Paged
0x0040 = Can Open Character packs.
0x0080 = Counselor
0x0100 = Can move "immovable" objects.
0x0200 = Frozen
0x0400 = Can view houses as an "icon".
0x0800 = Unused
0x1000 = Does not need mana to cast spells.
0x2000 = Can be dispelled.
0x4000 = Has permanent magic reflection.
0x8000 = Does not need reagents to cast spells.
These are all HEX (meaning always use the 0x before your number), and are set as addition, so say you wanted a character to be able to cast spells without reagents and mana, you would use 0x9000 (0x1000 + 0x8000).
Note that 0xFFFF would set ALL of these properties, but there are at least a few that could be... problematic (Making your character dispellable, for one, I can only imagine the backflips the code would do).
Scott