Skip to content

Releases: Dawn-of-Light/DOLSharp

1.9.7.3756

17 Sep 06:44
cd77042
Compare
Choose a tag to compare
Fix Focus spells (#250)

* Cleanup fake object creation

* Remove NSubstitute dependency

* Make GameEventMgr test friendly

* Remove fake factory

Refine the instantiation and handling of fakes a bit
Make GameEventMgr fakeable (and spyable)
Make Time(Manager) fakeable

* Fix focus spells

Add tests for focus spell bug
Add tests for event subscription bug in focus spells
Fix event spam from focus spells
Fix focus spells not immediately ending when rupted/stopped
Fix focus spells not stopping when attacked

* Cleanup RampingDamageFocus

1.9.7.3755

15 Sep 18:33
2470746
Compare
Choose a tag to compare
Add /vault command (#247)

* Added

* Added allow_vault_command property

* Added commands/playercommands/vault.cs

1.9.7.3754

15 Sep 18:27
13ac921
Compare
Choose a tag to compare
Fix guild commands not working (#249)

1.9.7.3753

08 Sep 08:56
eb6775f
Compare
Choose a tag to compare
Added sell command (#246)

Added a command to sell items to merchants.  Useful for macros.

1.9.7.3752

07 Sep 10:13
a00ef34
Compare
Choose a tag to compare
Fix most aspects of focus damage spells (#245)

* Make GameServer usable in tests

* Add RampingDamageFocus for Heretics

This replaces HereticDamageLostOnPulse and HereticDamageSpeedDecreaseLOP
Changes:
- no double ticks
- snare doesn't give immunity
- damage increase is now linear
- damage calculation now taken from DD
- damage caps at given damage increase percentage
- uninterruptible flag makes focus ruptible only within 200 range (spell
cast completely uninterruptible for now)
- caster is able to switch target without breaking focus (focus not
following)

* Fix DelveInfo for RampingDamageFocus

1.9.7.3751

07 Sep 05:18
aad2baf
Compare
Choose a tag to compare
Fix null exception for BD pets without subpets (#241)

When pets level with owner, and BD pet spells are capped based on spec, and the current pet doesn't have any subpets, a null exception would be thrown which leads to the player's spell list not being updated.

1.9.7.3747

21 Aug 13:46
adbeaeb
Compare
Choose a tag to compare
Regression fix: Snare/Root not slowing (#240)

1.9.7.3746

07 Jun 17:55
576334c
Compare
Choose a tag to compare
Fix Heretic single damage-only focus spells (#233)

* Make Util non-static

Change extension method calls to regular method calls for: Util.Foreach, .AddRange, .SplitCSV
Remove extension status from methods: Util.Foreach, .AddRange, .Shuffle, .ContainsKey and .SplitCSV
Make Util non-static
Make Util singleton

* Make Util.Random(Double) fakeable

Make Util.Random(Double) fakeable so unit tests can be created deterministic

* Cleanup noise in HereticDamageLostOnPulse

Remove commented out code
Remove unused using statements

* Make LanguageMgr non-static

Remove extension status from LanguageMgr.GetTranslation
Remove extension status from LanguageMgr.TryTranslateOrDefault
Make LanguageMgr a singleton

* Make LanguageMgr.TryGetTranslation fakeable

Extract method body to TryGetTranslationImpl
Make TryGetTranslationImpl non-static, virtual and protected

* Make LanguageMgr initializable in tests

Make LangPath init lazy (only assigned when called)
Make LangPath fakeable (via LangPathImpl)

* Add three tests to HereticDoTLostOnPulse

Override GetPlayersInRadius in FakePlayer and FakeNPC
Override ResetCombatTimer in FakePlayer
Add FakeRegion and FakeRegionData
Override CurrentRegion in FakePlayer and FakeNPC to return FakeRegion
Add MockPlayer in HereticFocusSpells unit tests to sense lastDealtDamage

* Fix Damage of HereticDamageLostOnPulse

Changed growth to be dependent on spell.LifeDrainReturn table column
Added growth_cap (dependent on spell.AmnesiaChance table column)
Changed growth of damage to be linear rather than exponential

* Add duration limit to HereticDamageLostOnPulse

1.9.7.3745

27 May 23:12
8c3e26c
Compare
Choose a tag to compare
fix an issue with NPCCreationRequestHandler in v1.126 (#232)

1.9.7.3744

25 May 08:51
eb45816
Compare
Choose a tag to compare
Appveyor love (#230)

* Fix: Unit tests with 1.124 support