Batch #1692 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_23805 CSession::GetPetTalkActionName: logic confirmed by peer review - fn_23834 CSession::GetMonsterTalkEventName: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/Contents/PetTalk.cpp, Source/Contents/EnemyMonsterTalk.cpp
24 lines
411 B
C++
24 lines
411 B
C++
#include "Client/Session.h"
|
|
|
|
// OFFSET: 0x00E19090
|
|
// FUNCTION: fn_23834
|
|
const char* CSession::GetMonsterTalkEventName(int event) {
|
|
switch (event) {
|
|
case 0:
|
|
return "attack";
|
|
case 1:
|
|
return "castskill";
|
|
case 2:
|
|
return "useskill";
|
|
case 3:
|
|
return "skillattacked";
|
|
case 4:
|
|
return "hp50";
|
|
case 5:
|
|
return "hp25";
|
|
case 6:
|
|
return "dead";
|
|
default:
|
|
return nullptr;
|
|
}
|
|
}
|