mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-14 05:13:14 -04:00
Fixed equality instead of assignment errors
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user