mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-01-18 19:31:49 +00:00
Apply intelligence boost to all XP gains
This commit is contained in:
parent
4d2111ec3f
commit
118e0f6f09
@ -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
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user