mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Step 1. Add new adapter classes and models All classes and objects added are in new namespaces. This add has 0 interraction on existing ACE code. This sets the groundwork for Step 2. Moving World DB caching to the new models * first part of the world entity usage * almost there * final part * update WeenieExtensions * fix * merge fixes and improvements * More code ported from Step 3 * Update WorldDatabaseWithEntityCache.cs * GetCachedCookbooks(recpieId) -> GetCookbooksByRecipeId(recpieId) * build fix * changelog
16 lines
351 B
C#
16 lines
351 B
C#
using ACE.Entity.Enum;
|
|
|
|
namespace ACE.Server.Entity
|
|
{
|
|
public class BodyPartProbability
|
|
{
|
|
public CombatBodyPart BodyPart;
|
|
public float Probability;
|
|
|
|
public BodyPartProbability(CombatBodyPart bodyPart, float probability)
|
|
{
|
|
BodyPart = bodyPart;
|
|
Probability = probability;
|
|
}
|
|
}
|
|
}
|