deroo
°¡ÀÔÀÏ: 2004³â 12¿ù 15ÀÏ
°Ô½Ã¹°: 38
|
±Û ÀÛ¼º½Ã°£ : 2008-11-04 È 11:25 am Á¦¸ñ: ·±À¯¿À(RunUO) µû¶óÀâ±â 8Æí |
|
|
¡¡·±À¯¿À(RunUO) µû¶óÀâ±â 8Æí - (for RunUO 1.0 Only)
¡¡written by Hessy
¡¡2008. 11. 4. tuesday
¡¡* ÁÖÀÇ »çÇ× *
¡¡º» °¡À̵å(?)´Â RunUO 1.0 Final ¹öÁ¯À» Åä´ë·Î ÀÛ¼º µÇ¾ú½À´Ï´Ù.
¡¡µû¶ó¼, ÀÌ¿ÜÀÇ ¹öÁ¯¿¡¼ÀÇ ´ëÀÀÀº º¸ÁõÇÏÁö ¾Ê½À´Ï´Ù.
¡¡1. ÆøÅº Æ÷¼ÇÀÇ ·£´ý Ä«¿îÆ® Àû¿ë
¡¡explosion potion (purple potion)ÀÇ Æø¹ß Ä«¿îÆ®¸¦ ·£´ýÇϰÔ
¡¡µÇµµ·Ï º¯°æÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.
¡¡Scripts/Items/Skill Items/Magical/Potions/Explosion Potions/BaseExplosion.CS ¸¦ ¿¾î¼
¡¡if ( m_Timer == null )
¡¡{
¡¡¡¡from.SendLocalizedMessage( 500236 ); // You should throw it now!
¡¡¡¡m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 0.75 ), TimeSpan.FromSeconds( 1.0 ), 4, new TimerStateCallback( Detonate_OnTick ), new object[]{ from, 3 } );
¡¡}
¡¡À§ÀÇ ºÎºÐÀ» ã½À´Ï´Ù. ±âº»ÀûÀ¸·Î 3, 2, 1, Æø¹ßÀ» ÇÏ°Ô µÇ´Âµ¥
¡¡¿©±â¿¡ ÆÐÅÏB(4, 3, 2, 1, Æø¹ß)¸¦ ·£´ýÇÏ°Ô µîÀå½ÃŰ°í ½ÍÀº °æ¿ì.
¡¡if ( m_Timer == null )
¡¡{
¡¡¡¡int explodeCount = Utility.RandomMinMax( 3, 4 );
¡¡¡¡from.SendLocalizedMessage( 500236 ); // You should throw it now!
¡¡¡¡m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 0.75 ), TimeSpan.FromSeconds( 1.0 ), explodeCount + 1, new TimerStateCallback( Detonate_OnTick ), new object[]{ from, explodeCount } );
¡¡}
¡¡À§¿Í °°ÀÌ º¯°æÇØÁÖ¸é 3, 2, 1, Æø¹ß ¶Ç´Â 4, 3, 2, 1, Æø¹ß ÆÐÅÏÀ» °®½À´Ï´Ù.
¡¡2. Æø¹ß Æ÷¼Ç¿¡ Àç»ç¿ë ÅÒÀ» µÎ°í ½Í´Ù.
¡¡easyUO µîÀ» ÀÌ¿ëÇÏ¸é ·£´ýÇÏ°Ô Ä«¿îÆ® ÆÐÅÏÀ» °®´õ¶óµµ
¡¡°ÅÀÇ 90% ÀÌ»óÀ¸·Î ¸íÁßÀ» ½Ãų ¼ö ÀÖ½À´Ï´Ù.
¡¡¹«ºÐº°ÇÑ Æø¹ß Æ÷¼ÇÀÇ »ç¿ëÀ» ¸·°í ½Í´Ù. ±×·¡¼ 5ÃÊÀÇ ±â°£À» µÎ°í ½Í´Ù.
¡¡ÀÌ·¸´Ù¸é.
¡¡public override void Drink( Mobile from )
¡¡{
¡¡¡¡if ( Core.AOS && (from.Paralyzed || from.Frozen || (from.Spell != null && from.Spell.IsCasting)) )
¡¡¡¡{
¡¡¡¡¡¡from.SendLocalizedMessage( 1062725 ); // You can not use a purple potion while paralyzed.
¡¡¡¡¡¡return;
¡¡¡¡}
¡¡¡¡ThrowTarget targ = from.Target as ThrowTarget;
¡¡¡¡if ( targ != null && targ.Potion == this )
¡¡¡¡¡¡return;
¡¡¡¡from.RevealingAction();
¡¡¡¡if ( m_Users == null )
¡¡¡¡¡¡m_Users = new ArrayList();
¡¡¡¡if ( !m_Users.Contains( from ) )
¡¡¡¡¡¡m_Users.Add( from );
¡¡¡¡from.Target = new ThrowTarget( this );
¡¡¡¡if ( m_Timer == null )
¡¡¡¡{
¡¡¡¡¡¡from.SendLocalizedMessage( 500236 ); // You should throw it now!
¡¡¡¡¡¡m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 0.75 ), TimeSpan.FromSeconds( 1.0 ), 4, new TimerStateCallback( Detonate_OnTick ), new object[]{ from, 3 } );
¡¡¡¡}
¡¡}
¡¡±âº»ÀûÀ¸·Î´Â À§¿Í °°ÀÌ µÇ¾î ÀÖ½À´Ï´Ù. ÀÌÁ¦ºÎÅÍ À̰ÍÀ»,
¡¡public override void Drink( Mobile from )
¡¡{
¡¡¡¡if ( Core.AOS && (from.Paralyzed || from.Frozen || (from.Spell != null && from.Spell.IsCasting)) )
¡¡¡¡{
¡¡¡¡¡¡from.SendLocalizedMessage( 1062725 ); // You can not use a purple potion while paralyzed.
¡¡¡¡¡¡return;
¡¡¡¡}
¡¡¡¡ThrowTarget targ = from.Target as ThrowTarget;
¡¡¡¡if ( targ != null && targ.Potion == this )
¡¡¡¡¡¡return;
¡¡¡¡if ( from.BeginAction(typeof(BaseExplosionPotion)) || m_Timer != null )
¡¡¡¡{
¡¡¡¡¡¡from.RevealingAction();
¡¡¡¡¡¡if ( m_Users == null )
¡¡¡¡¡¡¡¡m_Users = new ArrayList();
¡¡¡¡¡¡if ( !m_Users.Contains( from ) )
¡¡¡¡¡¡¡¡m_Users.Add( from );
¡¡¡¡¡¡from.Target = new ThrowTarget( this );
¡¡¡¡¡¡Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), new TimerStateCallback( ReleaseExplosionLock ), from );
¡¡¡¡¡¡if ( m_Timer == null )
¡¡¡¡¡¡{
¡¡¡¡¡¡¡¡from.SendLocalizedMessage( 500236 ); // You should throw it now!
¡¡¡¡¡¡¡¡m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 0.75 ), TimeSpan.FromSeconds( 1.0 ), 4, new TimerStateCallback( Detonate_OnTick ), new object[]{ from, 3 } );
¡¡¡¡¡¡}
¡¡¡¡}
¡¡¡¡else
¡¡¡¡{
¡¡¡¡¡¡from.LocalOverheadMessage(MessageType.Regular, 0x22, false, "Æø¹ß Æ÷¼ÇÀ» ´Ù½Ã »ç¿ëÇÏ·Á¸é Á» ´õ ±â´Ù·Á¾ß ÇÕ´Ï´Ù.");
¡¡¡¡}
¡¡}
¡¡private static void ReleaseExplosionLock( object state )
¡¡{
¡¡¡¡((Mobile)state).EndAction( typeof( BaseExplosionPotion ) );
¡¡}
¡¡À§¿Í °°ÀÌ º¯°æÇϸé ÁÁ½À´Ï´Ù.
¡¡easyuo, razor µî¿¡ ÀÇÇÑ explosion potion ¸ÅÅ©·Î´Â ¿©·¯¸ð·Î
¡¡°ñÄ¡ ¾ÆÇ Á¸ÀçÀÔ´Ï´Ù. ·±À¯¿À(RunUO) Ãʱ⠻óÅ·δ explosion potionÀÇ
¡¡2bom, 3bom µîÀ» Çã¿ëÇϰí ÀÖ±â 떄¹®¿¡ ¿©·¯ ¹®Á¦¸¦ ¹ß»ý½Ãŵ´Ï´Ù.
¡¡À§ÀÇ ¹æ¹ýÀº ¿Ü±¹ÀÇ H¼¹ö¿¡¼ »ç¿ëÁßÀÎ ¾ÈƼ ¸ÅÅ©·Î ÄÚµåÀε¥,
¡¡explosion potionÀÇ ¾ÈƼ ¸ÅÅ©·Î´Â À̿ܿ¡µµ ¿©·¯°¡Áö ¹æ¹ýÀÌ ÀÖÀ» ¼ö ÀÖ½À´Ï´Ù.
¡¡Á¦ °æ¿ì¿¡µµ ´Ù¸¥ ÇüÅ·Π¾ÈƼ ¸ÅÅ©·Î¸¦ ±¸ÇöÇϰí ÀÖ°í
¡¡ÀÌ·± ºÎºÐ¿¡ ´ëÇØ¼± µ¶ÀÚÀûÀÎ ¿¬±¸°¡ ÇÊ¿äÇϰÚÁÒ?
¡¡¾îÂîµÇ¾úµç 8ÆíÀº ¿©±â±îÁöÀÔ´Ï´Ù.
¡¡°ø°³µÈ »çÇ׿¡ ´ëÇÑ ¹®ÀÇÁ¡À̳ª Ãß°¡·Î ¿äûÇÏ°í ½ÍÀº ³»¿ëÀÌ ÀÖÀ¸½Ã¸é
¡¡´ñ±Û·Î ³²°ÜÁÖ¼¼¿ä. |
|