Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func int C_PlayerIsFakeBandit (var C_NPC slf, var C_NPC oth)
- {
- var C_Item itm;
- if (slf.aivar [AIV_IgnoresArmor] == TRUE)
- {
- return FALSE;
- };
- if (slf.aivar [AIV_IgnoresFakeGuild] == TRUE)
- {
- return FALSE;
- };
- if slf.guild == GIL_PIR
- {
- return FALSE;
- };
- if (Npc_HasEquippedArmor (oth) == TRUE)
- {
- itm = Npc_GetEquippedArmor(oth);
- if ((Hlp_IsItem(itm, ITAR_BDT_M) == TRUE)
- || (Hlp_IsItem (itm, ItAR_Thorus_Addon) == TRUE)
- || (Hlp_IsItem (itm, ITAR_BDT_H) == TRUE))
- {
- return TRUE;
- }
- else
- {
- RETURN FALSE;
- };
- }
- else if slf.guild == GIL_BDT
- && CurrentLevel == ADDONWORLD_ZEN
- && Player_HasTalkedToBanditCamp == TRUE
- {
- return TRUE;
- }
- else
- {
- return FALSE;
- };
- if Npc_IsPlayer (self)
- && oth.guild == GIL_MIL
- && CASSIA_MELCHIORDEAD == TRUE
- {
- return TRUE;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement