hello I have a doubt I'm creating a configuration to limit casting speed for each class but if the value of a class is different from the other I have the value of the last configuration.
I created a loop to map all configuration:
int val = (int) calcStat(Stats.MAGIC_ATTACK_SPEED, base, null, null);
for (String className : Config.LIMIT_CASTING_SPEED.keySet())
{
if (Config.LIMIT_CASTING_SPEED.containsKey(_actor.getClassId().toString()) && val > Config.LIMIT_CASTING_SPEED.get(className))
val = Config.LIMIT_CASTING_SPEED.get(className);
}
Cardinal-1000;Arcana Lord-1300
let's say if the value is like this I get 1300 for all.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
u mentioned Russians too, what about them? and the war has nothing to do with the topic, the guy is delaying him on purpose cuz he cant deliver anything.
I never said I hate Russians. Please read carefully.
What I meant is that, due to the ongoing war and other circumstances, I would avoid outsourcing development work to Ukrainian developers at the moment. The limited access to electricity throughout the day and the risk of being called to war at any time make it challenging for them to ensure timely delivery.
Unfortunately, working with Ukrainian developers right now can be unreliable.
Question
DzStunk
hello I have a doubt I'm creating a configuration to limit casting speed for each class but if the value of a class is different from the other I have the value of the last configuration.
I created a loop to map all configuration:
int val = (int) calcStat(Stats.MAGIC_ATTACK_SPEED, base, null, null); for (String className : Config.LIMIT_CASTING_SPEED.keySet()) { if (Config.LIMIT_CASTING_SPEED.containsKey(_actor.getClassId().toString()) && val > Config.LIMIT_CASTING_SPEED.get(className)) val = Config.LIMIT_CASTING_SPEED.get(className); }
Cardinal-1000;Arcana Lord-1300
let's say if the value is like this I get 1300 for all.
Fixed I used the java 17 documentation to understand a little about Maps Map (Java SE 17 & JDK 17) (oracle.com)
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.