Advertisement
Guest User

Untitled

a guest
May 28th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. // **************************************************
  2. // KIRGO SUCCESS
  3. // **************************************************
  4.  
  5. INSTANCE DIA_Scatty_KirgoSuccess (C_INFO)
  6. {
  7. npc = Grd_210_Scatty;
  8. nr = 1;
  9. condition = DIA_Scatty_KirgoSuccess_Condition;
  10. information = DIA_Scatty_KirgoSuccess_Info;
  11. permanent = 0;
  12. description = "Ich habe gegen Kirgo gekämpft!";
  13. };
  14.  
  15. FUNC INT DIA_Scatty_KirgoSuccess_Condition()
  16. {
  17. var C_NPC Kirgo; Kirgo = Hlp_GetNpc(Grd_251_Kirgo);
  18.  
  19. if ( (Scatty_ChargeKirgo == LOG_RUNNING) && (Kirgo_Charged == TRUE) && ( (Kirgo.aivar[AIV_WASDEFEATEDBYSC] == TRUE) || (Kirgo.aivar[AIV_HASDEFEATEDSC] == TRUE) ) )
  20. {
  21. return 1;
  22. };
  23. };
  24.  
  25. FUNC VOID DIA_Scatty_KirgoSuccess_Info()
  26. {
  27. var C_NPC Kirgo; Kirgo = Hlp_GetNpc(Grd_251_Kirgo);
  28.  
  29. AI_Output (other,self,"DIA_Scatty_KirgoSuccess_15_00"); //Ich habe gegen Kirgo gekämpft!
  30. if (Kirgo.aivar[AIV_HASDEFEATEDSC] == TRUE)
  31. {
  32. AI_Output (self,other,"DIA_Scatty_KirgoSuccess_01_01"); //Und du hast dich besiegen lassen!
  33. AI_Output (self,other,"DIA_Scatty_KirgoSuccess_01_02"); //Du erwartest hoffentlich nicht, dass ich durch dein Versagen beeindruckt bin ...
  34. Scatty_ChargeKirgo = LOG_FAILED;
  35.  
  36. B_LogEntry( CH1_JoinOC, "Meinem Niederlage gegen Kirgo hat Scatty nicht sehr beeindruckt.");
  37. }
  38. else if (Kirgo.aivar[AIV_WASDEFEATEDBYSC] == TRUE)
  39. {
  40. AI_Output (self,other,"DIA_Scatty_KirgoSuccess_01_03"); //Und du hast ihn geschafft! Nicht schlecht für einen Anfänger wie dich! Ich bin beeindruckt!
  41. Scatty_ChargeKirgo = LOG_SUCCESS;
  42.  
  43. B_LogEntry( CH1_JoinOC, "Scatty ist beeindruckt von meinem Kampf gegen Kirgo.");
  44. B_GiveXP (XP_kirgovictory);
  45. };
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement