mirror of
https://github.com/TurTaskProject/TurTaskWeb.git
synced 2025-12-18 21:44:07 +01:00
Remove unready stat calculation
This commit is contained in:
parent
661b178715
commit
0c256bf003
@ -110,17 +110,6 @@ class Task(models.Model):
|
||||
else:
|
||||
return 4
|
||||
|
||||
def get_exp(self):
|
||||
return self.user.level * (0.2*self.difficulty) * (0.3*self.user.userstats.luck)
|
||||
|
||||
def get_reward(self):
|
||||
pass
|
||||
|
||||
def get_penalty(self):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
self.priority = self.calculate_eisenhower_matrix_category()
|
||||
super(Task, self).save(*args, **kwargs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user