[May 19 2010] - Rumble

Gave Arne Troffaes proper credit for fixing Cygwin syslog rotation.
[May 16 2010] - Rumble
  Fixed bash, NO_BASH flag was being ignored. (thanks Anderyu)
This commit is contained in:
Rumble
2010-05-19 01:45:42 +00:00
parent 5beadcf43a
commit 384d1378d2
4 changed files with 9 additions and 21 deletions

View File

@@ -2577,7 +2577,7 @@ distance, int door)
}
}
send_to_char(ch, buf);
send_to_char(ch, "%s", buf);
}
ACMD(do_scan)

View File

@@ -299,12 +299,12 @@ ACMD(do_bash)
return;
}
if (MOB_FLAGGED(vict, MOB_NOBASH))
percent = 101;
percent = rand_number(1, 101); /* 101% is a complete failure */
prob = GET_SKILL(ch, SKILL_BASH);
if (MOB_FLAGGED(vict, MOB_NOBASH))
percent = 101;
if (percent > prob) {
damage(ch, vict, 0, SKILL_BASH);
GET_POS(ch) = POS_SITTING;