Пример #1
0
 protected override string[] OnCreate(SQLiteConnection conn)
 {
     StateRates.Create(conn);
     ElementRates.Create(conn);
     SQLDB.Write(conn, "UPDATE PassiveEffect SET ElementRates = '" + ElementRates.StringList + "' WHERE PassiveEffect_ID = " + ClassTemplateId + ";");
     return(null);
 }
Пример #2
0
 protected override void OnCreate(SQLiteConnection conn)
 {
     Base.Create(conn);
     ScaledStats.Create(conn);
     ElementRates.Create(conn);
     SQLCreate(conn, "BaseObjectID, ScaledStats, EnemyClass, ElementRates, Width, Height, BossType, Flying, Exp, Gold",
               "@BaseObjectID, @ScaledStats, @EnemyClass, @ElementRates, @Width, @Height, @BossType, @Flying, @Exp, @Gold");
     StateRates.Create(conn);
 }
Пример #3
0
 protected override void OnCreate(SQLiteConnection conn)
 {
     Base.Create(conn);
     NatStats.Create(conn);
     ElementRates.Create(conn);
     SQLCreate(conn, "BaseObjectID, NaturalStats, ElementRates, Companionship, SavePartnerRate, CounterattackRate, AssistDamageRate",
               "@BaseObjectID, @NaturalStats, @ElementRates, @Companionship, @SavePartnerRate, @CounterattackRate, @AssistDamageRate");
     ClassChoices.Create(conn);
     Skills.Create(conn);
     StateRates.Create(conn);
     Relations.Create(conn);
 }