public static int GetRegenBonus(Mobile mobile) { if (ActiveTable == null || !ActiveTable.ContainsKey(mobile)) { return(0); } Mobile user = ActiveTable[mobile]; if (user != null) { if (VirtueHelper.IsKnight(user, VirtueName.Humility)) { return(30); } if (VirtueHelper.IsFollower(user, VirtueName.Humility)) { return(20); } if (VirtueHelper.IsSeeker(user, VirtueName.Humility)) { return(10); } } return(0); }
public static int GetReduction(Mobile m) { if (VirtueHelper.IsKnight(m, VirtueName.Spirituality)) { return(20); } if (VirtueHelper.IsFollower(m, VirtueName.Spirituality)) { return(10); } if (VirtueHelper.IsSeeker(m, VirtueName.Spirituality)) { return(5); } return(0); }
private int GetPool(Mobile user) { if (VirtueHelper.IsKnight(user, VirtueName.Spirituality)) { return(200); } if (VirtueHelper.IsFollower(user, VirtueName.Spirituality)) { return(100); } if (VirtueHelper.IsSeeker(user, VirtueName.Spirituality)) { return(50); } return(0); }