diff options
Diffstat (limited to 'npc/005-4/tolchi.txt')
-rw-r--r-- | npc/005-4/tolchi.txt | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index a6608acff..6e64c054d 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -315,32 +315,24 @@ function tolchi_tweaks { // Select a bonus and purge it .@vartp=relative_array_random(@csys_attr); - .@popindex=getarrayindex(.@vartp); + + // First time player bonus + if (!#FIRST_TIME) { + .@vartp=IOPT_RICHNESS; + } // Apply the bonus .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 0, .@vartp, .@bonus); - /* - // Re-roll: Easier for lower levels. Equip based. - deletearray(@csys_attr[.@popindex], 2); - if (rand2(1000) < 250-((.@lv+BaseLevel*(REBIRTH+1))*2)) { - .@vartp=relative_array_random(@csys_attr); - .@popindex=getarrayindex(.@vartp); + // First time item bonus + if (!#FIRST_TIME) { + .@vartp=IOPT_EXPGAIN; .@bonus=csys_Multiplier(.@lv); setitemoptionbyindex(.@id, 1, .@vartp, .@bonus); + #FIRST_TIME=true; } - // Final re-roll: Easier for lower levels. Equip based. Nearly impossible. - deletearray(@csys_attr[.@popindex], 2); - if (rand2(10000) < 250-((.@lv+BaseLevel*(REBIRTH+1))*2)) { - .@vartp=relative_array_random(@csys_attr); - .@popindex=getarrayindex(.@vartp); - .@bonus=csys_Multiplier(.@lv); - setitemoptionbyindex(.@id, 2, .@vartp, .@bonus); - } - */ - if (BaseLevel*(REBIRTH+1) > 25) setitemoptionbyindex(.@id, 3, IOPT_WALKSPEED, rand2(-10, -5)); mesn; |