Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

Resist


lostland

Öne çıkan mesajlar

Resist için ise şunu buldum fakat incelemedim.

said:
[FUNCTION SPELLARGN]
VAR.SPELLARGN + 0dc000000

[FUNCTION SPELLCIRCLE]
IF ( == s_clumsy) || ( == s_create_food) || ( == s_feeblemind) || ( == s_heal) || ( == s_magic_arrow) || ( == s_night_sight) || ( == s_reactive_armor) || ( == s_weaken)
VAR.SPELLCIRCLE 1
ELIF ( == s_agility) || ( == s_cunning) || ( == s_cure) || ( == s_harm) || ( == s_magic_trap) || ( == s_magic_untrap) || ( == s_protection) || ( == s_strength)
VAR.SPELLCIRCLE 2
ELIF ( == s_bless) || ( == s_fireball) || ( == s_magic_lock) || ( == s_poison) || ( == s_telekinesis) || ( == s_teleport) || ( == s_unlock) || ( == s_wall_of_stone)
VAR.SPELLCIRCLE 3
ELIF ( == s_archcure) || ( == s_archprotection) || ( == s_curse) || ( == s_fire_field) || ( == s_greater_heal) || ( == s_lightning) || ( == s_mana_drain) || ( == s_recall)
VAR.SPELLCIRCLE 4
ELIF ( == s_blade_spirits) || ( == s_dispel_field) || ( == s_incognito) || ( == s_magic_reflection) || ( == s_mind_blast) || ( == s_paralyze) || ( == s_poison_field) || ( == s_summon_creature)
VAR.SPELLCIRCLE 5
ELIF ( == s_dispel) || ( == s_energy_bolt) || ( == s_explosion) || ( == s_invisibility) || ( == s_mark) || ( == s_mass_curse) || ( == s_paralyzation_field) || ( == s_reveal)
VAR.SPELLCIRCLE 6
ELIF ( == s_chain_lightning) || ( == s_energy_field) || ( == s_flamestrike) || ( == s_gate_travel) || ( == s_mana_vampire) || ( == s_mass_dispel) || ( == s_meteor_swarm) || ( == s_polymorph)
VAR.SPELLCIRCLE 7
ELIF ( == s_earthquake) || ( == s_energy_vortex) || ( == s_resurrection) || ( == s_summon_elem_air) || ( == s_summon_daemon) || ( == s_summon_elem_earth) || ( == s_summon_elem_fire) || ( == s_summon_elem_water)
VAR.SPELLCIRCLE 8
ENDIF

[EVENTS e_resist]
ON=@SpellCast

IF ()
IF !()
SRC.ACT.EVENTS +e_resist
ENDIF
ENDIF

ON=@SpellEffect
IF !()
SRC.EVENTS +e_resist
ENDIF

SPELLARGN
IF ( == s_harm) || ( == s_lightning) || ( == s_energy_bolt) || ( == s_chain_lightning) || ( == s_earthquake) || ( == s_paralyzation_field) || (!( & mt_fire_immune) && ( == s_fireball) || ( == s_fire_field) || ( == s_explosion) || ( == s_meteor_swarm) || ( == s_flamestrike)))
SPELLCIRCLE
IF ( / 5) + 5) / 10>) > ( - ((( - 20.0) / 5) + ( * 5))) + 5) / 10>)
IF (RAND(100) < / 5) + 5) / 10>)
TAG.RESIST 1
ELSE
TAG.RESIST 2
ENDIF
ELSE
IF (RAND(100) < - ((( - 20.0) / 5) + ( * 5))) + 5) / 10>)
TAG.RESIST 1
ELSE
TAG.RESIST 2
ENDIF
ENDIF
ENDIF

ON=@GetHit
IF (0 == 1)
SYSMESSAGE You feel yourself resisting magic.
IF !( == )
HITS + ( / 5)>
Resist_EVALINT / 2>
RESISTGAIN 20
ELseIF (0 == 2)
SYSMESSAGE You feel yourself resisting magic.
IF !( == )
Resist_EVALINT
RESISTGAIN 10
ENDIF
ENDIF
ENDIF
TAG.RESIST

[FUNCTION Resist_EVALINT]
IF !()
IF ( > )
VAR.MODIFIER - ) / 200)>
ELIF ( < )
VAR.MODIFIER - ) / 500)>
ENDIF
HITS + ( - (( * ) / 10))>
ENDIF

[FUNCTION RESISTGAIN]
if ( < 333)
if (rand(2) == 1)
MAGICRESISTANCE ( + 1)
ENDIF
elseif ( < 555)
if (rand(3) == 1)
MAGICRESISTANCE ( + 1)
ENDIF
elseif ( < 777)
if (rand(4) == 1)
MAGICRESISTANCE ( + 1)
ENDIF
elseif ( < 1000)
if (rand(5) == 1)
MAGICRESISTANCE (
Link to comment
Sosyal ağlarda paylaş

[itemdef i_ice_robe]
id=0204e
Name=Ice Robe
Weight=5
Type=t_clothing
Armor=50
Skillmake=Tailoring 98.0, t_sewing_kit
RESOURCES=35 i_cloth,1 i_ice_crystal

On=@create
HITPOINTS=100
color=0481

CATEGORY=Other
SUBSECTION=Clothing
DESCRIPTION=Ice Robe

on=@Equip
if (( > 98.0) && ( > 98.0) && ( > 98.0) && ( > 98.0))
src.events +e_noulusjux
src.effect 3,i_fx_explode,6,15,1
src.events +e_noanmani
src.sms Ice robeyi giyer...
else
src.sms Ice robeyi giymek icin Pure Mage olmaniz gerekir !
unequip
return 1

endif

on=@unequip
src.events -e_noulusjux

src.events -e_noanmani

[events e_noulusjux]
On=@Spelleffect
if ==1
sayua 048,6,6,0 *Etkilenmez*
RETURN 1
ENDIF

[events e_noanmani]
ON=@Spelleffect
if ==18
sayua 048,6,6,0 *Etkilenmez*
RETURN 1
ENDIF

//mesela böyle bir olaymı aradığın şey
//umarım yardımcı olmuştur...

[Bu mesaj Worth tarafından 09 Eylül 2004 13:07 tarihinde değiştirilmiştir]
Link to comment
Sosyal ağlarda paylaş

×
×
  • Yeni Oluştur...