:: RunUo.Korean.Forum > Script Support
¹®¼ÁÖ¼Ò : http://runuo.co.kr/forum/viewtopic.php?t=1709
¡Ø TOPIC TITLE : ·±À¯¿À2.0¹öÀüÀÇ ¸ó½ºÅÍ°ø°Ý½ºÅ³ 1.0¸ó½ºÅÍÇÑÅ× Ãß°¡¹æ¹ýÁú¹®ÀÌ¿
Á¦ ¸ñ : ·±À¯¿À2.0¹öÀüÀÇ ¸ó½ºÅÍ°ø°Ý½ºÅ³ 1.0¸ó½ºÅÍÇÑÅ× Ãß°¡¹æ¹ýÁú¹®ÀÌ¿
¾ÆÀ̵ð: whvo2 - 2008-04-04 ±Ý 1:49 am
Àú´Â ·±À¯¿À1.0À»¾²°íÀִµ¥¿ä
¸£³×¹è°æÀ¸·Î ¼¹ö¸¦ Å×½ºÆ®Çغ¸°íÀִµ¥¿ä
1.0¿¡¼± °³¹Ì°¡ »ê¼ºÀ̾ø´õ¶ó±¸¿ä. ±×·±µ¥ ·±À¯¿À2.0RC2¿¡¼±
°³¹Ì¿¡ »ê¼ºÄڵ尡 Ãß°¡µÇ¾îÀÖ´õ±º¿ä.
±×·±µ¥ Á¦°¡ ½ºÅ©¸³Æ®³ª ÄÚµå Ãß°¡¹æ¹ýÀ»À߸𸨴ϴÙ;
ÀÏ´Ü acid ¾î¼±¸ÇÏ´Â ¶óÀÎÀ» ºÙ¿©´Ù°¡ 1.0°³¹Ì¿¡°ÔºÙÀÌ´Ï ¼¹öų¶§¿¡·¯..
°¡¶ß³×¿ä;;
Áú¹®.¸ó½ºÅÍÀÇ Æ¯¼ö´É·ÂÀ»¿Å±â´Â¹æ¹ý(»ê¼ºÀ» ºñƲÀÌÇÑÅ׳ִ´ٴø°¡.
µ¶À» °¾ÆÁöÇÑÅ׳ִ´ٴø°¡)
ÄÚµå : | using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a scorpion corpse" )]
public class Scorpion : BaseCreature
{
[Constructable]
public Scorpion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a scorpion";
Body = 48;
BaseSoundID = 397;
SetStr( 73, 115 );
SetDex( 76, 95 );
SetInt( 16, 30 );
SetHits( 50, 63 );
SetMana( 0 );
SetDamage( 5, 10 );
SetDamageType( ResistanceType.Physical, 60 );
SetDamageType( ResistanceType.Poison, 40 );
SetResistance( ResistanceType.Physical, 20, 25 );
SetResistance( ResistanceType.Fire, 10, 15 );
SetResistance( ResistanceType.Cold, 20, 25 );
SetResistance( ResistanceType.Poison, 40, 50 );
SetResistance( ResistanceType.Energy, 10, 15 );
SetSkill( SkillName.Poisoning, 80.1, 100.0 );
SetSkill( SkillName.MagicResist, 30.1, 35.0 );
SetSkill( SkillName.Tactics, 60.3, 75.0 );
SetSkill( SkillName.Wrestling, 50.3, 65.0 );
Fame = 2000;
Karma = -2000;
VirtualArmor = 28;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 47.1;
PackItem( new LesserPoisonPotion() );
}
public override void GenerateLoot()
{
AddLoot( LootPack.Meager );
}
public override int Meat{ get{ return 1; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Arachnid; } }
public override Poison PoisonImmune{ get{ return Poison.Greater; } }
public override Poison HitPoison{ get{ return (0.8 >= Utility.RandomDouble() ? Poison.Greater : Poison.Deadly); } }
public Scorpion( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
|
À§ÀÇ°ÍÀÌ 1.0¿¡¼ÀÇ ½ºÄÝÇÇ¿Â ½ºÅ©¸³ÀÔ´Ï´Ù.
±×¸®°í ¹Ø¿¡´Â ·±À¯¿À2.0ÀÇ »ê¼º°³¹ÌÀü»çÄÚµåÀÔ´Ï´Ù.
ÄÚµå : | using System;
using System.Collections;
using Server.Items;
using Server.Network;
namespace Server.Mobiles
{
[CorpseName( "a solen warrior corpse" )]
public class BlackSolenWarrior : BaseCreature
{
private bool m_BurstSac;
public bool BurstSac{ get{ return m_BurstSac; } }
[Constructable]
public BlackSolenWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen warrior";
Body = 806;
BaseSoundID = 959;
Hue = 0x453;
SetStr( 196, 220 );
SetDex( 101, 125 );
SetInt( 36, 60 );
SetHits( 96, 107 );
SetDamage( 5, 15 );
SetDamageType( ResistanceType.Physical, 80 );
SetDamageType( ResistanceType.Poison, 20 );
SetResistance( ResistanceType.Physical, 20, 35 );
SetResistance( ResistanceType.Fire, 20, 35 );
SetResistance( ResistanceType.Cold, 10, 25 );
SetResistance( ResistanceType.Poison, 20, 35 );
SetResistance( ResistanceType.Energy, 10, 25 );
SetSkill( SkillName.MagicResist, 60.0 );
SetSkill( SkillName.Tactics, 80.0 );
SetSkill( SkillName.Wrestling, 80.0 );
Fame = 3000;
Karma = -3000;
VirtualArmor = 35;
SolenHelper.PackPicnicBasket( this );
PackItem( new ZoogiFungus( ( 0.05 > Utility.RandomDouble() )? 13 : 3 ) );
if ( Utility.RandomDouble() < 0.05 )
PackItem( new BraceletOfBinding() );
}
public override int GetAngerSound()
{
return 0xB5;
}
public override int GetIdleSound()
{
return 0xB5;
}
public override int GetAttackSound()
{
return 0x289;
}
public override int GetHurtSound()
{
return 0xBC;
}
public override int GetDeathSound()
{
return 0xE4;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Rich );
AddLoot( LootPack.Gems, Utility.RandomMinMax( 1, 4 ) );
}
public override bool IsEnemy( Mobile m )
{
if ( SolenHelper.CheckBlackFriendship( m ) )
return false;
else
return base.IsEnemy( m );
}
public override void OnDamage( int amount, Mobile from, bool willKill )
{
SolenHelper.OnBlackDamage( from );
if ( !willKill )
{
if ( !BurstSac )
{
if ( Hits < 50 )
{
PublicOverheadMessage( MessageType.Regular, 0x3B2, true, "* The solen's acid sac is burst open! *" );
m_BurstSac = true;
}
}
else if ( from != null && from != this && InRange( from, 1 ) )
{
SpillAcid( TimeSpan.FromSeconds( 10 ), 30, 30, from );
}
}
base.OnDamage( amount, from, willKill );
}
public override bool OnBeforeDeath()
{
SpillAcid( TimeSpan.FromSeconds( 10 ), 30, 30, 1, 4 );
return base.OnBeforeDeath();
}
public BlackSolenWarrior( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 1 );
writer.Write( m_BurstSac );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch( version )
{
case 1:
{
m_BurstSac = reader.ReadBool();
break;
}
}
}
}
}
|
½ºÄÝÇÇ¿ÂÀÇ µ¶À̳ª 2.0RC°³¹ÌÀü»çÀÇ »ê¼ºÀ» 1.0¸ó½ºÅÍÀÎ °³¹ÌÀü»ç(»ê¼º¾øÀ½)
1.0ÀÇ°³¹ÌÀü»ç ÄÚµå
ÄÚµå : |
using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a solen warrior corpse" )]
public class BlackSolenWarrior : BaseCreature
{
[Constructable]
public BlackSolenWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a black solen warrior";
Body = 806;
BaseSoundID = 959;
Hue = 0x453;
SetStr( 196, 220 );
SetDex( 101, 125 );
SetInt( 36, 60 );
SetHits( 96, 107 );
SetDamage( 5, 15 );
SetDamageType( ResistanceType.Physical, 80 );
SetDamageType( ResistanceType.Poison, 20 );
SetResistance( ResistanceType.Physical, 20, 35 );
SetResistance( ResistanceType.Fire, 20, 35 );
SetResistance( ResistanceType.Cold, 10, 25 );
SetResistance( ResistanceType.Poison, 20, 35 );
SetResistance( ResistanceType.Energy, 10, 25 );
SetSkill( SkillName.MagicResist, 60.0 );
SetSkill( SkillName.Tactics, 80.0 );
SetSkill( SkillName.Wrestling, 80.0 );
Fame = 3000;
Karma = -3000;
VirtualArmor = 35;
int gems = Utility.RandomMinMax( 1, 4 );
for ( int i = 0; i < gems; ++i )
PackGem();
SolenHelper.PackPicnicBasket( this );
PackGold( 250, 300 );
PackItem( new ZoogiFungus( Utility.RandomMinMax( 3, 13 ) ) );
if ( Utility.RandomDouble() < 0.05 )
PackItem( new BraceletOfBinding() );
}
public override int GetAngerSound()
{
return 0xB5;
}
public override int GetIdleSound()
{
return 0xB5;
}
public override int GetAttackSound()
{
return 0x289;
}
public override int GetHurtSound()
{
return 0xBC;
}
public override int GetDeathSound()
{
return 0xE4;
}
public override bool IsEnemy( Mobile m )
{
if ( SolenHelper.CheckBlackFriendship( m ) )
return false;
else
return base.IsEnemy( m );
}
public override void OnDamage( int amount, Mobile from, bool willKill )
{
SolenHelper.OnBlackDamage( from );
base.OnDamage( amount, from, willKill );
}
public BlackSolenWarrior( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
|
¿¡°Ô Ãß°¡ÇØÁÖ·Á¸é ¾î´ÀºÎºÐÀ» ¾î¶»°Ô°íÃľßÇÒ±î¿ä?;;
±×¸®°í Ãß°¡ÇØÁØ ÆÄÀÏÀº Ä¿½ºÅÒ¿¡³ÖÀ¸¸éµÉ±î¿ä?
´ëºÎºÐ °Ë»öÇؼ ÇØ°áÀ»Çߴµ¥ ÀÌ Áú¹®¿¡´ëÇÑ Á¤º¸´Â¾Èº¸ÀÌ³×¿ä ¤Ì¤Ì
°¡¸£ÃÄÁֽø鰨»çÇÏ°Ú½À´Ï´Ù.
Ȥ½Ã³ªÇؼ 1.0ÀÇ ½ºÄÝÇÇ¿Â µ¶ºÎºÐ½ºÅ©¸³Æ®¸¦ º¹»çÇؼ
1.0Àº ºñƲÀÌÇÑÅ× ³Ö¾îºÃ´õ´Ï ¿¡·¯°¡³ª´õ¶ó±¸¿ä--;
Á¦ ¸ñ :
¾ÆÀ̵ð: whvo2 - 2008-04-04 ±Ý 10:18 pm
ÀÚ¹®ÀÚ´äÇϳ׿ä. Ȥ¿© ³ªÁß¿¡¶óµµ°Ë»öÇؼ º¼ºÐÀ» À§ÇØ ¸®ÇÃÀ»´ä´Ï´Ù.
Æ÷·³¿î¿µÀںв² ¹°¾îºÃ´õ´Ï
"·±À¯¿À 1.0°ú 2.0Àº ½ºÅ©¸³À» Áö¿øÇØÁÖ´Â ÄÚµù(Runuo.exe)¿¡¼ ¸¹Àº Â÷ÀÌ°¡ ³³´Ï´Ù.
ÀÏ´Ü ¸»¾¸ÇϽŠ»ê¼º½ºÅ³¿¡ ´ëÇؼ 1.0ÀÇ ¿øõÀûÀÎ ÄÚµù¿¡¼ Áö¿øÀ» ÇÏÁö ¾Ê´Â°É·Î ¾Ë°í ÀÖ½À´Ï´Ù. ±×·¯¹Ç·Î Àû¿ëÇÒ¼ö ¾ø½À´Ï´Ù."
¶ó°íÇϽó׿ä; 1.0¿¡¼´Â »ê¼º½ºÅ³À» ³Ö´Â°Ô ºÒ°¡´ÉÀ̶óÇÕ´Ï´Ù ¤§¤§;
|