mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-04 15:43:52 +00:00
[API] GetNPCStat default better naming (#2053)
This commit is contained in:
parent
e5f924d1d5
commit
4296e2e39e
@ -2775,19 +2775,19 @@ float NPC::GetNPCStat(const char *identifier)
|
||||
else if (id == "default_ac") {
|
||||
return default_ac;
|
||||
}
|
||||
else if (id == "default_min_dmg") {
|
||||
else if (id == "default_min_hit") {
|
||||
return default_min_dmg;
|
||||
}
|
||||
else if (id == "default_max_dmg") {
|
||||
else if (id == "default_max_hit") {
|
||||
return default_max_dmg;
|
||||
}
|
||||
else if (id == "default_attack_delay") {
|
||||
return default_attack_delay;
|
||||
}
|
||||
else if (id == "default_accuracy_rating") {
|
||||
else if (id == "default_accuracy") {
|
||||
return default_accuracy_rating;
|
||||
}
|
||||
else if (id == "default_avoidance_rating") {
|
||||
else if (id == "default_avoidance") {
|
||||
return default_avoidance_rating;
|
||||
}
|
||||
else if (id == "default_atk") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user