Changed how effects are applied and removed to enable effects expiring after a set duration.
This commit is contained in:
@@ -9,9 +9,4 @@ Schemas.Buff = new SimpleSchema({
|
||||
effect: {
|
||||
type: Schemas.Effect
|
||||
}
|
||||
});
|
||||
|
||||
Buff = function(name, stat, value){
|
||||
this.stat = stat;
|
||||
this.effect = new Effect(name, value);
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user