OpenXcom Forum

Modding => Work In Progress => Topic started by: LeBashar on August 04, 2014, 09:15:46 pm

Title: Melee attack of living weapon
Post by: LeBashar on August 04, 2014, 09:15:46 pm
I have search but found nowhere how is defined the power of the leaving weapon which attack with melee. Is their strenght the power ?

I try to make the reaper less useless, and it is with many TUs more, but I would also try to change his power, if it is possible.
Title: Re: Melee attack of living weapon
Post by: Falko on August 04, 2014, 09:21:45 pm
reaper has strenght applied true so increase strength increases the power
Title: Re: Melee attack of living weapon
Post by: Harald_Gray on August 04, 2014, 09:25:16 pm
Code: [Select]
units:
  - type: STR_REAPER_TERRORIST
    stats:
      tu: 62
      stamina: 90
      health: 148
      bravery: 90
      reactions: 64
      firing: 0
      throwing: 0
      strength: 90
      psiStrength: 35
      psiSkill: 0
      melee: 80

Replace that strength: 90 with what you want it to be.
Title: Re: Melee attack of living weapon
Post by: LeBashar on August 04, 2014, 11:14:36 pm
ok but the "strenght applied" mean strenght is egual to the power of the unit and is used in damage formula like other weapon or is it different for this ?
Title: Re: Melee attack of living weapon
Post by: Falko on August 04, 2014, 11:18:24 pm
if strengthapplied:
  damage=power+strenght
else:
  damage=power
Title: Re: Melee attack of living weapon
Post by: LeBashar on August 05, 2014, 11:35:03 am
OK, thanks. But it seem there is never a "power" defined in ruleset for melee builtin weapon of terrorists.
Title: Re: Melee attack of living weapon
Post by: Falko on August 05, 2014, 11:44:06 am
soo?
you can add one if you want
Title: Re: Melee attack of living weapon
Post by: LeBashar on August 05, 2014, 03:25:32 pm
so nothing  ;D

It's just before change something I like have really understand how it's work. Thanks for your help.