Fix party "bug" & Additions

master
dalkon 11 years ago
parent 59e90e8f1e
commit 5b8ff29fa3

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

@ -22,11 +22,14 @@ ShieldBlueNoSharedExpBlink = 7
ShieldYellowNoSharedExpBlink = 8 ShieldYellowNoSharedExpBlink = 8
ShieldBlueNoSharedExp = 9 ShieldBlueNoSharedExp = 9
ShieldYellowNoSharedExp = 10 ShieldYellowNoSharedExp = 10
ShieldGray = 11
EmblemNone = 0 EmblemNone = 0
EmblemGreen = 1 EmblemGreen = 1
EmblemRed = 2 EmblemRed = 2
EmblemBlue = 3 EmblemBlue = 3
EmblemMember = 4
EmblemOther = 5
North = 0 North = 0
East = 1 East = 1

@ -52,23 +52,25 @@ function getShieldImagePathAndBlink(shieldId)
if shieldId == ShieldWhiteYellow then if shieldId == ShieldWhiteYellow then
path, blink = '/images/game/shields/shield_yellow_white', false path, blink = '/images/game/shields/shield_yellow_white', false
elseif shieldId == ShieldWhiteBlue then elseif shieldId == ShieldWhiteBlue then
path, blink = '/images/game/shields//shield_blue_white', false path, blink = '/images/game/shields/shield_blue_white', false
elseif shieldId == ShieldBlue then elseif shieldId == ShieldBlue then
path, blink = '/images/game/shields//shield_blue', false path, blink = '/images/game/shields/shield_blue', false
elseif shieldId == ShieldYellow then elseif shieldId == ShieldYellow then
path, blink = '/images/game/shields//shield_yellow', false path, blink = '/images/game/shields/shield_yellow', false
elseif shieldId == ShieldBlueSharedExp then elseif shieldId == ShieldBlueSharedExp then
path, blink = '/images/game/shields//shield_blue_shared', false path, blink = '/images/game/shields/shield_blue_shared', false
elseif shieldId == ShieldYellowSharedExp then elseif shieldId == ShieldYellowSharedExp then
path, blink = '/images/game/shields//shield_yellow_shared', false path, blink = '/images/game/shields/shield_yellow_shared', false
elseif shieldId == ShieldBlueNoSharedExpBlink then elseif shieldId == ShieldBlueNoSharedExpBlink then
path, blink = '/images/game/shields//shield_blue_not_shared', true path, blink = '/images/game/shields/shield_blue_not_shared', true
elseif shieldId == ShieldYellowNoSharedExpBlink then elseif shieldId == ShieldYellowNoSharedExpBlink then
path, blink = '/images/game/shields//shield_yellow_not_shared', true path, blink = '/images/game/shields/shield_yellow_not_shared', true
elseif shieldId == ShieldBlueNoSharedExp then elseif shieldId == ShieldBlueNoSharedExp then
path, blink = '/images/game/shields//shield_blue_not_shared', false path, blink = '/images/game/shields/shield_blue_not_shared', false
elseif shieldId == ShieldYellowNoSharedExp then elseif shieldId == ShieldYellowNoSharedExp then
path, blink = '/images/game/shields//shield_yellow_not_shared', false path, blink = '/images/game/shields/shield_yellow_not_shared', false
elseif shieldId == ShieldGray then
path, blink = '/images/game/shields/shield_gray', false
end end
return path, blink return path, blink
end end
@ -81,6 +83,10 @@ function getEmblemImagePath(emblemId)
path = '/images/game/emblems/emblem_red' path = '/images/game/emblems/emblem_red'
elseif emblemId == EmblemBlue then elseif emblemId == EmblemBlue then
path = '/images/game/emblems/emblem_blue' path = '/images/game/emblems/emblem_blue'
elseif emblemId == EmblemMember then
path = '/images/game/emblems/emblem_member'
elseif emblemId == EmblemOther then
path = '/images/game/emblems/emblem_other'
end end
return path return path
end end

@ -227,14 +227,17 @@ namespace Otc
ShieldBlueNoSharedExpBlink, // 7 party member sexp inactive guilty ShieldBlueNoSharedExpBlink, // 7 party member sexp inactive guilty
ShieldYellowNoSharedExpBlink, // 8 // party leader sexp inactive guilty ShieldYellowNoSharedExpBlink, // 8 // party leader sexp inactive guilty
ShieldBlueNoSharedExp, // 9 party member sexp inactive innocent ShieldBlueNoSharedExp, // 9 party member sexp inactive innocent
ShieldYellowNoSharedExp // 10 party leader sexp inactive innocent ShieldYellowNoSharedExp, // 10 party leader sexp inactive innocent
ShieldGray // 11 member of another party
}; };
enum PlayerEmblems { enum PlayerEmblems {
EmblemNone = 0, EmblemNone = 0,
EmblemGreen, EmblemGreen,
EmblemRed, EmblemRed,
EmblemBlue EmblemBlue,
EmblemMember,
EmblemOther
}; };
enum PlayerStates { enum PlayerStates {

@ -250,7 +250,9 @@ namespace Proto {
enum CreatureType { enum CreatureType {
CreatureTypePlayer = 0, CreatureTypePlayer = 0,
CreatureTypeMonster, CreatureTypeMonster,
CreatureTypeNpc CreatureTypeNpc,
CreatureTypeSummonOwn,
CreatureTypeSummonOther
}; };
enum CreaturesIdRange { enum CreaturesIdRange {

Loading…
Cancel
Save