public override void ApplyEffectKind(Person person, Event e) { Treasure t = person.Scenario.Treasures.GetGameObject(type) as Treasure; if (t.BelongedPerson != null) { t.BelongedPerson.LoseTreasure(t); } person.ReceiveTreasure(t); }