MonsterAttackMethods.txt 766 B

1234567891011121314151617
  1. The following current pre-made attack methods for monsters are available.
  2. * Methods can be found at the bottom of Server.Library/MonsterObject.cs.
  3. * All methods are virtual so can be overriden.
  4. PoisonTarget(int chanceToPoison, long poisonDuration, PoisonType poison, long poisonTickSpeed = 1000)
  5. LineAttack(int distance, int additionalDelay = 500)
  6. HalfmoonAttack(int delay = 500)
  7. RangeAttack(int minAttackStat, int maxAttackStat, byte rangeAttackTypeNumber = 0, DefenceType type = DefenceType.MACAgility, int additionalDelay = 500)
  8. ArrowAttack(int minAttackStat, int maxAttackStat, DefenceType type = DefenceType.MACAgility, int additionalDelay = 500)
  9. SinglePushAttack(int minAttackStat, int MaxAttackStat, DefenceType type = DefenceType.AC, int delay = 500)