public static void ActStoned(BaseCreature mobile) { mobile.Direction = (Direction)Utility.Random(8); if (s_HumanTalked == false) { s_HumanTalked = true; SayStonedRandom(stonedsay, mobile); mobile.PlaySound(0x420); // coughing StonedSpamTimer t = new StonedSpamTimer(); t.Start(); if (1 == Utility.Random(20)) { mobile.PlaySound(mobile.Female ? 794 : 1066); } } }
public static void ActStoned(BaseCreature mobile) { mobile.Direction = (Direction)Utility.Random( 8 ); if( s_HumanTalked == false ) { s_HumanTalked = true; SayStonedRandom( stonedsay, mobile ); mobile.PlaySound( 0x420 ); // coughing StonedSpamTimer t = new StonedSpamTimer(); t.Start(); if (1 == Utility.Random(20)) mobile.PlaySound( mobile.Female ? 794 : 1066 ); } }