public L2Door(int objectId, CharTemplate template) : base(objectId, template) { Type = 1; Closed = 1; MeshId = 1; Level = 1; }
public L2Character(int objectId, CharTemplate template) : base(objectId) { Template = template; CharacterStat = new CharacterStat(this); InitializeCharacterStatus(); Calculators = new Calculator[Models.Stats.Stats.Values.Count()]; AddFuncsToNewCharacter(); _updatePositionTime.Elapsed += UpdatePositionTask; }
void GetRandomData() { Character curChar = charToSpawn.GetComponent <Character>(); int rand = Random.Range(0, charTemplates.Count); curTemplate = charTemplates[rand]; float curScale = Random.Range(curTemplate.minSize, curTemplate.maxSize); float curForce = Random.Range(curTemplate.minSpeed, curTemplate.maxSpeed); charToSpawn.transform.localScale = new Vector3(curScale, curScale, 0); curChar.forceSpeed = curForce; }
public L2StaticObject(int objectId, CharTemplate template) : base(objectId, template) { }
public L2Chair(int objectId, CharTemplate template) : base(objectId, template) { Closed = 0; //MaxHp = 0; CharStatus.SetCurrentHp(0); }
public L2TownMap(int objectId, CharTemplate template) : base(objectId, template) { }
public L2Chair(int objectId, CharTemplate template) : base(objectId, template) { Closed = 0; MaxHp = 0; CurHp = 0; }
public L2PvPSign(int objectId, CharTemplate template) : base(objectId, template) { }