BUmb
|
Project Insanity.
How i fix this problem guys.
If i hit someone with dds, sentence came for the other player: "You've been poisioned!" this sentence came every hit.
I want this sentence came only, if i hit him only 1 hit, not each hit ( spam )
Sorry for my bad grammer.
BUmb
Can you post the you have been posioned code?
public void appendPoison(int damage) {
if (System.currentTimeMillis() - c.lastPoisonSip > c.poisonImmune) {
c.sendMessage("You've been poisoned!");
c.poisonDamage = damage;
}
}
I don't know what the lastpoisonSip and poisonImmune mean.
Dam Need help !
Is this method used in your Client class' process() method?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |