|
@@ -264,8 +264,8 @@ CharMan::CharMan(std::string &buffer, std::string &work, std::string &text,
|
|
|
if (pos_len.size() > 0) {
|
|
|
for (int i = 0; i < (int)pos_len.size(); ++i) {
|
|
|
int active = 0;
|
|
|
-
|
|
|
- if (random_activate(level * 11)) {
|
|
|
+
|
|
|
+ if (random_activate(level * 11)) {
|
|
|
int c = word_mangler(pos_len[i]);
|
|
|
if (c) {
|
|
|
active = 1;
|
|
@@ -274,15 +274,16 @@ CharMan::CharMan(std::string &buffer, std::string &work, std::string &text,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if (random_activate(level * 11)) {
|
|
|
+
|
|
|
+ if (random_activate(level * 11)) {
|
|
|
if (word_wrangler(pos_len[i])) {
|
|
|
this->mangle_count++;
|
|
|
active = 1;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (!active && random_activate(level)) {
|
|
|
+
|
|
|
+ if (!active && random_activate(((level + 1) / 2))) {
|
|
|
if (word_tangler(pos_len[i])) {
|
|
|
this->need_render = 1;
|
|
|
}
|