Skip to content

to hit and combat rules

someone knows where is the code for combat and to hit? and is there any way to mod it?

Comments

  • DJKajuruDJKajuru Member Posts: 3,300
    There are 2da files for thac0/character class and level , you can also edit how strength and dexterity affect combat .You can do all of that with Near Infinity, is that what you're looking for?
    JuliusBorisov
  • dorpinchdorpinch Member Posts: 11
    no, but thanks
    The to hit mechanic works like that, right?:
    if thac0-ac<=d20 its a hit, and than you have to roll the damage.
    I want to change it to this:
    ((thac0+d20)-(ac+d20))*z=damage taken.
    so basically each character gets more thac0 and ac when they level up. z is a number that represent the basic damage every weapon makes, and you multiply it by the difference between the hit roll and the dodge roll. so a good attacker with HIGH thac0 will have more chance causing more damage, and a good defender with HIGH ac will reduce the injury he gets.
    I just need to be able to modify this code
    LoldrupJuliusBorisov
  • The user and all related content has been deleted.
    StummvonBordwehrJuliusBorisov
  • dorpinchdorpinch Member Posts: 11
    its been a while, thanks
    JuliusBorisov
Sign In or Register to comment.