コード例 #1
0
ファイル: State.xaml.cs プロジェクト: rafapena/SideBattleRPG
 protected override void OnCreate(SQLiteConnection conn)
 {
     Base.Create(conn);
     PassiveEffectAttributes.Create(conn);
     PassiveEffectRates.Create(conn);
     StatMods.Create(conn);
     SQLCreate(conn, "BaseObjectID, PassiveEffectID, StatModifiers, MaxStack, StepsToRemove, ContactSpreadRate, Stun, Petrify, KO",
               "@BaseObjectID, @PassiveEffectID, @StatModifiers, @MaxStack, @StepsToRemove, @ContactSpreadRate, @Stun, @Petrify, @KO");
 }
コード例 #2
0
 protected override void OnCreate(SQLiteConnection conn)
 {
     Base.Create(conn);
     PassiveEffectAttributes.Create(conn);
     PassiveEffectRates.Create(conn);
     SQLCreate(conn, "BaseObjectID, PassiveEffectID, MapForeground, MapBackground, BattleForeground, BattleBackground, " +
               "Accuracy, Evasion, CriticalRate, CritEvadeRate",
               "@BaseObjectID, @PassiveEffectID, @MapForeground, @MapBackground, @BattleForeground, @BattleBackground, " +
               "@Accuracy, @Evasion, @CriticalRate, @CritEvadeRate");
 }
コード例 #3
0
 protected override void OnCreate(SQLiteConnection conn)
 {
     Base.Create(conn);
     PassiveEffectAttributes.Create(conn);
     PassiveEffectRates.Create(conn);
     StatMods.Create(conn);
     SQLCreate(conn, "BaseObjectID, PassiveEffectID, StatModifiers, HPMin, HPMax, SPMin, SPMax, AnyState, NoState, " +
               "StateActive1, StateActive2, StateInactive1, StateInactive2, ExpGainRate, GoldGainRate, AllyCondition, FoeCondition, UserCondition",
               "@BaseObjectID, @PassiveEffectID, @StatModifiers, @HPMin, @HPMax, @SPMin, @SPMax, @AnyState, @NoState, " +
               "@StateActive1, @StateActive2, @StateInactive1, @StateInactive2, @ExpGainRate, @GoldGainRate, @AllyCondition, @FoeCondition, @UserCondition");
 }