slm arkadaslar kodlar asagıda var
sımdı ıbrnıce kapalı ıken inlor attık dıyelım In lor diye cikılıyor
ibranıce acık ken attıgımızda ınlor u IN LOR dıye cıkıyor yanı ıbranıce in lor cıkmıyor sorun neyde olabılır ?_?
[PLEVEL 1]
ibranice
[function ibranice]
if ((<src.tactics> > 30.0) || (<src.wrestling> > 30.0) || (<src.swordsmanship> > 30.0) || (<src.fencing> > 30.0) || (<src.macefighting>) || (<src.archery> > 30.0))
src.sysmessage @033 Combat skilline sahip iken bu sistemden yararlanamazsiniz...
events +e_ibranice_acik
else
if (<isevent.e_ibranice_acik>)
sysmessage @055 Ibranice: acik
events -e_ibranice_acik
elseif ((<src.magery> > 98.0) && (<src.meditation> > 98.0) && (<src.anatomy> > 98.0) && (<src.evaluatingintel> > 98.0))
sysmessage @033 Ibranice: kapali
events +e_ibranice_acik
else
sysmessage @033 Bu tur buyu sozlerini bilmiyorsunuz...
endif
endif
[EVENTS e_ibranice_acik]
[FUNCTION ibranicee]
if !(<isevent.e_ibranice_acik>)
if ((<src.magery> > 98.0) && (<src.meditation> > 98.0) && (<src.anatomy> > 98.0) && (<src.evaluatingintel> > 98.0))
var.font = <src.font>
src.font = 8
src.sayua 033,2,0,eng <strtoupper <args>>
src.font = <var.font>
return 1
endif
else
sayua 033,2,0,eng, <args>
[function spell_say]
if ((<src.magery> > 98.0) && (<src.meditation> > 98.0) && (<src.anatomy> > 98.0) && (<src.evaluatingintel> > 98.0))
src.ibranicee <args>
return 1
else
sayua 033,2,0,eng, <args>
[events e_mage]
On=@SpellCast
if (<argn> == 1) // Clumsy
spell_say Uus Jux
mg1
elseif (<argn> == 2) // Create food
spell_say In Mani Ylem
newitem {09e9 1 i_bread_loaf 1 i_bread_french 1}
act.bounce
CONSUME=1 i_reag_garlic
CONSUME=1 i_reag_ginseng
CONSUME=1 i_reag_mandrake_root
mg1
elseif (<argn> == 3) // Feeblemind
spell_say Rel Wis
mg1
elseif (<argn> == 4) // Heal
spell_say In Mani
sd 1
mg1
elseif (<argn> == 5) // Magic Arrow
spell_say In Por Ylem
mg1
elseif (<argn> == 6) // Night Sight
spell_say In Lor
mg1
elseif (<argn> == 7) // Reactive Armor
spell_say Flam Sanct
sd 1
mg1
elseif (<argn> == 8) // Weaken
spell_say Des Mani
mg1
elseif (<argn> == 9) // Agility
spell_say Ex Uus
mg2
elseif (<argn> == 10) // Cunning
spell_say Uus Wis
mg2
elseif (<argn> == 11) // Cure
spell_say An Nox
if ((<findid.i_spdelay_man>)
findid.i_spdelay_man.timer 1
elseif ((<findid.i_spdelay_woman>)
findid.i_spdelay_woman.timer 1
elseif ((<findid.i_spdelay_unisex>)
findid.i_spdelay_unisex.timer 1
else
sd 1
endif
if (<act.findid.i_rune_poison>)
if (<act.findid.i_rune_poison.morey> > 790
if (rand(2) == 1)
act.effect 3,0374a,1,15,1
act.sound snd_spell_poison
f_fizzle
return 1
endif
endif
if (<act.findid.i_rune_poison.morey> > <eval ((<magery> + 400) / 2)>)
if !(rand(8) == 1)
act.effect 3,0374a,1,15,1
act.sound snd_spell_poison
f_fizzle
return 1
endif
endif
endif
mg3
elseif (<argn> == 12) // Harm
spell_say An Mani
sd 1
mg2
elseif (<argn> == 13) // Trap
spell_say In Jux
f_fizzle
return 1
elseif (<argn> == 14) // Untrap
spell_say An Jux
f_fizzle
return 1
elseif (<argn> == 15) // Protection
spell_say Uus Sanct
sd 1
mg2
elseif (<argn> == 16) // Strength
spell_say Uus Mani
sd 1
mg2
elseif (<argn> == 17) // Bless
spell_say Rel Sanct
sd 1
mg3
elseif (<argn> == 18) // Fireball
spell_say Vas Flam
sd 1
mg3
elseif (<argn> == 19) // Lock
spell_say An Por
f_fizzle
return 1
elseif (<argn> == 20) // Poison
spell_say In Nox
psg
sd 1
elseif (<argn> == 21) // Telekinesis
spell_say Ort Por Ylem
sd 1
mg3
elseif (<argn> == 22) // Teleport
spell_say Rel Por
mg3
elseif (<argn> == 23) // Unlock
spell_say Ex Por
f_fizzle
return 1
elseif (<argn> == 24) // Wall
spell_say In Sanct Ylem
sd 1
mg3
elseif (<argn> == 25) // Arch Cure
spell_say Vas An Nox
sd 2
mg4
elseif (<argn> == 26) // Arch Protection
spell_say Vas Uus Sanct
sd 2
mg4
elseif (<argn> == 27) // Curse
spell_say Des Sanct
sd 2
mg4
elseif (<argn> == 28) // Fire Field
spell_say In Flam Grav
sd 2
mg4
elseif (<argn> == 29) // Greater Heal
spell_say In Vas Mani
sd 2
mg4
elseif (<argn> == 30) // Lightning
spell_say Por Ort Grav
sd 2
mg4
elseif (<argn> == 31) // Mana Drain
spell_say Ort Rel
f_fizzle
return 1
elseif (<argn> == 32) // Recall
spell_say Kal Ort Por
sd 2
mg4
f_fizzle
return 1
elseif (<argn> == 33) // Blade Spirits
spell_say In Jux Hur Ylem
sd 2
mg5
elseif (<argn> == 34) // Dispel Field
spell_say An Grav
sd 2
mg5
elseif (<argn> == 35) // Incognito
spell_say Kal In Ex
sd 2
mg5
elseif (<argn> == 36) // Magic Reflect
spell_say In Jux Sanct
sd 2
mg5
elseif (<argn> == 37) // Mind Blast
spell_say Por Corp Wis
sd 2
mg5
elseif (<argn> == 38) // Paralyze
spell_say An Ex Por
sd 2
mg5
elseif (<argn> == 39) // Poison Field
spell_say In Nox Grav
sd 2
mg5
elseif (<argn> == 40) // Summon Creature
spell_say Kal Xen
sd 2
mg5
elseif (<argn> == 41) // Dispel
spell_say An Ort
sd 2
mg6
elseif (<argn> == 42) // Energy Bolt
spell_say Corp Por
sd 2
mg6
elseif (<argn> == 43) // Explosion
spell_say Vas Ort Flam
sd 2
mg6
elseif (<argn> == 44) // Invisibility
spell_say An Lor Xen
sd 2
mg6
elseif (<argn> == 45) // Mark
spell_say Kal Por Ylem
sd 2
mg6
elseif (<argn> == 46) // Mass Curse
spell_say Vas Des Sanct
sd 2
mg6
elseif (<argn> == 47) // Paralyze Field
spell_say In Ex Grav
sd 3
mg6
elseif (<argn> == 48) // Reveal
spell_say Wis Quas
sd 2
mg6
elseif (<argn> == 49) // Chain Lightning
spell_say Vas Ort Grav
sd 3
mg7
elseif (<argn> == 50) // Energy Field
spell_say In Sanct Grav
sd 3
mg7
elseif (<argn> == 51) // Flame strike
spell_say Kal Vas Flam
sd 3
mg7
elseif (<argn> == 52) // Gate Travel
spell_say Vas Rel Por
sd 3
mg7
elseif (<argn> == 53) // Mana Vampire
spell_say Ort Sanct
f_fizzle
return 1
elseif (<argn> == 54) // Mass Dispel
spell_say Vas An Ort
sd 3
mg7
elseif (<argn> == 55) // Meteor Swarm
spell_say Flam Kal Des Ylem
sd 3
mg7
elseif (<argn> == 56) // Polymorph
spell_say Vas Ylem Rel
f_Fizzle
return 1
elseif (<argn> == 57) // Earthquake
spell_say In Vas Por
sd 3
mg8
elseif (<argn> == 58) // Energy Vortex
spell_say Vas Corp Por
sd 3
mg8
elseif (<argn> == 59) // Resurrect
spell_say An Corp
sd 3
mg8
elseif (<argn> == 60) // Air Elemental
spell_say Kal Vas Xen Hur
sd 3
mg8
elseif (<argn> == 61) // Summon Deamon
spell_say Kal Vas Xen Corp
sd 3
mg8
elseif (<argn> == 62) // Earth Elemental
spell_say Kal Vas Xen Ylem
sd 3
mg8
elseif (<argn> == 63) // Fire Elemental
spell_say Kal Vas Xen Flam
sd 3
mg8
elseif (<argn> == 64) // Water Elemental
spell_say Kal Vas Xen An Flam
sd 3
mg8
endif
endif