fix white XP
This commit is contained in:
@@ -380,11 +380,11 @@ public class Experience {
|
|||||||
|
|
||||||
baseXP *= mod;
|
baseXP *= mod;
|
||||||
|
|
||||||
baseXP *= (1.0f / g.members.size()+0.9f);
|
|
||||||
|
|
||||||
if(baseXP < 1)
|
if(baseXP < 1)
|
||||||
baseXP = 1;
|
baseXP = 1;
|
||||||
|
|
||||||
|
baseXP *= (1.0f / g.members.size()+0.9f);
|
||||||
|
|
||||||
member.grantXP((int) baseXP);
|
member.grantXP((int) baseXP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -406,12 +406,12 @@ public class Experience {
|
|||||||
mod += (leadership * 0.01f);
|
mod += (leadership * 0.01f);
|
||||||
}
|
}
|
||||||
|
|
||||||
mod += 1.9f;
|
|
||||||
|
|
||||||
baseXP *= mod;
|
baseXP *= mod;
|
||||||
if(baseXP < 1)
|
if(baseXP < 1)
|
||||||
baseXP = 1;
|
baseXP = 1;
|
||||||
|
|
||||||
|
baseXP *= 1.9f;
|
||||||
|
|
||||||
killer.grantXP((int) baseXP);
|
killer.grantXP((int) baseXP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user