|
[chardef c_quest_npc]
DEFNAME c_quest_npc
NAME Quest Moon's
ID c_dragon_red
CAN mt_walk|mt_run|mt_usehands|mt_equip|MT_FLY
DAM=30,40
ARMOR=90
On=@CREATE
NPC=brain_undead
COLOR 0808
FAME={4000 8000}
KARMA={-5000 -5999}
STR={15999 17000}
DEX={9000 10000}
INT={1,20}
allskills=4000.0
ITEM=loot_questnpc
ITEMNEWBIE=i_spellbook
ADDSPELL=s_energy_bolt
ADDSPELL=s_flamestrike
ADDSPELL=s_explosion
on=@dclick
return 1
on=@gethit
if (rand(10) == 1)
if (<hits> < 600)
sayua 0481,2,0,eng,* Kendini iyilestirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
hits=(<hits> + 200)
endif
endif
if (<act.baseid>=c_vortex)
sayua 0481,2,0,eng,* Buyu etkisini kaldirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_blade_spirit)
sayua 0481,2,0,eng,* Buyu etkisini kaldirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_elem_water)
sayua 0481,2,0,eng,* Buyu etkisini kaldirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_elem_air)
sayua 0481,2,0,eng,* Buyu etkisini kaldirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_elem_fire)
sayua 0481,2,0,eng,* Buyu etkisini kaldirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<act.baseid>=c_elem_earth)
sayua 0481,2,0,eng,* Buyu etkisini kaldirir *
effect=3,i_fx_heal_effect,6,35,1
sound snd_spell_greater_heal
src.remove
endif
if (<flags> &statf_poisoned)
sayua 0481,2,0,eng,* Zehiri iyilestirir *
sound snd_spell_cure
findid.i_rune_poison.remove
endif
if (<src.kills> <6)
src.sysmessage @07a1 Quest Moon's Saldiri Yapabilmek icin 7 kiliniz Olmasi LazimArkadaslar Ne yaptiysam beceremedim simdi amacim su Npc kili 7 den Dusuk Olan Playerlarin Dalmasini Engellemek istiyorum
//Npc'ye dalmasını engellemek;
On=@GetHit
IF (<SRC.KILLS> < 7)
RETURN 1
ENDIF
//Npc'nin adama saldırmasını engellemek;
On=@Hit
IF (<SRC.KILLS> < 7)
RETURN 1
ENDIF
On=@Attack
IF (<SRC.KILLS> < 7)
RETURN 1
ENDIF
[events e_vuracakkisiye_verilmesi_gereken_event]
on=@Attack
if !(<kills> > 7)
sysmessage Nabün vuraman
Return 1
Endif//theraskol|
|
| Konu | Kategori | Son cevap | Son yazan | Mesaj | Görüntüleme | |
|---|---|---|---|---|---|---|
|
|
Giriş Ülkesi Engelleme
Son cevap: 12-02 17:34 · Son yazan: suleymanozcan · Mesaj: 3 · Görüntü: 2269
|
Konsol Hataları | 12-02 17:34 | 3 | 2269 | |
|
|
Equip ile koşmayı engelleme
Son cevap: 25-02 11:03 · Son yazan: Gothmog · Mesaj: 6 · Görüntü: 2832
|
ITEM Script Yardımı | 25-02 11:03 | 6 | 2832 | |
|
|
Levele göre Random chest
Son cevap: 05-10 20:11 · Son yazan: sekkk · Mesaj: 6 · Görüntü: 4697
|
Script Yardımı | 05-10 20:11 | 6 | 4697 | |
|
|
Ele alınan eşyaya göre çantaya eşya düşürmek
Son cevap: 14-08 10:23 · Son yazan: Athynas · Mesaj: 5 · Görüntü: 4358
|
Script Yardımı | 14-08 10:23 | 5 | 4358 | |
|
|
Plevele göre izin vermek
Son cevap: 21-03 13:26 · Son yazan: Gokku · Mesaj: 11 · Görüntü: 8567
|
DIALOG Script Yardımı | 21-03 13:26 | 11 | 8567 |