Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.33 KB | None | 0 0
  1. AddCreature ( 115, "bezgoloviygraf_title", health : 1, damage : 1, armor : 0, cost : 1, line : TableLineFlags.First )
  2.                 .AddAbility (
  3.                     "save_table_position", "SetVariable",
  4.                     ( ability ) => DevCardFactory.CreateSelfAutoSelector ( ability ),
  5.                     ( ability ) => DevCardFactory.CreateDeathrattleTrigger ( ability, triggerAfterBurial : false ),
  6.                     ( ability ) => new [] {
  7.                         new SetEntityVariableEffect (
  8.                             ability, "TablePosition", new Int32Vec2EntityAttributeExpression ( EntityAttributeKind.Position )
  9.                         )
  10.                     }
  11.                 )
  12.                 .AddAbility (
  13.                     "bezgoloviygraf_decapitation_title", "Decapitation",
  14.                     ( ability ) => new NoTargetSelector ( ability ),
  15.                     ( ability ) => DevCardFactory.CreateDeathrattleTrigger ( ability, triggerAfterBurial : true ),
  16.                     ( ability ) => new [] {
  17.                         new SpawnSpecificCardsEffect (
  18.                             ability, new [] { "golovagrafa_title" }, CardDisposition.Table, // Голова графа
  19.                             new Int32Vec2EntityVariableExpression ( "TablePosition" )
  20.                         )
  21.                     }
  22.                 )
  23.                 .SetNature(CardNature.Mech)
  24.                 .SetImagePrefab("card-bezgoloviygraf")
  25.                 .SetRarity(CardRarityFlags.Rare)
  26.                 .SetArtist ("artist_name_SBondarev")
  27.                 .SetFlavor ( "bezgoloviygraf_flavor" )
  28.                 .SetDescription ( "bezgoloviygraf_descr" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement