UOProject

Initiate
Messing around with eventsinks but I somehow cannot get the event to recognize the mobile

public static void Initialize()
{
EventSink.OnKilledBy += EventSink_OnKilledBy;
}

private static void EventSink_OnKilledBy(OnKilledByEventArgs e)
{
if (e.KilledBy is NewDrake && e.Killed is BaseCreature && ((BaseCreature)e.Killed).IsMonster)
{
NewDrake drake = e.KilledBy as NewDrake;

drake.Say("Hello");
drake.Hue = 33;
}
}


NewDrake isnt changing hue or saying hello :( Not sure whats wrong with the codes, help would be appreciated! thank you
 

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back