learn
Function of @v12-engine/engine
ts
export declare function learn(world: World, hero: Entity, ability: string): boolean;Teaches the hero one level of an ability and spends a point on it; returns false when canLearn says it cannot