shadowm

recall_costs_test.patch

Mar 12th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.15 KB | None | 0 0
  1. diff --git a/data/campaigns/Heir_To_The_Throne/scenarios/01_The_Elves_Besieged.cfg b/data/campaigns/Heir_To_The_Throne/scenarios/01_The_Elves_Besieged.cfg
  2. index b938a92..faa1cb4 100644
  3. --- a/data/campaigns/Heir_To_The_Throne/scenarios/01_The_Elves_Besieged.cfg
  4. +++ b/data/campaigns/Heir_To_The_Throne/scenarios/01_The_Elves_Besieged.cfg
  5. @@ -22,6 +22,32 @@
  6.  
  7.      [event]
  8.          name=prestart
  9. +        {NAMED_UNIT 1 ("Elvish Druid") recall recall Eluclya ( _ "Eluclya") (
  10. +            unrenamable=yes
  11. +            [modifications]
  12. +                {TRAIT_LOYAL}
  13. +                {TRAIT_STRONG}
  14. +            [/modifications]
  15. +            recall_cost=1
  16. +        )} {NO_UPKEEP} {FACING se}
  17. +
  18. +        {NAMED_UNIT 1 ("Elvish Fighter") recall recall Nalan ( _ "Nalan") (
  19. +            unrenamable=yes
  20. +            [modifications]
  21. +                {TRAIT_LOYAL}
  22. +                {TRAIT_DEXTROUS}
  23. +            [/modifications]
  24. +            recall_cost=2
  25. +        )} {NO_UPKEEP} {FACING sw}
  26. +
  27. +        {NAMED_UNIT 1 ("Elvish Fighter") recall recall Crendil ( _ "Crendil") (
  28. +            unrenamable=yes
  29. +            [modifications]
  30. +                {TRAIT_LOYAL}
  31. +                {TRAIT_RESILIENT}
  32. +            [/modifications]
  33. +        )} {NO_UPKEEP} {FACING s}
  34. +
  35.          [objectives]
  36.              side=1
  37.              [objective]
  38. @@ -61,6 +87,7 @@
  39.      # wmllint: recognize Kalenz
  40.  
  41.      [side]
  42. +        recall_cost=40
  43.          type=Fighter
  44.          id=Konrad
  45.          name= _"Konrad"
  46. diff --git a/data/core/units/elves/Fighter.cfg b/data/core/units/elves/Fighter.cfg
  47. index 31d996c..5a957f0 100644
  48. --- a/data/core/units/elves/Fighter.cfg
  49. +++ b/data/core/units/elves/Fighter.cfg
  50. @@ -19,6 +19,7 @@
  51.      usage=fighter
  52.      description= _ "Elves are not warlike by nature, but in times of need, their natural grace and agility serve them well, as does their skillful craftsmanship. An elf can grasp the basics of swordsmanship and archery in a time uncannily short by the standards of other races, and put them to effective use on the battlefield."
  53.      die_sound={SOUND_LIST:ELF_HIT}
  54. +    recall_cost=14
  55.      [portrait]
  56.          size=400
  57.          side="left"
Advertisement
Add Comment
Please, Sign In to add comment