Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: C# | Size: 6.82 KB | Hits: 81 | Expires: Never
Copy text to clipboard
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace Zorkr.BLObs
  7. {
  8.     class Character
  9.     {
  10.         public string twitterId { get; private set; }
  11.         public string initialStats { get; private set; }
  12.         public string levelTimeline { get; private set; }
  13.  
  14.         public Character(string TwitterID, string InitialStats, string LevelTimeline)
  15.         {
  16.             this.twitterId = TwitterID;
  17.             this.initialStats = InitialStats;
  18.             this.levelTimeline = LevelTimeline;
  19.         }
  20.  
  21.         public uint level { get; private set; }
  22.         public jobs job { get; private set; }
  23.         public specs specialty { get; private set; }
  24.  
  25.         public uint base_ability_Str { get; private set; }
  26.         public uint base_ability_Con { get; private set; }
  27.         public uint base_ability_Dex { get; private set; }
  28.         public uint base_ability_Int { get; private set; }
  29.         public uint base_ability_Wis { get; private set; }
  30.         public uint base_ability_Cha { get; private set; }
  31.  
  32.         public uint base_skill_Stealth { get; private set; }
  33.         public uint base_skill_Forging { get; private set; }
  34.         public uint base_skill_Perception { get; private set; }
  35.         public uint base_skill_Diplomacy { get; private set; }
  36.        
  37.         public buffs Buff { get; private set; }
  38.         public debuffs DeBuff { get; private set; }
  39.     }
  40.  
  41.     public class PlayerCharacter : Character
  42.     {
  43.         public uint current_Hp { get; set; }
  44.         public uint max_Hp { get; }
  45.  
  46.         public uint defense_Armor { get; }
  47.         public uint defense_Reflex { get; }
  48.         public uint defense_Will { get; }
  49.  
  50.         public uint actual_ability_Str { get; }
  51.         public uint actual_ability_Con { get; }
  52.         public uint actual_ability_Dex { get; }
  53.         public uint actual_ability_Int { get; }
  54.         public uint actual_ability_Wis { get; }
  55.         public uint actual_ability_Cha { get; }
  56.  
  57.         public uint actual_skill_Stealth { get; } // Dex-dependent
  58.         public uint actual_skill_Forging { get; } // Int-dependent
  59.         public uint actual_skill_Perception { get; } // Wis-dependent
  60.         public uint actual_skill_Diplomacy { get; } // Cha-dependent
  61.     }
  62.  
  63.     public class EnemyCharacter : Character
  64.     {
  65.         public uint current_Hp { get; set; }
  66.         public uint max_Hp { get; }
  67.  
  68.         public uint defense_Armor { get; }
  69.         public uint defense_Reflex { get; }
  70.         public uint defense_Will { get; }
  71.  
  72.         public uint actual_ability_Str { get; }
  73.         public uint actual_ability_Con { get; }
  74.         public uint actual_ability_Dex { get; }
  75.         public uint actual_ability_Int { get; }
  76.         public uint actual_ability_Wis { get; }
  77.         public uint actual_ability_Cha { get; }
  78.  
  79.         public uint actual_skill_Stealth { get; } // Dex-dependent
  80.         public uint actual_skill_Forging { get; } // Int-dependent
  81.         public uint actual_skill_Perception { get; } // Wis-dependent
  82.         public uint actual_skill_Diplomacy { get; } // Cha-dependent
  83.     }
  84.  
  85.     public enum abilities // Max ability score is 9
  86.     {
  87.         Strength = 0,
  88.         Constitution = 1,
  89.         Dexterity = 2,
  90.         Intelligence = 3,
  91.         Wisdom = 4,
  92.         Charisma = 5
  93.     }
  94.  
  95.     public enum skills // Max skill score is 5
  96.     {
  97.         Stealth = 6,
  98.         Perception = 7,
  99.         Forging = 8,
  100.         Diplomacy = 9
  101.     }
  102.  
  103.     public enum jobs
  104.     {
  105.         Guardian = 1, //Defender, Skill: Taunt (d+Dpl+Cha vs d+Wil, Target's next Attack targets guardian if Hit!)
  106.         Healer = 2, //Leader, Skill: Heal (Wis HP restored to target)
  107.         Mage = 3, //Controller, Skill: Cascade (Auto hit all enemies, Damage = level/10, Element of Weapon)
  108.         Cutthroat = 4 //Striker, Skill: Backstab (d+Stl+Dex vs d+Ref, Double Damage if Hit!, Free Attack vs Player if Fail)
  109.     }
  110.  
  111.     public enum specs // A player can choose only specs with his job role (7 available specs per role)
  112.     {
  113.         Templar = 11, //Defender-Defender, Skill: Cover (Next damage to target hits templar)
  114.         Paladin = 12, //Defender-Leader, Skill: Empathy (1/2 Wis HP restored to self and target)
  115.         Gladiator = 13, //Defender-Controller, Skill: Whirlwind (Auto hit all enemies, Damage = level/5, Force Element)
  116.         Reaver = 14, //Defender-Striker, Skill: Counter (When enemy misses, Auto hit)
  117.         Bard = 21, //Leader-Defender, Skill: Inspire (+Wis to All Def next turn)
  118.         Phoenix = 22, //Leader-Leader, Skill: Revive
  119.         Shaman = 23, //Leader-Controller, Skill: Sacrifice (1/2 Wis HP restored to allies)
  120.         Warlord = 24, // Leader-Striker, Skill: Warcry (+Wis to All Attack next turn)
  121.         AntiMage = 31, // Controller-Defender, Skill: Cancel (d+Dpl+Cha vs d+Wil, Target makes No Action if Hit!)
  122.         Elementalist = 32, // Controller-Leader, Skill: Channel (All allies' damage gains Element of Weapon)
  123.         ArchMage = 33, // Controller-Controller, Skill: Storm (d+Int vs d+Arm, All enemies Int Damage , Element of Weapon)
  124.         Unknown34 = 34, // Controller-Striker, Skill: ???
  125.         Unknown41 = 41, // Striker-Defender, Skill: ???
  126.         Inquisitor = 42, // Striker-Leader, Skill: BlindingLight (All Stealth attempts by enemies this turn automatically fail)
  127.         Unknown43 = 43, // Striker-Controller, Skill: ???
  128.         Assassin = 44 // Striker-Striker, Skill: Assassinate (d+Stl+Dex vs d+Ref, Double Damage if Hit!, 1/2 Dex Damage if Fail)
  129.     }
  130.  
  131.     public enum buffs // All buffs automatically expire after the current round
  132.     {
  133.         Inspire0 = 210,
  134.         Inspire1 = 211,
  135.         Inspire2 = 212,
  136.         Inspire3 = 213,
  137.         Inspire4 = 214,
  138.         Inspire5 = 215,
  139.         Inspire6 = 216,
  140.         Inspire7 = 217,
  141.         Inspire8 = 218,
  142.         Inspire9 = 219,
  143.         Warcry0 = 240,
  144.         Warcry1 = 241,
  145.         Warcry2 = 242,
  146.         Warcry3 = 243,
  147.         Warcry4 = 244,
  148.         Warcry5 = 245,
  149.         Warcry6 = 246,
  150.         Warcry7 = 247,
  151.         Warcry8 = 248,
  152.         Warcry9 = 249,
  153.         ChannelForce = 320, // Weak against Mind, Immune against Force (Default Damage eg. 'Nonelemental'; Ghosts are Force-typed Enemies)
  154.         ChannelFire = 321, // Weak against Water, Immune against Wind
  155.         ChannelWind = 322, // Weak against Fire, Immune against Earth
  156.         ChannelEarth = 323, // Weak against Earth, Immune against Water
  157.         ChannelWater = 324, // Weak against Earth, Immune against Fire
  158.         ChannelHoly = 325, // Weak against Dark, Immune against Holy
  159.         ChannelDark = 326, // Weak against Holy, Immune against Dark
  160.         ChannelMind = 327 // Weak against Force, Immune against Mind
  161.     }
  162.  
  163.     public enum debuffs // All debuffs automatically expire after the current round
  164.     {
  165.         Cancel = 310,
  166.         BlindingLight = 420
  167.     }
  168. }