mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-07 14:33:52 +00:00
Added "weapon_1" and "weapon_2" to Zone.SetEntityAttribute
This commit is contained in:
parent
910ee66fce
commit
6edb4c2b37
@ -329,6 +329,7 @@ void handle_rc_set_entity_attribute(const std::string &method, const std::string
|
||||
if (params[1] == "size"){ ent->ChangeSize(atoi(params[2].c_str())); }
|
||||
if (params[1] == "texture"){ ent->SendIllusionPacket(0, 0xFF, atoi(params[2].c_str()), 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0); }
|
||||
if (params[1] == "gender"){ ent->SendIllusionPacket(0, atoi(params[2].c_str()), 0xFF, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0); }
|
||||
|
||||
if (params[1] == "weapon_1"){ ent->WearChange(7, atoi(params[2].c_str()), 0); }
|
||||
if (params[1] == "weapon_2"){ ent->WearChange(8, atoi(params[2].c_str()), 0); }
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user