protected override void OnUpdate(SQLiteConnection conn) { Base.Update(conn); PassiveEffectAttributes.Update(conn); PassiveEffectRates.Update(conn); StatMods.Update(conn); SQLUpdate(conn, "MaxStack = @MaxStack, StepsToRemove = @StepsToRemove, ContactSpreadRate = @ContactSpreadRate, Stun = @Stun, Petrify = @Petrify, KO = @KO"); }
protected override void OnUpdate(SQLiteConnection conn) { Base.Update(conn); PassiveEffectAttributes.Update(conn); PassiveEffectRates.Update(conn); SQLUpdate(conn, "BaseObjectID=@BaseObjectID, PassiveEffectID=@PassiveEffectID, " + "MapForeground=@MapForeground, MapBackground=@MapBackground, BattleForeground=@BattleForeground, BattleBackground=@BattleBackground, " + "Accuracy=@Accuracy, Evasion=@Evasion, CriticalRate=@CriticalRate, CritEvadeRate=@CritEvadeRate"); }
protected override void OnUpdate(SQLiteConnection conn) { Base.Update(conn); PassiveEffectAttributes.Update(conn); PassiveEffectRates.Update(conn); StatMods.Update(conn); SQLUpdate(conn, "BaseObjectID=@BaseObjectID, PassiveEffectID=@PassiveEffectID, StatModifiers=@StatModifiers, HPMin=@HPMin, HPMax=@HPMax, " + "SPMin=@SPMin, SPMax=@SPMax, AnyState=@AnyState, NoState=@NoState, StateActive1=@StateActive1, StateActive2=@StateActive2, " + "StateInactive1=@StateInactive1, StateInactive2=@StateInactive2, ExpGainRate=@ExpGainRate, GoldGainRate=@GoldGainRate, " + "AllyCondition=@AllyCondition, FoeCondition=@FoeCondition, UserCondition=@UserCondition"); }