|
@@ -1278,10 +1278,10 @@ end
|
|
|
if $ARGS[0] = 'convert_dob':
|
|
|
!! Calculate NPC birthday and convert to human readable format
|
|
|
temp_npc_birthday = (npc_dob['A<<ARGS[1]>>'] mod 100)
|
|
|
- $temp_day_suffix = func('shortgs', 'get_number_suffix', birthday)
|
|
|
+ $temp_day_suffix = func('shortgs', 'get_number_suffix', temp_npc_birthday)
|
|
|
temp_npc_birthmonth = (npc_dob['A<<ARGS[1]>>'] / 100) mod 100
|
|
|
temp_npc_birthyear = npc_dob['A<<ARGS[1]>>'] / 10000
|
|
|
- $result = '<<birthday>><<$temp_day_suffix>> ' + $monthName[birthmonth]+ ', ' + temp_npc_birthyear
|
|
|
+ $result = '<<temp_npc_birthday>><<$temp_day_suffix>> ' + $monthName[temp_npc_birthmonth]+ ', ' + temp_npc_birthyear
|
|
|
killvar 'temp_npc_birthday'
|
|
|
killvar 'temp_npc_birthmonth'
|
|
|
killvar 'temp_npc_birthyear'
|