Vadelius / swlsimNET

Combat-Simulator for Secret World Legends
Other
10 stars 7 forks source link

Dynamically create/check buffs #45

Open niklasgs opened 6 years ago

niklasgs commented 6 years ago

We need to be able to dynamically create and check buffs to avoid saving timestamps everywhere (weapon classes for example).

A good starting point is Hammer weapon class since it contains several occasions where this could help us.

Instead we would do a check like (EXAMPLE NAMING!!!) "player.HasActiveBuff(FastAndFurious)".

Add UnitTest for above to BuffTest.cs.