[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:
@@ -2577,7 +2577,7 @@ distance, int door)
|
||||
}
|
||||
|
||||
}
|
||||
send_to_char(ch, buf);
|
||||
send_to_char(ch, "%s", buf);
|
||||
}
|
||||
|
||||
ACMD(do_scan)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user