FOnline Development > General Discussion

TC Problem

<< < (2/2)

DESTRO00PL:
Any sugestions?

JovankaB:
The amount of experience is defined in critter proto files (param ST_KILL_EXPERIENCE).

The part of the script responsible for giving xp for kills is in combat.fos:
https://github.com/rotators/fo2238/blob/1d2c7c8223bc1724af1b50c022d3600d1ddfb2e3/Server/scripts/combat.fos#L1931

To double it you just have to change
attacker.StatBase[ST_EXPERIENCE] += target.Stat[ST_KILL_EXPERIENCE];
to
attacker.StatBase[ST_EXPERIENCE] += (2 * target.Stat[ST_KILL_EXPERIENCE]);

DESTRO00PL:
thanks its workd.

Navigation

[0] Message Index

[*] Previous page

Go to full version