Fixed equality instead of assignment errors

This commit is contained in:
Eric Barr
2014-03-31 22:59:01 -07:00
parent ac19597f30
commit 2591ccf029
4 changed files with 6 additions and 6 deletions
@@ -3524,7 +3524,7 @@ string[] getAutoRepeatAbilityList(obj_id bcd)
}
if(!contains)
repeatList[i] == "";
repeatList[i] = "";
}
return repeatList;
@@ -27,7 +27,7 @@ void executeProcEffects( obj_id attacker, obj_id defender, combat_data actionDat
if(actionData != null)
{
if(actionData.params != null && !actionData.params.equals(""))
params == actionData.params;
params = actionData.params;
}
if(!isMob(attacker))
@@ -169,7 +169,7 @@ messageHandler finishStaticQuest()
if (type == null)
{
type == "missing";
type = "missing";
}
if (!hasObjVar (self, questID + ".failed"))
@@ -275,7 +275,7 @@ trigger OnNpcConversationResponse (string convo, obj_id speaker, string_id respo
if (cardPlayed == null || cardPlayed == "")
{
cardPlayed == "sarlacc";
cardPlayed = "sarlacc";
}
if (cardPlayed == "thermal_detonator")
@@ -318,7 +318,7 @@ trigger OnNpcConversationResponse (string convo, obj_id speaker, string_id respo
if (cardPlayed == null || cardPlayed == "")
{
cardPlayed == "sarlacc";
cardPlayed = "sarlacc";
}
if (cardPlayed == "thermal_detonator")
@@ -361,7 +361,7 @@ trigger OnNpcConversationResponse (string convo, obj_id speaker, string_id respo
if (cardPlayed == null || cardPlayed == "")
{
cardPlayed == "sarlacc";
cardPlayed = "sarlacc";
}
if (cardPlayed == "thermal_detonator")