| CODE |
| [Flags] public enum AosAttribute { RegenHits = 0x00000001,// RegenStam = 0x00000002,// RegenMana = 0x00000004,// DefendChance = 0x00000008,// AttackChance = 0x00000010,// BonusStr = 0x00000020,// BonusDex = 0x00000040,// BonusInt = 0x00000080,// BonusHits = 0x00000100,// BonusStam = 0x00000200,// BonusMana = 0x00000400,// WeaponDamage = 0x00000800,// WeaponSpeed = 0x00001000,// SpellDamage = 0x00002000,// CastRecovery = 0x00004000,// CastSpeed = 0x00008000,// LowerManaCost = 0x00010000,// LowerRegCost = 0x00020000,// ReflectPhysical = 0x00040000,// EnhancePotions = 0x00080000,// Luck = 0x00100000,// SpellChanneling = 0x00200000, // NightSight = 0x00300000 } |
| CODE |
| [CommandProperty( AccessLevel.GameMaster )] public int EnhancePotions{ get{ return this[AosAttribute.EnhancePotions]; } set{ this[AosAttribute.EnhancePotions] = value; } } [CommandProperty( AccessLevel.GameMaster )] public int Luck{ get{ return this[AosAttribute.Luck]; } set{ this[AosAttribute.Luck] = value; } } [CommandProperty( AccessLevel.GameMaster )] public int SpellChanneling{ get{ return this[AosAttribute.SpellChanneling]; } set{ this[AosAttribute.SpellChanneling] = value; } } [CommandProperty( AccessLevel.GameMaster )] public int NightSight{ get{ return this[AosAttribute.NightSight]; } set{ this[AosAttribute.NightSight] = value; } } |
| CODE |
public enum blablabla { Zero, Un, Deux, Trois, Dix = 10, Onze, Douze, CentVingtQuatre = 124, CentVingtCinq } |