Help - Search - Members - Calendar
Full Version: Scimitar Of Acid
SphereServer Forums > Sphere .55i - Discontinued > Script Help 55i
Terror
i cant seem to get this to do the poison effect. I would like it to make whatever it hits deadly sick every time it hits them, thanks alot for the help.


[ITEMDEF I_ACID_SCIMITAR]
DEFNAME=i_scimitar_acid
WEIGHT=8
TYPE=T_WEAPON_SWORD
FLIP=1
DAM={20 25}
//SPEED=45
SKILL=Swordsmanship
REQSTR=200
TWOHANDS=N
CATEGORY=Provisions - Weapons
SUBSECTION=Swords
DESCRIPTION=Scimitar of acid
DUPELIST=013b6

ID=013b5
REPAIR=1
NAME=Acid Scimitar

ON=@Create
HITPOINTS={300 400}

ATTR=020
COLOR=00bb5

ON=@DAMAGE
CONT.EFFECT=S_poison
MORE2=150
nazghul-ll
first, put up the ID= line tight behind the [itemdef ...], so the inherited data from the ID will not overwrite what you defined before.

Second, EFFECT does ecactly this: An effect. A visual one, to be precise.

So either use src.poison strength_of_poison (the SRC in @damage is the one who puts his bonehead in the way of the weapon), or simply set the morez of the weapon in on=@create, then it will automagically pe poisoned
Rapier
the //SPEED=45
will not have a 45 speed because of the // which is acting like a comment
Wiccanian
Great first reply to what everyone knows already, wasn't even asked in the first place and nobody cares about anymore on a post this old wink.gif
Rapier
hey someone might not know that
nazghul-ll
that "//" introduces a comment? That SPEED it not a valid keyword for .55i, som there's reason to comment it (to avoid server error messages)?

For all those ppl. I have a secret: Sphere scripts have to be places in files with the filename extension ".scp" - just in case someone does not know.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.