forked from github/server
Ponnuki should not be aggressive.
This commit is contained in:
parent
bf935f5bb7
commit
ad465f1028
|
@ -38,6 +38,7 @@ function ponnuki.init()
|
||||||
u.name = "Ponnuki"
|
u.name = "Ponnuki"
|
||||||
u.info = "Go, Ponnuki, Go!"
|
u.info = "Go, Ponnuki, Go!"
|
||||||
u.race_name = "Ritter von Go"
|
u.race_name = "Ritter von Go"
|
||||||
|
u.status = 5 -- FLIEHE
|
||||||
print(u:show())
|
print(u:show())
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
|
@ -748,10 +748,6 @@ void plan_monsters(faction * f)
|
||||||
produceexp(u, SK_PERCEPTION, u->number);
|
produceexp(u, SK_PERCEPTION, u->number);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->status > ST_BEHIND) {
|
|
||||||
setstatus(u, ST_FIGHT);
|
|
||||||
/* all monsters fight */
|
|
||||||
}
|
|
||||||
if (attacking && (!r->land || is_guard(u))) {
|
if (attacking && (!r->land || is_guard(u))) {
|
||||||
monster_attacks(u, true, false);
|
monster_attacks(u, true, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue