Example #1
0
        static internal LuaGameClass editorSummon(TBAGW.BaseClass p)
        {
            LuaGameClass lgc = new LuaGameClass();

            lgc.parent = p;
            lgc.level  = p.classEXP.classLevel;
            lgc.ID     = p.classIdentifier;

            return(lgc);
        }
Example #2
0
 public LuaGameClass(TBAGW.BaseClass p, BaseCharacter bc)
 {
     if (!bInitialize)
     {
         Initialize();
     }
     parent    = p;
     level     = p.classEXP.classLevel;
     character = bc.toCharInfo();
     ID        = p.classIdentifier;
 }
 public void AddClass(BaseClass bc)
 {
     bc.classIdentifier = classID;
     gameClasses.Add(bc);
     classID++;
 }
 public void Reload(BaseClass bc)
 {
     baseClass = bc;
 }