diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-09-02 17:52:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 18:52:06 +0200 |
commit | 1d95b7d5f3a4b7176456c94b147f0382de04f18e (patch) | |
tree | 1678c273b68985fe54cde59154a37a47b89bf419 /Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut | |
parent | c7e50b28fe31e20b064f812758d8a0f5e889ea74 (diff) | |
download | NorthstarMods-1d95b7d5f3a4b7176456c94b147f0382de04f18e.tar.gz NorthstarMods-1d95b7d5f3a4b7176456c94b147f0382de04f18e.zip |
Progression system (#655)
This also can't hurt right?
---------
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut index 4bfeb4f8..0436a393 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/titan_xp.gnut @@ -10,5 +10,8 @@ void function AddTitanXP( entity player, int amount ) // level up notif if ( TitanGetLevel( player, titan ) != oldLevel ) + { Remote_CallFunction_NonReplay( player, "ServerCallback_TitanLeveledUp", shTitanXP.titanClasses.find( titan ), TitanGetGen( player, titan ), TitanGetLevel( player, titan ) ) + AddPlayerScore( player, "TitanLevelUp" ) + } }
\ No newline at end of file |