mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-08-15 06:27:24 +00:00
Apply intelligence boost to all XP gains
This commit is contained in:
@@ -3414,7 +3414,7 @@ end
|
||||
// Add XP to every player in the party, leveling them up as appropriate
|
||||
export def addXP_all(val)#0
|
||||
ctx = val
|
||||
forEach(global=>p_players, &(p) addXP(p, ctx))
|
||||
forEach(global=>p_players, &(p) addXP(p, ctx + addPercent(ctx, 10*p->b_intelligence)))
|
||||
end
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user