[chardef c_dummy] ///Skill Dummy
id=c_man
name #NAMES_HUMANMALE
can mt_equip
dam=0,1
armor=0
ON=@NPCRestock
ITEMNEWBIE=i_robe
color=0455
armor=0
name= @1153 Dummy Robe
HITPOINTS=999
ITEMNEWBIE=i_hair_long
COLOR=0455
on=@create
str=1
dex=1
int=1
HITS={9997 9999}
color=01
allskills=00
KARMA=-2000
FAME=0
NPC=brain_monster
ITEMNEWBIE=i_robe
attr=010
color=0455
name @1153 Dummy Robe
HITPOINTS=999
ITEMNEWBIE=i_hair_long
COLOR=0455
on=@click
message @080a [Skill Dummy]
message @1153 <name>
return 1
on=@gethit
HITS 9999
str 1
dex 1
if (<flags> &statf_poisoned)
findid.i_rune_poison.remove
sound snd_spell_cure
else
HITS 9999
STR 1
DEX 1
on=@attack
return 1
on=@attack
src.swordsmanship 0.1 olsa olurmu acaba?
return 1
[function f_tactics]
if ((<skilllock[27]> == 0) && (<skilltotal> < 7000) && (<src.tactics> < 100.0))
if (<src.tactics> < 50.0)
src.tactics += 1
elseif (<src.tactics> < 70.0)
if (rand(2) == 1)
src.tactics += 1
endif
elseif (<src.tactics> < 80.0)
if (rand(3) == 1)
src.tactics += 1
endif
elseif (<src.tactics> < 100.0)
if (rand(4) == 1)
src.tactics += 1
endif
endif
endif
on=@Success
src.f_tactics
Sexy1 :böyle yaparsan her vurdugunda skill 0.1 0.1 kalıron=@attack src.swordsmanship 0.1 olsa olurmu acaba? return 1
salladım açıkcasi
Axons : Bu functionu bir yere ekle ;Bunları editleyer sw wrest.. vb içinde yapabilirsin.
[function f_tactics] if ((<skilllock[27]> == 0) && (<skilltotal> < 7000) && (<src.tactics> < 100.0)) if (<src.tactics> < 50.0) src.tactics += 1 elseif (<src.tactics> < 70.0) if (rand(2) == 1) src.tactics += 1 endif elseif (<src.tactics> < 80.0) if (rand(3) == 1) src.tactics += 1 endif elseif (<src.tactics> < 100.0) if (rand(4) == 1) src.tactics += 1 endif endif endif
Sonra Sphere_skills.scp yi aç [SKILL 27] yani tactics skilline gel sonra ona bu tiggeri ekle ;
on=@Success src.f_tactics