SphereCommunity

Full Version: Weapon atributes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning people.

Galera is as follows. I'm looking for something to innovate in our beloved sphere. I would like something in this type:

Today we have all the weapons scripted in shard. When we get a weapon from a proper monster she is in his bag as UNIDENTIFIED. (Here begins the script) When we located the weapon we should use a skill to unlock the weapon and if you have a proper LUCK you could get better weapons and thus weapons with additional damage, additional spells, nightsight, LUCK +. It would have to create something different from what we have to be able to use all the weapons already registered and they only have different characteristics.

Ex: A Kryss, when it catches on a MONSTER it comes:
Kryss
Unidentified
(attributes)

When we use skill it could be revealed and who knows:

Kryss of Vanquish
Rare item
Fire damage%
Damage by area%
Damage 16 - 22 (Always having mariations between the items so that never one is equal to another.)

Valeuuuu who wants to help, I will be grateful and we will exchange ideas.

Thank you
give you a quick simple sample

[ITEMDEF i_silah]
ID=i_scimitar
Name=Scimitar
SKILL=
REQSTR=
DAM=


ON=@Create
f_rng_weapon

[function f_rng_weapon]
if (<luck> <= 25)
src.say You made it poor quality
HITPOINTS={10 40}
DAM=<r3,7>,<r7,10>
src.say <dam> created
name_gen
quality
Endif

[function name_gen]
Name = <NAME> of Tirrek

[function quality]
dam = (<dam.lo>+1),(<dam.hi>+1)
src.timerf 1,src.say totally damage <dam>
Reference URL's