[defname spawn_sureleri]
//undeadler
ssure_c_skeleton 2,4
ssure_c_zombie 2,4
ssure_c_m_skeletonarcher 5,10
ssure_c_m_skeleton_mage 5,10
ssure_c_grim_reaper 5,10
ssure_c_spectre 5,10
ssure_c_liche 5,10
ssure_c_mummy 5,10
ssure_c_m_mummy 5,10
ssure_c_m_skeleton_knight 2,8
ssure_c_m_liche_lord 5,10
ssure_c_headless 2,4
ssure_c_ghost 2,4
ssure_c_m_ghoul 2,4
ssure_c_rotting_corpse 10,20
//demon vs
ssure_c_daemon 20,25
ssure_c_m_balron 40,50
ssure_c_balron 60,120
ssure_c_arcane_demon 2,4
ssure_c_moloch 5,10
ssure_c_chaos_demon 2,4
ssure_c_daemon_w_sword 20,25
ssure_c_succubus 10,15
ssure_c_m_imp 5,10
//exodus
ssure_c_exodus_minion 15,20
ssure_c_iron_golem 15,20
ssure c_h_controller 10,15
ssure_c_exodus_minionlord 20,25
ssure_c_golem_old 50,60
//dragonlar
ssure_c_dragon_small_black 20,25
ssure_c_dragon_small_red 20,25
ssure_c_m_dragon_wyrm 25,30
ssure_c_ancient_wyrm 30,35
ssure_c_dragon_red 40,50
ssure_c_serpentine_dragon 100,120
//elementaller
ssure_c_elem_fire 5,15
ssure_c_elem_earth 5,15
ssure_c_elem_air 5,15
ssure_c_elem_water 5,15
ssure_c_m_elem_blood 5,15
ssure_c_acid_elemental 5,15
ssure_c_poison_elemental 5,15
ssure_c_vortex_sand 5,15
//devler
ssure_c_titan 5,10
ssure_c_m_cyclops_king 10,15
ssure_c_cyclops 8,10
ssure_c_troll_w_axe 2,5
ssure_c_ogre 2,6
//gargoyle
ssure_c_destroyer_gargoyle 5,8
ssure_c_enforcer_gargoyle 4,5
ssure_c_m_gargoyle_stone 5,10
ssure_c_gargoyle 5,10
//rahatsız ediciler
ssure_c_spider_giant 5,10
ssure_c_harpy 5,10
ssure_c_gazer 5,10
ssure_c_corpser 5,10
ssure_c_m_scorpion_prince 5,10
ssure_c_m_scorpion_king 6,10
ssure_c_m_silver_serpent 2,6
ssure_c_m_stoneharpy 5,10
ssure_c_m_efreet 10,12
ssure_c_m_hellhound 5,7
//iyi
ssure c_Ethereal_Warrior 10,20
//terathan
ssure_c_m_terathan_avenger 2,6
//orclar
ssure_c_m_goblin_lord 5,10
//lizardlar
ssure_c_lizardman 10,15
ssure_c_lizardman_spear 10,15
ssure_c_lizardman_mace 10,15
ssure_c_bog_thing 60,75
//hayvanlar
ssure_c_sheep_woolly 20,22
[function spawnlari_ayarla]
forinstances i_worldgem_bit
if <type> = t_spawn_char
spawn_sure_ayarla
endif
endfor
[function spawn_sure_ayarla]
if (<region.isevent.r_firot_dungeon>)
morep=120,120,3
elif !(<region.tag0.kale> = 0)
morep=60,70,3
elif (<spawn_kayitli_mi>=1)
morep=<def.ssure_<more1>>,3
elif !(<serv.chardef.<more1>.tag0.questim> = 0)
morep=1,1,3
else
morep=10,15,3
endif
[function spawn_kayitli_mi]
if <def.ssure_<more1>>
return 1
else
return 0
endif
//also i have command for adding spawns, just type .spawnkoy "char_baseid" in game
[function spawnkoy]
if (<account.tag0.spawner> = 0) && (<account.plevel> < 7)
return 1
endif
if !(<serv.chardef.<args>> = 0)
smessage <serv.chardef.<args>.name> spawnini koyacaginiz noktayi secin:
targetfg f_spawnkoy <args>
else
flmessage Boyle bir npc yok.
endif
[function f_spawnkoy]
serv.newitem 01ea7
new.type=34
new.amount=1
new.more=<args>
new.p=<targp>
new.attr=00b0
new.morep=5,10,3
new.spawn_sure_ayarla
new.timer 1