◆ achievement_wg_didnt_stand_a_chance()
| achievement_wg_didnt_stand_a_chance::achievement_wg_didnt_stand_a_chance |
( |
| ) |
|
|
inline |
Definition AchievementCriteriaScript.h:24
◆ OnCheck()
| bool achievement_wg_didnt_stand_a_chance::OnCheck |
( |
Player * |
source, |
|
|
Unit * |
target, |
|
|
uint32 |
|
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from AchievementCriteriaScript.
1123 {
1124 if (!target)
1125 return false;
1126
1128 {
1129 if (!victim->IsMounted())
1130 return false;
1131
1133 if (vehicle->GetVehicleInfo()->m_ID == 244)
1134 return true;
1135 }
1136
1137 return false;
1138 }
Player * ToPlayer()
Definition Object.h:202
Vehicle * GetVehicle() const
Definition Unit.h:1930
References Unit::GetVehicle(), and Object::ToPlayer().
The documentation for this class was generated from the following file: