forked from Shmerrick/ProjectWAR
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repaired the compile error updated packages added CPU support
- Loading branch information
Showing
384 changed files
with
785,125 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using FrameWork; | ||
using System; | ||
|
||
namespace Common.Database.World.Creatures | ||
{ | ||
[DataTable(PreCache = false, TableName = "boss_spawn_phases", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)] | ||
[Serializable] | ||
public class BossSpawnPhase : DataObject | ||
{ | ||
[PrimaryKey] | ||
public int BossSpawnId { get; set; } | ||
|
||
[PrimaryKey] | ||
public int PhaseId { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Name of this ability | ||
public string Name { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using FrameWork; | ||
using System; | ||
|
||
namespace Common.Database.World.Creatures | ||
{ | ||
[DataTable(PreCache = false, TableName = "boss_spawn", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)] | ||
[Serializable] | ||
public class BossSpawn : DataObject | ||
{ | ||
[PrimaryKey] | ||
public int BossSpawnId { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] | ||
public int ProtoId { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] | ||
public int SpawnGuid { get; set; } | ||
|
||
[DataElement(AllowDbNull = true)] | ||
public string Name { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] | ||
public int Enabled { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using FrameWork; | ||
using System; | ||
|
||
namespace Common.Database.World.Creatures | ||
{ | ||
[DataTable(PreCache = false, TableName = "boss_spawn_abilities", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)] | ||
[Serializable] | ||
public class BossSpawnAbilities : DataObject | ||
{ | ||
[PrimaryKey(AutoIncrement = true)] | ||
public int UniqueId { get; set; } | ||
|
||
[PrimaryKey] | ||
public int BossSpawnId { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Name of this ability | ||
public string Name { get; set; } | ||
|
||
[DataElement(AllowDbNull = true)] // Speech to emote on execution | ||
public string Speech { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Function that must be true for this to activate | ||
public string Condition { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Function to be called on execution | ||
public string Execution { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Chance of execution if Condition is true | ||
public int ExecuteChance { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // How long to cool down this ability (0 = none) | ||
public int CoolDown { get; set; } | ||
|
||
[DataElement(AllowDbNull = true)] // Sounds to play | ||
public string Sound { get; set; } | ||
|
||
[DataElement(AllowDbNull = true)] // * - any phase, (1,2,3..) specific phase | ||
public string Phase { get; set; } | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
Common/Database/World/Creatures/Creature_Smart_Abilities.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using FrameWork; | ||
using System; | ||
|
||
namespace Common.Database.World.Creatures | ||
{ | ||
[DataTable(PreCache = false, TableName = "creature_smart_abilities", DatabaseName = "World", BindMethod = EBindingMethod.StaticBound)] | ||
[Serializable] | ||
public class CreatureSmartAbilities : DataObject | ||
{ | ||
[PrimaryKey(AutoIncrement = true)] | ||
public int Guid { get; set; } | ||
|
||
[PrimaryKey] | ||
public int CreatureTypeId { get; set; } | ||
|
||
[PrimaryKey] | ||
public int CreatureSubTypeId { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Description of this type/subtype - for ease of understanding | ||
public string CreatureTypeDescription { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Name of this ability | ||
public string SpellCastName { get; set; } | ||
|
||
[DataElement(AllowDbNull = true)] // Speech to emote on execution | ||
public string SpellCastSpeech { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Function that must be true for this to activate | ||
public string SpellCondition { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Function to be called on execution | ||
public string SpellCastExecution { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // Chance of execution if Condition is true | ||
public int SpellExecuteChance { get; set; } | ||
|
||
[DataElement(AllowDbNull = false)] // How long to cool down this ability (0 = none) | ||
public int SpellCastCoolDown { get; set; } | ||
|
||
[DataElement(AllowDbNull = true)] // Sounds to play | ||
public string SpellCastSound { get; set; } | ||
} | ||
} |
Oops, something went wrong.