Ejemplo n.º 1
0
        public virtual void OnTeamMemberAdded(PvPTeam team, PlayerMobile pm)
        {
            team.Broadcast("{0} has joined the battle.", pm.RawName);

            if (UseTeamColors)
            {
                pm.SolidHueOverride = team.Color;
            }
        }
Ejemplo n.º 2
0
        public virtual void OnTeamMemberRemoved(PvPTeam team, PlayerMobile pm)
        {
            team.Broadcast("{0} has left the battle.", pm.RawName);

            pm.SolidHueOverride = -1;

            pm.EndAction(typeof(IncognitoSpell));

            pm.NameMod = null;
            pm.BodyMod = 0;
            pm.HueMod  = -1;

            pm.SetHairMods(-1, -1);
        }
Ejemplo n.º 3
0
        public virtual void OnTeamMemberAdded(PvPTeam team, PlayerMobile pm)
        {
            team.Broadcast("{0} has joined the battle.", pm.RawName);

            if (UseTeamColors)
            {
                pm.SolidHueOverride = team.Color;
            }

            if (UseIncognito)
            {
                pm.BeginAction(typeof(IncognitoSpell));

                pm.NameMod = NameList.RandomName(pm.Female ? "female" : "male");

                var race = pm.Race ?? Race.DefaultRace;

                pm.BodyMod = race.Body(pm);
                pm.HueMod  = race.RandomSkinHue();

                pm.SetHairMods(race.RandomHair(pm.Female), race.RandomFacialHair(pm.Female));
            }
        }
Ejemplo n.º 4
0
 public virtual void OnTeamMemberRemoved(PvPTeam team, PlayerMobile pm)
 {
     team.Broadcast("{0} has left the battle.", pm.RawName);
     pm.SolidHueOverride = -1;
 }