Thread Rating:
- 1 Votes - 5 Average
- 1
- 2
- 3
- 4
- 5
Vampire item's
|
Author |
Message |
an0n!m0use
Journeyman
Posts: 56
Likes Given: 16
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0
|
Vampire item's
Hi, guys !
Can you help me ... I wanna make some special items for a vampire race ...
1) Vampire Knight Claw && Vampire Claw
Effect: Every third hit is a critical (DMG + Flames Strike)
When a Vampire Knight Claw is charged then change a color (0a4c) and when you click an item - Vampire Knight Claw (charged)
Code:
[ITEMDEF i_vampire_knight_claw]
DEFNAME=i_vampire_knight_claw
NAME=Vampire Knight Claw
...
On=@Create
...
On=@Click
if (<eval <tag0.argn1> == 1>)
message @63 <name> (charged)
else
message @63 <name>
endif
return 1
<--------------------------------- sphere_pvp.scp ------------------------------->
On=@Hit
IF StrMatch("class_vampire_*","<SKILLCLASS>") && ((<argo.BaseID>==i_vampire_claw) || (<argo.BaseID>==i_vampire_knight_claw))
TAG0.ARGN1 += 1
IF (<TAG0.ARGN1> >= 2)
SAY Feel the hell blaze!
SRC.SPELLEFFECT 51, 100 <UID>
TAG0.ARGN1 == 0
ENDIF
ENDIF
2) Sting of Pain
Effect for [EVENTS e_bleeding_effect]: Hit you an {13-18} hits ... and next your magic spell with chance (50%) - fizzles ....
Code:
[ITEMDEF i_sting_of_pain]
DEFNAME=i_sting_of_pain
NAME=Sting of Pain
ID=03f12
...
On=@Damage
if rand(100) < 25
src.sysmessage @38 You fell Bleeding effect
serv.newitem=i_bleeding_delay
new.equip=<src.uid>
src.events=+e_bleeding_effect
endif
[ITEMDEF i_bleeding_delay]
NAME=Bleeding delay
ID=i_worldgem_bit
Weight=0
Layer=layer_special
Type=t_eq_script
On=@Create
ATTR=attr_newbie|attr_decay
On=@Equip
timer={1 3}
return 1
On=@Timer
cont.events=-e_bleeding_effect
remove
return 1
<--------------------------------- sphere_events.scp ------------------------------->
[EVENTS e_bleeding_effect]
|
|
08-04-2013 02:07 AM |
|
|
User(s) browsing this thread: 2 Guest(s)