Fixed appearance validation

Implemented proper facial hair validation
Implemented transmog Set
fix interaction of spells like Shadowmeld with Threat reducing effects
This commit is contained in:
hondacrx
2017-08-24 18:01:44 -04:00
parent 7934d51702
commit 0707f9b377
71 changed files with 2968 additions and 632 deletions
+2
View File
@@ -26,6 +26,7 @@ namespace Game.AI
{
go = g;
_scheduler = new TaskScheduler();
_events = new EventMap();
}
public virtual void UpdateAI(uint diff) { }
@@ -56,6 +57,7 @@ namespace Game.AI
public virtual void EventInform(uint eventId) { }
protected TaskScheduler _scheduler;
protected EventMap _events;
public GameObject go;
}
+1 -2
View File
@@ -218,8 +218,7 @@ namespace Game.AI
int index = RandomHelper.IRand(0, targetSpellStore.Count - 1);
var tss = targetSpellStore[index];
Spell spell = tss.Item2;
Unit target = tss.Item1;
(Unit target, Spell spell) = tss;
targetSpellStore.RemoveAt(index);