예제 #1
0
 public L2Door(int objectId, CharTemplate template) : base(objectId, template)
 {
     Type   = 1;
     Closed = 1;
     MeshId = 1;
     Level  = 1;
 }
예제 #2
0
 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;
 }
예제 #3
0
    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;
    }
예제 #4
0
 public L2StaticObject(int objectId, CharTemplate template) : base(objectId, template)
 {
 }
예제 #5
0
파일: L2Chair.cs 프로젝트: LFBRxD/L2dotNET
 public L2Chair(int objectId, CharTemplate template) : base(objectId, template)
 {
     Closed = 0;
     //MaxHp = 0;
     CharStatus.SetCurrentHp(0);
 }
예제 #6
0
 public L2TownMap(int objectId, CharTemplate template) : base(objectId, template)
 {
 }
예제 #7
0
 public L2Chair(int objectId, CharTemplate template) : base(objectId, template)
 {
     Closed = 0;
     MaxHp  = 0;
     CurHp  = 0;
 }
예제 #8
0
 public L2PvPSign(int objectId, CharTemplate template) : base(objectId, template)
 {
 }