1
This commit is contained in:
parent
ce3715d80f
commit
573a0d87eb
@ -1522,6 +1522,7 @@ void Creature::SummonHero(const a8::Vec2& pos,
|
|||||||
dir,
|
dir,
|
||||||
team_id
|
team_id
|
||||||
);
|
);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -568,11 +568,11 @@ namespace MetaData
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
std::vector<std::string> strings;
|
std::vector<std::string> strings;
|
||||||
a8::Split(i->post_remove_action(), strings, '|');
|
a8::Split(i->buff_param1(), strings, '|');
|
||||||
for (auto& str : strings) {
|
for (auto& str : strings) {
|
||||||
std::vector<std::string> strings2;
|
std::vector<std::string> strings2;
|
||||||
a8::Split(str, strings2, ':');
|
a8::Split(str, strings2, ':');
|
||||||
if (strings2.size() > 4) {
|
if (strings2.size() >= 4) {
|
||||||
int through_wall = a8::XValue(strings2[0]);
|
int through_wall = a8::XValue(strings2[0]);
|
||||||
float x = a8::XValue(strings2[1]).GetDouble();
|
float x = a8::XValue(strings2[1]).GetDouble();
|
||||||
float y = a8::XValue(strings2[2]).GetDouble();
|
float y = a8::XValue(strings2[2]).GetDouble();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user