formulae

Technical and coding related questions.

Moderator: Board moderators

Post Reply
karl

formulae

Post by karl »

After first impressions using woodsman, alchemy and smithery
I thought I should try to add some basic formulas :

Code: Select all

Object Confusion
arch t_dagger
chance 5
diff 6
exp 8500
trans 1
yield 1
skill smithery
cauldron forge
ingred throwing dagger,madman's tongue,pile of salt,bottle of mineral oil
failure_message Did it again ..
failure_arch spit_acid

Object Confusion
arch dagger,b_dagger
chance 5
diff 7
exp 8800
trans 1
yield 1
skill smithery
cauldron forge
ingred dagger,madman's eye,pile of salt,bottle of mineral oil
failure_message Crazy chickens !
failure_arch egg_disease

Object Confusion
arch ssword,b_ssword
chance 5
diff 8
exp 8900
trans 1
yield 1
skill smithery
cauldron forge
ingred short sword,madman's arm,pile of salt,bottle of mineral oil
failure_message Nice dinner this evening ?
failure_arch bones3

Object Confusion
arch b_scimitar
chance 5
diff 9
exp 9000
trans 1
yield 1
skill smithery
cauldron forge
ingred scimitar,madman's hand,pile of salt,bottle of mineral oil
failure_message YUK !
failure_arch bones4

Object Confusion
arch spear
chance 5
diff 10
exp 9300
trans 1
yield 1
skill smithery
cauldron forge
ingred spear,madman's leg,pile of salt,bottle of mineral oil
failure_message OOPS , filled with blood !
failure_arch blood
Madmen emit a huge amount of flesh, so I thought, that would be a good low level starting point .

Now I have problems to understand, if it is possible to add a new minor artifact like "Throwing dagger of Confusion" that does weapon magic and probably changes the state of a victim to be confused as there are already common "Club of Fear" or "Stoneaxe of Zormola" .

Where do I find the stats of "Club of Fear" for example, to get a first impression on how to do this ?
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: formulae

Post by Leaf »

karl wrote: Where do I find the stats of "Club of Fear" for example, to get a first impression on how to do this ?
While in DM mode, reset a shop map over and over again until the item appears.

Then you can use the dump command to get full stats or logout your character with the item in your inventory to get the stats that way (i.e., view the character file with a text editor.)

Or, do you mean where to find the stats of a Fear weapon within the archetype and/or server code?
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
karl

Post by karl »

Leaf wrote:Or, do you mean where to find the stats of a Fear weapon within the archetype and/or server code?
Exactly, to find the files(s) in the server or archetypes code tar balls.
karl

Post by karl »

artifacts :

Code: Select all

#
Allowed all
chance 5
Object Fear
type 15
value 30
attacktype 16385
resist_fear 100
weight 90
item_power 2
end
attack.h :

Code: Select all

#define AT_PHYSICAL     0x00000001 /*       1 */
#define AT_MAGIC        0x00000002 /*       2 */
#define AT_FIRE         0x00000004 /*       4 */
#define AT_ELECTRICITY  0x00000008 /*       8 */
#define AT_COLD         0x00000010 /*      16 */
#define AT_CONFUSION    0x00000020 /*      32 The spell will use this one */
#define AT_ACID         0x00000040 /*      64 Things might corrode when hit */
#define AT_DRAIN        0x00000080 /*     128 */
#define AT_WEAPONMAGIC  0x00000100 /*     256 Very special, use with care */
#define AT_GHOSTHIT     0x00000200 /*     512 Attacker dissolves */
#define AT_POISON       0x00000400 /*    1024 */
#define AT_SLOW         0x00000800 /*    2048 */
#define AT_PARALYZE     0x00001000 /*    4096 */
#define AT_TURN_UNDEAD  0x00002000 /*    8192 */
#define AT_FEAR         0x00004000 /*   16384 */
#define AT_CANCELLATION 0x00008000 /*   32768 ylitalo@student.docs.uu.se */
Post Reply