Area Changes and other fixes
Added CCOH Fixed some on death issues Fixed the gaurd Added Server Enty/ooc changed some areas back to original craftable
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
//#include "_persist_01a"
|
||||
#include "aps_include"
|
||||
|
||||
void CreatePlaceable(object oPC, string sObject, location lPlace, float fDuration);
|
||||
void CreateAMonster(string sMonster, object oPC, int iNumberOfMonsters);
|
||||
@@ -60,7 +61,8 @@ void main()
|
||||
}
|
||||
|
||||
//iFishingSkill = GetTokenPair(oPC,14,13);
|
||||
iFishingSkill = GetCampaignInt("UOACraft","iFishingSkill",oPC);
|
||||
//iFishingSkill = GetCampaignInt("UOACraft","iFishingSkill",oPC);
|
||||
iFishingSkill = GetPersistentInt(oPC,"iFishingSkill","UOACraft");
|
||||
iFishingChance = iFishingSkill;
|
||||
if (iFishingChance <350)
|
||||
{
|
||||
@@ -88,7 +90,7 @@ void main()
|
||||
int iSkillGain = 0;
|
||||
string sFishResRef = "";
|
||||
string sSuccessMessage = "";
|
||||
string sFailMessage = "You fish for a while but fail to catch anything...";
|
||||
string sFailMessage = "You fish for a while but fail to catch anything.";
|
||||
|
||||
if (iRandom <= iFishingChance)
|
||||
{
|
||||
@@ -266,7 +268,7 @@ void main()
|
||||
default:
|
||||
{
|
||||
AssignCommand(oPC,DelayCommand(11.5,(CreatePlaceable(oPC, "waterloggedcorps",GetLocation(oPC),600.0))));
|
||||
sSuccessMessage = "You have pulled a water-soaked corpse fromt he water!";
|
||||
sSuccessMessage = "You have pulled a heavy water-soaked corpse from the water!";
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -426,7 +428,7 @@ void CreateAMonster(string sMonster, object oPC, int iNumberOfMonsters)
|
||||
|
||||
for (iNumberOfMonsters; iNumberOfMonsters>0; iNumberOfMonsters--)
|
||||
{
|
||||
SendMessageToPC(oPC,"Oops! You have disrurbed a Monster!!");
|
||||
SendMessageToPC(oPC,"Oops! You have disturbed something in the water!!");
|
||||
fSelf = GetFacing(oPC)+Random(360);
|
||||
|
||||
fDistance = (IntToFloat(Random(100)+1)/10.0);
|
||||
@@ -471,7 +473,7 @@ void DelaySkill(object oPC, int iFishingSkill, string sOldSkill)
|
||||
{
|
||||
if (GetDistanceBetweenLocations(GetLocalLocation(oPC,"lIWasHere"),GetLocation(oPC))>0.8) return;
|
||||
//SetTokenPair(oPC,14,13,iFishingSkill);
|
||||
SetCampaignInt("UOACraft","iFishingSkill",iFishingSkill,oPC);
|
||||
SetPersistentInt(oPC,"iFishingSkill",iFishingSkill,0,"UOACraft");
|
||||
SendMessageToPC(oPC,"==================================");
|
||||
SendMessageToPC(oPC,"Your skill in fishing has gone up!");
|
||||
SendMessageToPC(oPC,"Current fishing skill : "+ sOldSkill+"%");
|
||||
|
Reference in New Issue
Block a user