![]() |
![]() |
|
#1
|
|||
|
|||
|
Hi there, i'm trying to add a new perk for serverperks v5
using the source code for demolitions perk i changed some things to give discounts / damage multiplier for people using turrets / portalgun instead. i'm new to coding for KF but have coded for other games / platforms before so was able to change most stuff succesfully. However i'm having problems with one line: return Min(StatOther.RExplosivesDamageStat,FinalInt); What do i need to put here instead of RExplosivesDamageStat to make it count damage of type turret instead? Will i need to create a new stattype for turret damage type and if so where? Where can i find statother? or is there already one somewhere in the game code? Or can i just put RTurretDamageStat ? Thanks! |
| Thread Tools | |
| Display Modes | |
|
|