◆ 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.
1114 {
1115 if (!target)
1116 return false;
1117
1119 {
1120 if (!victim->IsMounted())
1121 return false;
1122
1124 if (vehicle->GetVehicleInfo()->m_ID == 244)
1125 return true;
1126 }
1127
1128 return false;
1129 }
Player * ToPlayer()
Definition Object.h:202
Vehicle * GetVehicle() const
Definition Unit.h:1926
References Unit::GetVehicle(), and Object::ToPlayer().
The documentation for this class was generated from the following file: