Page 1 of 1

The spell elemental damage

Posted: Sat Sep 03, 2022 8:58 pm
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

Re: The spell elemental damage

Posted: Wed Jul 05, 2023 3:53 pm
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,