EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Damage.h
Go to the documentation of this file.
1 
12 #ifndef EVE_DAMAGE_H
13 #define EVE_DAMAGE_H
14 
15 
16 /* these are based on client settings of damage notification.
17  * msg packets are
18  * " " - to others
19  * "R" - received
20  * "RD - received with details
21  */
22 
23 namespace Dmg {
24  namespace Msg {
25 
26  static const char* Given[9] = {
27  "AttackMiss1", //misses completely
28  "AttackMiss2", //barely misses
29  "AttackMiss3", //glances off
30  "AttackHit1", //barely scratches
31  "AttackHit2", //lightly hits
32  "AttackHit3", //hits
33  "AttackHit4", //aims well
34  "AttackHit5", //places an excellent hit
35  "AttackHit6" //strikes perfectly, wrecking
36  };
37 
38  static const char* Taken[9] = {
39  "AttackMiss1R", //misses completely
40  "AttackMiss2R", //barely misses
41  "AttackMiss3R", //glances off
42  "AttackHit1R", //barely scratches
43  "AttackHit2R", //lightly hits
44  "AttackHit3R", //hits
45  "AttackHit4R", //aims well at you
46  "AttackHit5R", //places an excellent hit
47  "AttackHit6R" //strikes you perfectly, wrecking
48  };
49 
50  static const char* Detail[9] = {
51  "AttackMiss1RD", //misses completely
52  "AttackMiss2RD", //barely misses
53  "AttackMiss3RD", //glances off
54  "AttackHit1RD", //barely scratches
55  "AttackHit2RD", //lightly hits
56  "AttackHit3RD", //hits
57  "AttackHit4RD", //aims well at you
58  "AttackHit5RD", //places an excellent hit
59  "AttackHit6RD" //strikes you perfectly, wrecking
60  };
61 
62  //'banked' means 'grouped weapons' and is for shooter only.
63  // also in ship.modules.GetTurretSets in MakeSlimItem()
64  static const char* Banked[9] = {
65  "AttackMiss1Banked", //misses completely
66  "AttackMiss2Banked", //barely misses
67  "AttackMiss3Banked", //glances off
68  "AttackHit1Banked", //barely scratches
69  "AttackHit2Banked", //lightly hits
70  "AttackHit3Banked", //hits
71  "AttackHit4Banked", //aims well
72  "AttackHit5Banked", //places an excellent hit
73  "AttackHit6Banked" //strikes perfectly, wrecking
74  };
75 
76  }
77 }
78 
79 /*
80  * {'messageID': 260410, 'label': u'AttackMiss1Body'}(u'Your {[item]weapon.name} misses {target} completely.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
81  * {'messageID': 260413, 'label': u'AttackMiss2Body'}(u'Your {[item]weapon.name} barely misses {target}.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
82  * {'messageID': 260418, 'label': u'AttackMiss3Body'}(u'Your {[item]weapon.name} glances off {target}, causing no real damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
83  * {'messageID': 260383, 'label': u'AttackHit1Body'}(u'<color=0xffbbbb00>Your {[item]weapon.name} barely scratches {target}, causing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
84  * {'messageID': 260387, 'label': u'AttackHit2Body'}(u'<color=0xffbbbb00>Your {[item]weapon.name} lightly hits {target}, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
85  * {'messageID': 260391, 'label': u'AttackHit3Body'}(u'<color=0xffbbbb00>Your {[item]weapon.name} hits {target}, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
86  * {'messageID': 260394, 'label': u'AttackHit4Body'}(u'<color=0xffbbbb00>Your {[item]weapon.name} is well aimed at {target}, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
87  * {'messageID': 260397, 'label': u'AttackHit5Body'}(u'<color=0xffbbbb00>Your {[item]weapon.name} places an excellent hit on {target}, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
88  * {'messageID': 260400, 'label': u'AttackHit6Body'}(u'<color=0xffbbbb00>Your {[item]weapon.name} perfectly strikes {target}, wrecking for {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
89 
90  * {'messageID': 260411, 'label': u'AttackMiss1RBody'}(u'{source} misses you completely.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}})
91  * {'messageID': 260414, 'label': u'AttackMiss2RBody'}(u'{source} barely misses you.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}})
92  * {'messageID': 260419, 'label': u'AttackMiss3RBody'}(u'{source} lands a hit on you which glances off, causing no real damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}})
93  * {'messageID': 260385, 'label': u'AttackHit1RBody'}(u'<color=0xffbb6600>{source} barely scratches you, causing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
94  * {'messageID': 260388, 'label': u'AttackHit2RBody'}(u'<color=0xffbb6600>{source} lightly hits you, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
95  * {'messageID': 260392, 'label': u'AttackHit3RBody'}(u'<color=0xffbb6600>{source} hits you, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
96  * {'messageID': 260395, 'label': u'AttackHit4RBody'}(u'<color=0xffbb6600>{source} aims well at you, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
97  * {'messageID': 260398, 'label': u'AttackHit5RBody'}(u'<color=0xffbb6600>{source} places an excellent hit on you, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
98  * {'messageID': 260401, 'label': u'AttackHit6RBody'}(u'<color=0xffbb6600>{source} strikes you perfectly, wrecking for {[numeric]damage, decimalPlaces=1} damage.', None, {u'{source}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'source'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
99 
100  * {'messageID': 260412, 'label': u'AttackMiss1RDBody'}(u'{[item]weapon.name} belonging to {owner} misses you completely.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
101  * {'messageID': 260417, 'label': u'AttackMiss2RDBody'}(u'{[item]weapon.name} belonging to {owner} barely misses you.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
102  * {'messageID': 260420, 'label': u'AttackMiss3RDBody'}(u'{[item]weapon.name} belonging to {owner} lands a hit on you which glances off, causing no real damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
103  * {'messageID': 260386, 'label': u'AttackHit1RDBody'}(u'<color=0xffbb6600>{[item]weapon.name} belonging to {owner} barely scratches you, causing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
104  * {'messageID': 260390, 'label': u'AttackHit2RDBody'}(u'<color=0xffbb6600>{[item]weapon.name} belonging to {owner} lightly hits you, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
105  * {'messageID': 260393, 'label': u'AttackHit3RDBody'}(u'<color=0xffbb6600>{[item]weapon.name} belonging to {owner} hits you, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
106  * {'messageID': 260396, 'label': u'AttackHit4RDBody'}(u'<color=0xffbb6600>{[item]weapon.name} belonging to {owner} heavily hits you, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
107  * {'messageID': 260399, 'label': u'AttackHit5RDBody'}(u'<color=0xffbb6600>{[item]weapon.name} belonging to {owner} places an excellent hit on you, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
108  * {'messageID': 260402, 'label': u'AttackHit6RDBody'}(u'<color=0xffbb6600>{[item]weapon.name} belonging to {owner} strikes you perfectly, wrecking for {[numeric]damage, decimalPlaces=1} damage.', None, {u'{owner}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'owner'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
109 
110  * {'messageID': 257671, 'label': u'AttackMiss1BankedBody'}(u'Your group of {[item]weapon.name} misses {target} completely.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
111  * {'messageID': 257677, 'label': u'AttackMiss2BankedBody'}(u'Your group of {[item]weapon.name} barely misses {target}.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
112  * {'messageID': 257678, 'label': u'AttackMiss3BankedBody'}(u'Your group of {[item]weapon.name} glances off {target}, causing no real damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}})
113  * {'messageID': 257589, 'label': u'AttackHit1BankedBody'}(u'<color=0xffbbbb00>Your group of {[item]weapon.name} barely scratches {target}, causing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
114  * {'messageID': 257590, 'label': u'AttackHit2BankedBody'}(u'<color=0xffbbbb00>Your group of {[item]weapon.name} lightly hits {target}, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
115  * {'messageID': 257591, 'label': u'AttackHit3BankedBody'}(u'<color=0xffbbbb00>Your group of {[item]weapon.name} hits {target}, doing {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
116  * {'messageID': 257592, 'label': u'AttackHit4BankedBody'}(u'<color=0xffbbbb00>Your group of {[item]weapon.name} is well aimed at {target}, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
117  * {'messageID': 257593, 'label': u'AttackHit5BankedBody'}(u'<color=0xffbbbb00>Your group of {[item]weapon.name} places an excellent hit on {target}, inflicting {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
118  * {'messageID': 257594, 'label': u'AttackHit6BankedBody'}(u'<color=0xffbbbb00>Your group of {[item]weapon.name} perfectly strikes {target}, wrecking for {[numeric]damage, decimalPlaces=1} damage.', None, {u'{target}': {'conditionalValues': [], 'variableType': 10, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'target'}, u'{[item]weapon.name}': {'conditionalValues': [], 'variableType': 2, 'propertyName': 'name', 'args': 0, 'kwargs': {}, 'variableName': 'weapon'}, u'{[numeric]damage, decimalPlaces=1}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 512, 'kwargs': {'decimalPlaces': 1}, 'variableName': 'damage'}})
119  */
120 
121 /*
122  * def OnDamageMessage(self, msgKey, args):
123  * try:
124  * michelle = sm.GetService('michelle')
125  * hitQuality = 0
126  * if msgKey.startswith('AttackHit'):
127  * try:
128  * hitQuality = int(msgKey[9])
129  * except ValueError as e:
130  * hitQuality = 5
131  *
132  * banked = msgKey.find('Banked') > 0
133  * if args.has_key('target'):
134  * ship = michelle.GetBall(session.shipid)
135  * if ship and hasattr(ship, 'turrets'):
136  * self.DamageMessageTurretPropogation(session.shipid, ship, hitQuality, args, banked)
137  * elif args.has_key('owner'):
138  * ownerData, ownerID = args['owner']
139  * targetSvc = sm.GetService('target')
140  * ship = None
141  * shipID = targetSvc.ownerToShipIDCache.get(ownerID, None)
142  * if shipID is not None:
143  * ship = michelle.GetBall(shipID)
144  * else:
145  * self.LogWarn('Turret hit/miss - failed to find shipID for ownerID ' + str(ownerID))
146  * if shipID and ship:
147  * self.DamageMessageTurretPropogation(shipID, ship, hitQuality, args, banked)
148  * elif args.has_key('source'):
149  * shipID = args['source']
150  * ship = michelle.GetBall(shipID)
151  * if hasattr(ship, 'turrets'):
152  * self.DamageMessageTurretPropogation(shipID, ship, hitQuality, args, banked)
153  * elif hasattr(ship, 'GetModel') and hasattr(ship.GetModel(), 'turretSets'):
154  * self.DamageMessageGrouped(ship.GetModel().turretSets, hitQuality)
155  * except Exception as e:
156  * self.LogError('Error setting hit/miss state on a turret: %s %s' % (msgKey, str(args)))
157  * self.LogError(str(e) + ' ' + str(e.args))
158  *
159  * if not settings.user.ui.Get('damageMessages', 1):
160  * return
161  * if args.has_key('damage') and args['damage'] == 0.0 and not settings.user.ui.Get('damageMessagesNoDamage', 1):
162  * return
163  * if args.has_key('owner') or args.has_key('source'):
164  * sm.ScatterEvent('OnShipDamage', args.get('damageTypes', {}))
165  * if not settings.user.ui.Get('damageMessagesEnemy', 1):
166  * return
167  * elif not settings.user.ui.Get('damageMessagesMine', 1):
168  * return
169  * if settings.user.ui.Get('damageMessagesSimple', 0):
170  * msgKey += '_Simple'
171  * for argName in ('source', 'target'):
172  * if args.has_key(argName):
173  * bracketName = sm.GetService('bracket').GetBracketName(args[argName])
174  * if not len(bracketName):
175  * ballpark = sm.GetService('michelle').GetBallpark()
176  * if ballpark is None:
177  * self.LogWarn('OnDamageMessage: No ballpark, not showing damage message.')
178  * return
179  * slimItem = ballpark.GetInvItem(args[argName])
180  * if slimItem:
181  * bracketName = uix.GetSlimItemName(slimItem) or 'Some object'
182  * if not len(bracketName):
183  * self.LogError('Failed to display message', msgKey, args)
184  * return
185  * args[argName] = bracketName
186  *
187  * msgKey = msgKey.replace('BankedR', 'R')
188  * sm.GetService('logger').AddCombatMessage(msgKey, args)
189  *
190  */
191 
192 /* killmail shit. not sure how to implement it yet.
193 (251144, `<br>
194 Victim: {[character] victim.name}<br>
195 Corp: {corporation}<br>
196 Alliance: {alliance}<br>
197 Faction: {faction}<br>
198 Destroyed: {[item] target.name}<br>
199 System: {[location] system.name}<br>
200 Security: {[numeric] security, decimalPlaces=1}<br>
201 Damage Taken: {[numeric] damage, decimalPlaces=0}<br>
202 <br>
203 Involved parties:<br>
204 <br>`)
205 (251145, `<br>
206 Corp: {corporation}<br>
207 Alliance: {alliance}<br>
208 Faction: {faction}<br>
209 Destroyed: {[item] target.name}<br>
210 System: {[location] system.name}<br>
211 Security: {[numeric] security, decimalPlaces=1}<br>
212 Damage Taken: {[numeric] damage, decimalPlaces=0}<br>
213 <br>
214 Involved parties:<br>
215 <br>`)
216 (251147, `Name: {attacker} (laid the final blow)<br>
217 Security: {[numeric] security, decimalPlaces=2}<br>
218 Corp: {corporation}<br>
219 Alliance: {alliance}<br>
220 Faction: {faction}<br>
221 Ship: {ship}<br>
222 Weapon: {weapon}<br>
223 Damage Done: {[numeric] damage, decimalPlaces=0}<br>
224 <br>`)
225 (251148, `Name: {attacker}<br>
226 Security: {[numeric] security, decimalPlaces=2}<br>
227 Corp: {corporation}<br>
228 Alliance: {alliance}<br>
229 Faction: {faction}<br>
230 Ship: {ship}<br>
231 Weapon: {weapon}<br>
232 Damage Done: {[numeric] damage, decimalPlaces=0}<br>
233 <br>`)
234 (251149, `Name: {attacker} / {owner} (laid the final blow)<br>
235 Damage Done: {[numeric] damage, decimalPlaces=0}<br>
236 <br>
237 `)
238 (251150, `Name: {attacker} / {owner}<br>
239 Damage Done: {[numeric] damage, decimalPlaces=0}<br>
240 <br>`)
241 */
242 
243 
244 #endif // EVE_DAMAGE_H
static const char * Taken[9]
Definition: EVE_Damage.h:38
static const char * Detail[9]
Definition: EVE_Damage.h:50
static const char * Banked[9]
Definition: EVE_Damage.h:64
static const char * Given[9]
Definition: EVE_Damage.h:26
Definition: EVE_Damage.h:23