The spell elemental damage

If Wishes were UOX Coders, we'd be done by now ;P Post your wishes/suggestions for UOX3 changes/improvements here.
Post Reply
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

The spell elemental damage

Post by dragon slayer »

// Fireball
[SPELL 18]
{
NAME=Fireball
ENABLE=1
BASEDMG=17
CIRCLE=3
MANA=9
LOSKILL=161
HISKILL=601
SCLO=11
SCHI=401
MANTRA=Vas Flam
ACTION=17
DELAY=1.0
DAMAGEDELAY=1.0
ASH=0
DRAKE=0
GARLIC=0
GINSENG=0
MOSS=0
PEARL=1
SHADE=0
SILK=0
TARG=Select target for fireball.
FLAGS=0x01C9
MOVEFX=36 D4 03 00 01
SOUNDFX=0x015E
}

This way we can add say FIREDMG=0/1 either does the fire damage or it doesn't
These users thanked the author dragon slayer for the post:
Humility
Humility
UOX3 Neophyte
Posts: 28
Joined: Mon Nov 21, 2016 7:51 am
Has thanked: 4 times
Been thanked: 5 times

Post by Humility »

// Ice Lance
[SPELL 18,1]
{
NAME=ICELANCE
DTYPE=ICE
ENABLE=1
BASEDMG=17
CIRCLE=3
MANA=9
LOSKILL=161
HISKILL=601
SCLO=11
SCHI=401
MANTRA=Vas Glas
ACTION=17
DELAY=1.0
DAMAGEDELAY=1.0
ASH=0
DRAKE=0
GARLIC=0
GINSENG=0
MOSS=0
PEARL=1
SHADE=1
SILK=0
TARG=Select target for ice lance.
FLAGS=0x01C9
MOVEFX=36 D4 03 00 01
SOUNDFX=0x015E
}

If we add a second dimension to the Spells[] array we can have 8x8x(8 or more) - (256 and up) rather than 8x8 (64) spells per school.
Also adding if it's not already there, the damage type like you suggest, to cover the different elemental damages would help
the new spells really stand out.

Should also be able to reuse the same book by basically 'tabbing' sideways through the second dimension and just refilling the book with those spells info,
Post Reply