[Change] Increased requirements on DV patrol missions.
This commit is contained in:
parent
a867e1184e
commit
18fe746053
@ -152,7 +152,8 @@
|
||||
+ <mission name="Dvaered Patrol">
|
||||
<lua>dvaered/dv_patrol</lua>
|
||||
<avail>
|
||||
<chance>366</chance>
|
||||
<chance>366</chance>
|
||||
<cond>player.getfaction("Dvaered") > 5 and player.getRating() > 100</cond>
|
||||
<location>Computer</location>
|
||||
<faction>Dvaered</faction>
|
||||
</avail>
|
||||
|
@ -58,7 +58,7 @@ static const luaL_reg pilotL_methods[] = {
|
||||
{ "warp", pilotL_warp },
|
||||
{ "broadcast", pilotL_broadcast },
|
||||
{ "setFaction", pilotL_setFaction },
|
||||
{ "setHostile", pilotL_setHosile },
|
||||
{ "setHostile", pilotL_setHostile },
|
||||
{ 0, 0 }
|
||||
}; /**< Pilot metatable methods. */
|
||||
|
||||
@ -642,7 +642,7 @@ static int pilotL_setFaction(lua_State* L) {
|
||||
* @brief Set the pilot as hostile to player.
|
||||
* @luafunc setHostile()
|
||||
*/
|
||||
static int pilotL_setHostile() {
|
||||
static int pilotL_setHostile(lua_State* L) {
|
||||
LuaPilot* lp;
|
||||
Pilot* p;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user