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"); }
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"); }
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"); }