|
@@ -29,13 +29,13 @@ if $ARGS[0] = 'ChangeClass':
|
|
|
dhCh_RageMax[$.character] -= dhCl_RageMax
|
|
|
dhCh_EnergyMax[$.character] -= dhCl_EnergyMax
|
|
|
|
|
|
- dhCh_Agi[$.character] -= dhCl_Agi
|
|
|
- dhCh_Cha[$.character] -= dhCl_Cha
|
|
|
- dhCh_Int[$.character] -= dhCl_Int
|
|
|
- dhCh_Lore[$.character] -= dhCl_Lore
|
|
|
- dhCh_Luck[$.character] -= dhCl_Luck
|
|
|
+ dhCh_Agi[$.character] -= dhCl_Agi
|
|
|
+ dhCh_Cha[$.character] -= dhCl_Cha
|
|
|
+ dhCh_Int[$.character] -= dhCl_Int
|
|
|
+ dhCh_Lor[$.character] -= dhCl_Lor
|
|
|
+ dhCh_Luc[$.character] -= dhCl_Luc
|
|
|
dhCh_Per[$.character] -= dhCl_Per
|
|
|
- dhCh_Str[$.character] -= dhCl_Str
|
|
|
+ dhCh_Str[$.character] -= dhCl_Str
|
|
|
!!~~#
|
|
|
|
|
|
!!~~ Store old stats
|
|
@@ -45,13 +45,13 @@ if $ARGS[0] = 'ChangeClass':
|
|
|
dhCl_StatOld['RageMax'] = dhCl_RageMax
|
|
|
dhCl_StatOld['EnergyMax'] = dhCl_EnergyMax
|
|
|
|
|
|
- dhCl_StatOld['Agi'] = dhCl_Agi
|
|
|
- dhCl_StatOld['Cha'] = dhCl_Cha
|
|
|
- dhCl_StatOld['Int'] = dhCl_Int
|
|
|
- dhCl_StatOld['Lore'] = dhCl_Lore
|
|
|
- dhCl_StatOld['Luck'] = dhCl_Luck
|
|
|
- dhCl_StatOld['Per'] = dhCl_Per
|
|
|
- dhCl_StatOld['Str'] = dhCl_Str
|
|
|
+ dhCl_StatOld['Agi'] = dhCl_Agi
|
|
|
+ dhCl_StatOld['Cha'] = dhCl_Cha
|
|
|
+ dhCl_StatOld['Int'] = dhCl_Int
|
|
|
+ dhCl_StatOld['Lor'] = dhCl_Lor
|
|
|
+ dhCl_StatOld['Luc'] = dhCl_Luc
|
|
|
+ dhCl_StatOld['Per'] = dhCl_Per
|
|
|
+ dhCl_StatOld['Str'] = dhCl_Str
|
|
|
!!~~#
|
|
|
|
|
|
!!~~ Get new stats
|
|
@@ -65,13 +65,13 @@ if $ARGS[0] = 'ChangeClass':
|
|
|
dhCh_RageMax[$.character] += dhCl_RageMax
|
|
|
dhCh_EnergyMax[$.character] += dhCl_EnergyMax
|
|
|
|
|
|
- dhCh_Agi[$.character] += dhCl_Agi
|
|
|
- dhCh_Cha[$.character] += dhCl_Cha
|
|
|
- dhCh_Int[$.character] += dhCl_Int
|
|
|
- dhCh_Lore[$.character] += dhCl_Lore
|
|
|
- dhCh_Luck[$.character] += dhCl_Luck
|
|
|
- dhCh_Per[$.character] += dhCl_Per
|
|
|
- dhCh_Str[$.character] += dhCl_Str
|
|
|
+ dhCh_Agi[$.character] += dhCl_Agi
|
|
|
+ dhCh_Cha[$.character] += dhCl_Cha
|
|
|
+ dhCh_Int[$.character] += dhCl_Int
|
|
|
+ dhCh_Lor[$.character] += dhCl_Lor
|
|
|
+ dhCh_Luc[$.character] += dhCl_Luc
|
|
|
+ dhCh_Per[$.character] += dhCl_Per
|
|
|
+ dhCh_Str[$.character] += dhCl_Str
|
|
|
!!~~#
|
|
|
|
|
|
!!~~ Store stat changes
|
|
@@ -81,13 +81,13 @@ if $ARGS[0] = 'ChangeClass':
|
|
|
dhCl_StatDif['RageMax'] = dhCl_RageMax - dhCl_StatOld['RageMax']
|
|
|
dhCl_StatDif['EnergyMax'] = dhCl_EnergyMax - dhCl_StatOld['EnergyMax']
|
|
|
|
|
|
- dhCl_StatDif['Agi'] = dhCl_Agi - dhCl_StatOld['Agi']
|
|
|
- dhCl_StatDif['Cha'] = dhCl_Cha - dhCl_StatOld['Cha']
|
|
|
- dhCl_StatDif['Int'] = dhCl_Int - dhCl_StatOld['Int']
|
|
|
- dhCl_StatDif['Lore'] = dhCl_Lore - dhCl_StatOld['Lore']
|
|
|
- dhCl_StatDif['Luck'] = dhCl_Luck - dhCl_StatOld['Luck']
|
|
|
- dhCl_StatDif['Per'] = dhCl_Per - dhCl_StatOld['Per']
|
|
|
- dhCl_StatDif['Str'] = dhCl_Str - dhCl_StatOld['Str']
|
|
|
+ dhCl_StatDif['Agi'] = dhCl_Agi - dhCl_StatOld['Agi']
|
|
|
+ dhCl_StatDif['Cha'] = dhCl_Cha - dhCl_StatOld['Cha']
|
|
|
+ dhCl_StatDif['Int'] = dhCl_Int - dhCl_StatOld['Int']
|
|
|
+ dhCl_StatDif['Lor'] = dhCl_Lor - dhCl_StatOld['Lor']
|
|
|
+ dhCl_StatDif['Luc'] = dhCl_Luc - dhCl_StatOld['Luc']
|
|
|
+ dhCl_StatDif['Per'] = dhCl_Per - dhCl_StatOld['Per']
|
|
|
+ dhCl_StatDif['Str'] = dhCl_Str - dhCl_StatOld['Str']
|
|
|
|
|
|
$dhCl_StatDifTxT['HealthMax'] = iif(dhCl_StatDif['HealthMax'] >= 0, '+' + str(dhCl_StatDif['HealthMax']), str(dhCl_StatDif['HealthMax']))
|
|
|
$dhCl_StatDifTxT['StaminaMax'] = iif(dhCl_StatDif['StaminaMax'] >= 0, '+' + str(dhCl_StatDif['StaminaMax']), str(dhCl_StatDif['StaminaMax']))
|
|
@@ -95,190 +95,80 @@ if $ARGS[0] = 'ChangeClass':
|
|
|
$dhCl_StatDifTxT['RageMax'] = iif(dhCl_StatDif['RageMax'] >= 0, '+' + str(dhCl_StatDif['RageMax']), str(dhCl_StatDif['RageMax']))
|
|
|
$dhCl_StatDifTxT['EnergyMax'] = iif(dhCl_StatDif['EnergyMax'] >= 0, '+' + str(dhCl_StatDif['EnergyMax']), str(dhCl_StatDif['EnergyMax']))
|
|
|
|
|
|
- $dhCl_StatDifTxT['Agi'] = iif(dhCl_StatDif['Agi'] >= 0, '+' + str(dhCl_StatDif['Agi']), str(dhCl_StatDif['Agi']))
|
|
|
- $dhCl_StatDifTxT['Cha'] = iif(dhCl_StatDif['Cha'] >= 0, '+' + str(dhCl_StatDif['Cha']), str(dhCl_StatDif['Cha']))
|
|
|
- $dhCl_StatDifTxT['Int'] = iif(dhCl_StatDif['Int'] >= 0, '+' + str(dhCl_StatDif['Int']), str(dhCl_StatDif['Int']))
|
|
|
- $dhCl_StatDifTxT['Lore'] = iif(dhCl_StatDif['Lore'] >= 0, '+' + str(dhCl_StatDif['Lore']), str(dhCl_StatDif['Lore']))
|
|
|
- $dhCl_StatDifTxT['Luck'] = iif(dhCl_StatDif['Luck'] >= 0, '+' + str(dhCl_StatDif['Luck']), str(dhCl_StatDif['Luck']))
|
|
|
- $dhCl_StatDifTxT['Per'] = iif(dhCl_StatDif['Per'] >= 0, '+' + str(dhCl_StatDif['Per']), str(dhCl_StatDif['Per']))
|
|
|
- $dhCl_StatDifTxT['Str'] = iif(dhCl_StatDif['Str'] >= 0, '+' + str(dhCl_StatDif['Str']), str(dhCl_StatDif['Str']))
|
|
|
+ $dhCl_StatDifTxT['Agi'] = iif(dhCl_StatDif['Agi'] >= 0, '+' + str(dhCl_StatDif['Agi']), str(dhCl_StatDif['Agi']))
|
|
|
+ $dhCl_StatDifTxT['Cha'] = iif(dhCl_StatDif['Cha'] >= 0, '+' + str(dhCl_StatDif['Cha']), str(dhCl_StatDif['Cha']))
|
|
|
+ $dhCl_StatDifTxT['Int'] = iif(dhCl_StatDif['Int'] >= 0, '+' + str(dhCl_StatDif['Int']), str(dhCl_StatDif['Int']))
|
|
|
+ $dhCl_StatDifTxT['Lor'] = iif(dhCl_StatDif['Lor'] >= 0, '+' + str(dhCl_StatDif['Lor']), str(dhCl_StatDif['Lor']))
|
|
|
+ $dhCl_StatDifTxT['Luc'] = iif(dhCl_StatDif['Luc'] >= 0, '+' + str(dhCl_StatDif['Luc']), str(dhCl_StatDif['Luc']))
|
|
|
+ $dhCl_StatDifTxT['Per'] = iif(dhCl_StatDif['Per'] >= 0, '+' + str(dhCl_StatDif['Per']), str(dhCl_StatDif['Per']))
|
|
|
+ $dhCl_StatDifTxT['Str'] = iif(dhCl_StatDif['Str'] >= 0, '+' + str(dhCl_StatDif['Str']), str(dhCl_StatDif['Str']))
|
|
|
!!~~#
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'PrintStatChanges':
|
|
|
$.elementId = $ARGS[1]
|
|
|
|
|
|
- !!~~ Personal Resources
|
|
|
- if (dhCl_StatDif['HealthMax'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['HealthMax'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['HealthMax'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Max Health', 'c:-color-stat-health')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
-
|
|
|
- if (dhCl_StatDif['StaminaMax'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['StaminaMax'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['StaminaMax'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Max Stamina', 'c:-color-stat-stamina')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
-
|
|
|
- if (dhCl_StatDif['ManaMax'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['ManaMax'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['ManaMax'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Max Mana', 'c:-color-stat-mana')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
-
|
|
|
- if (dhCl_StatDif['RageMax'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['RageMax'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['RageMax'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Max Rage', 'c:-color-stat-rage')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
-
|
|
|
- if (dhCl_StatDif['EnergyMax'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['EnergyMax'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['HealthMax'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Max Energy', 'c:-color-stat-energy')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
+ !!~~ Gained
|
|
|
+ IF (dhCl_StatDif['HealthMax'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'HealthMax', 'Max Health', 'health')
|
|
|
+ IF (dhCl_StatDif['StaminaMax'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'StaminaMax', 'Max Stamina', 'stamina')
|
|
|
+ IF (dhCl_StatDif['ManaMax'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'ManaMax', 'Max Mana', 'mana')
|
|
|
+ IF (dhCl_StatDif['RageMax'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'RageMax', 'Max Rage', 'rage')
|
|
|
+ IF (dhCl_StatDif['EnergyMax'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'EnergyMax', 'Max Energy', 'energy')
|
|
|
+
|
|
|
+ IF (dhCl_StatDif['Agi'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Agi', 'Agility', 'agi')
|
|
|
+ IF (dhCl_StatDif['Cha'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Cha', 'Charisma', 'cha')
|
|
|
+ IF (dhCl_StatDif['Int'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Int', 'Intellect', 'int')
|
|
|
+ IF (dhCl_StatDif['Lor'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Lor', 'Lore', 'lor')
|
|
|
+ IF (dhCl_StatDif['Luc'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Luc', 'Luck', 'luc')
|
|
|
+ IF (dhCl_StatDif['Per'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Per', 'Perception', 'per')
|
|
|
+ IF (dhCl_StatDif['Str'] > 0): func('DH_Classes', 'PrintStatGain', $.elementId, 'Str', 'Strength', 'str')
|
|
|
!!~~#
|
|
|
|
|
|
- !!~~ Attributes
|
|
|
- if (dhCl_StatDif['Agi'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Agi'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Agi'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Agility', 'c:-color-stat-agi')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
-
|
|
|
- if (dhCl_StatDif['Cha'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Cha'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Cha'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Charisma', 'c:-color-stat-cha')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
-
|
|
|
- if (dhCl_StatDif['Int'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Int'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Int'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Intellect', 'c:-color-stat-int')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
+ !!~~ Lost
|
|
|
+ IF (dhCl_StatDif['HealthMax'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'HealthMax', 'Max Health', 'health')
|
|
|
+ IF (dhCl_StatDif['StaminaMax'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'StaminaMax', 'Max Stamina', 'stamina')
|
|
|
+ IF (dhCl_StatDif['ManaMax'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'ManaMax', 'Max Mana', 'mana')
|
|
|
+ IF (dhCl_StatDif['RageMax'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'RageMax', 'Max Rage', 'rage')
|
|
|
+ IF (dhCl_StatDif['EnergyMax'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'EnergyMax', 'Max Energy', 'energy')
|
|
|
+
|
|
|
+ IF (dhCl_StatDif['Agi'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Agi', 'Agility', 'agi')
|
|
|
+ IF (dhCl_StatDif['Cha'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Cha', 'Charisma', 'cha')
|
|
|
+ IF (dhCl_StatDif['Int'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Int', 'Intellect', 'int')
|
|
|
+ IF (dhCl_StatDif['Lor'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Lor', 'Lore', 'lor')
|
|
|
+ IF (dhCl_StatDif['Luc'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Luc', 'Luck', 'luc')
|
|
|
+ IF (dhCl_StatDif['Per'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Per', 'Perception', 'per')
|
|
|
+ IF (dhCl_StatDif['Str'] < 0): func('DH_Classes', 'PrintStatLoss', $.elementId, 'Str', 'Strength', 'str')
|
|
|
+ !!~~#
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'PrintStatGain':
|
|
|
+ $.elementId = $ARGS[1]
|
|
|
+ $.stat = $ARGS[2]
|
|
|
+ $.statText = $ARGS[3]
|
|
|
+ $.statColor = $ARGS[4]
|
|
|
|
|
|
- if (dhCl_StatDif['Lore'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Lore'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Lore'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Lore', 'c:-color-stat-lore')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
+ func('writeN', $.elementId)
|
|
|
+ func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
|
|
|
- if (dhCl_StatDif['Luck'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Luck'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Luck'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Luck', 'c:-color-stat-luck')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
+ func('write', $.elementId, 'Gained', 'c:' + $Wf_Colors['gain'])
|
|
|
+ func('writes', $.elementId, $dhCl_StatDifTxt['<<$.stat>>'], 'c:' + $Wf_Colors['num'])
|
|
|
+ func('writes', $.elementId, $.statText, 'c:' + $Wf_Colors['<<$.statColor>>'])
|
|
|
+ func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
+end
|
|
|
+
|
|
|
+if $ARGS[0] = 'PrintStatLoss':
|
|
|
+ $.elementId = $ARGS[1]
|
|
|
+ $.stat = $ARGS[2]
|
|
|
+ $.statText = $ARGS[3]
|
|
|
+ $.statColor = $ARGS[4]
|
|
|
|
|
|
- if (dhCl_StatDif['Per'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Per'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Per'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Perception', 'c:-color-stat-per')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
+ func('writeN', $.elementId)
|
|
|
+ func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
|
|
|
- if (dhCl_StatDif['Str'] ! 0):
|
|
|
- func('writeN', $.elementId)
|
|
|
- func('DH_Screen', 'tooltip', $.elementId, 'From changing class.')
|
|
|
-
|
|
|
- if ($dhCl_StatDif['Str'] >= 0):
|
|
|
- func('write', $.elementId, 'Gained', 'c:-color-gain')
|
|
|
- else func('write', $.elementId, 'Lost', 'c:-color-lost')
|
|
|
- end
|
|
|
-
|
|
|
- func('writes', $.elementId, $dhCl_StatDifTxt['Str'], 'c:-color-num')
|
|
|
- func('writes', $.elementId, 'Strength', 'c:-color-stat-str')
|
|
|
- func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
- end
|
|
|
- !!~~#
|
|
|
+ func('write', $.elementId, 'Lost', 'c:' + $Wf_Colors['loss'])
|
|
|
+ func('writes', $.elementId, $dhCl_StatDifTxt['<<$.stat>>'], 'c:' + $Wf_Colors['num'])
|
|
|
+ func('writes', $.elementId, $.statText, 'c:' + $Wf_Colors['<<$.statColor>>'])
|
|
|
+ func('DH_Screen', 'tooltipend', $.elementId)
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'None':
|
|
@@ -290,13 +180,13 @@ if $ARGS[0] = 'None':
|
|
|
dhCl_RageMax = 0
|
|
|
dhCl_EnergyMax = 0
|
|
|
|
|
|
- dhCl_Agi = 1
|
|
|
- dhCl_Cha = 1
|
|
|
- dhCl_Int = 1
|
|
|
- dhCl_Lore = 1
|
|
|
- dhCl_Luck = 1
|
|
|
- dhCl_Per = 1
|
|
|
- dhCl_Str = 1
|
|
|
+ dhCl_Agi = 1
|
|
|
+ dhCl_Cha = 1
|
|
|
+ dhCl_Int = 1
|
|
|
+ dhCl_Lor = 1
|
|
|
+ dhCl_Luc = 1
|
|
|
+ dhCl_Per = 1
|
|
|
+ dhCl_Str = 1
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'Beater':
|
|
@@ -308,13 +198,13 @@ if $ARGS[0] = 'Beater':
|
|
|
dhCl_RageMax = 999
|
|
|
dhCl_EnergyMax = 999
|
|
|
|
|
|
- dhCl_Agi = 99
|
|
|
- dhCl_Cha = 99
|
|
|
- dhCl_Int = 99
|
|
|
- dhCl_Lore = 99
|
|
|
- dhCl_Luck = 99
|
|
|
- dhCl_Per = 99
|
|
|
- dhCl_Str = 99
|
|
|
+ dhCl_Agi = 99
|
|
|
+ dhCl_Cha = 99
|
|
|
+ dhCl_Int = 99
|
|
|
+ dhCl_Lor = 99
|
|
|
+ dhCl_Luc = 99
|
|
|
+ dhCl_Per = 99
|
|
|
+ dhCl_Str = 99
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'Brute':
|
|
@@ -326,13 +216,13 @@ if $ARGS[0] = 'Brute':
|
|
|
dhCl_RageMax = 10
|
|
|
dhCl_EnergyMax = 0
|
|
|
|
|
|
- dhCl_Agi = 1
|
|
|
- dhCl_Cha = 1
|
|
|
- dhCl_Int = 1
|
|
|
- dhCl_Lore = 2
|
|
|
- dhCl_Luck = 1
|
|
|
- dhCl_Per = 1
|
|
|
- dhCl_Str = 4
|
|
|
+ dhCl_Agi = 1
|
|
|
+ dhCl_Cha = 1
|
|
|
+ dhCl_Int = 1
|
|
|
+ dhCl_Lor = 2
|
|
|
+ dhCl_Luc = 1
|
|
|
+ dhCl_Per = 1
|
|
|
+ dhCl_Str = 4
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'Trickster':
|
|
@@ -344,13 +234,13 @@ if $ARGS[0] = 'Trickster':
|
|
|
dhCl_RageMax = 0
|
|
|
dhCl_EnergyMax = 0
|
|
|
|
|
|
- dhCl_Agi = 1
|
|
|
- dhCl_Cha = 1
|
|
|
- dhCl_Int = 4
|
|
|
- dhCl_Lore = 2
|
|
|
- dhCl_Luck = 1
|
|
|
- dhCl_Per = 1
|
|
|
- dhCl_Str = 1
|
|
|
+ dhCl_Agi = 1
|
|
|
+ dhCl_Cha = 1
|
|
|
+ dhCl_Int = 4
|
|
|
+ dhCl_Lor = 2
|
|
|
+ dhCl_Luc = 1
|
|
|
+ dhCl_Per = 1
|
|
|
+ dhCl_Str = 1
|
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'Pickpocket':
|
|
@@ -362,13 +252,13 @@ if $ARGS[0] = 'Pickpocket':
|
|
|
dhCl_RageMax = 0
|
|
|
dhCl_EnergyMax = 12
|
|
|
|
|
|
- dhCl_Agi = 2
|
|
|
- dhCl_Cha = 1
|
|
|
- dhCl_Int = 1
|
|
|
- dhCl_Lore = 2
|
|
|
- dhCl_Luck = 2
|
|
|
- dhCl_Per = 2
|
|
|
- dhCl_Str = 1
|
|
|
+ dhCl_Agi = 2
|
|
|
+ dhCl_Cha = 1
|
|
|
+ dhCl_Int = 1
|
|
|
+ dhCl_Lor = 2
|
|
|
+ dhCl_Luc = 2
|
|
|
+ dhCl_Per = 2
|
|
|
+ dhCl_Str = 1
|
|
|
end
|
|
|
|
|
|
--- DH_Classes ---------------------------------
|