Witam.Mógłby ktoś wspomóc.
Mamy zainstalowanego moda War3FT tego starego.
I pytanie do was.
Co zrobić żeby po zakupie ringów,maski każdej ,ale to każdej postaci ładowało hp max do 150,a nie jak jest do 100.
Z góry dziękuje
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
War3FT -Hp
Temat rozp.
PaNiKa
, 25.11.2009 00:33
1 odpowiedź w tym temacie
#1
Napisano 25.11.2009 00:33
#2
Napisano 25.11.2009 18:38
2.3.1 ?
[ Dodano: 26-11-2009, 14:53 ]
Jak ta to masz w pliku scripting/war3ft/stocks.inl
zmień na
[ Dodano: 26-11-2009, 14:53 ]
Jak ta to masz w pliku scripting/war3ft/stocks.inl
stock get_user_maxhealth(id){ new maxHealth = 100 // Human Devotion Skill if ( Verify_Skill(id, RACE_HUMAN, SKILL2) ){ maxHealth += (p_devotion[p_data[id][P_SKILL2]-1] - 100) } // Player has a health bonus from the Periapt of Health if ( p_data[id][P_ITEM]==ITEM_HEALTH ){ maxHealth += iCvar[FT_HEALTH_BONUS] } return maxHealth }
zmień na
stock get_user_maxhealth(id){ new maxHealth = 150 // Human Devotion Skill if ( Verify_Skill(id, RACE_HUMAN, SKILL2) ){ maxHealth += (p_devotion[p_data[id][P_SKILL2]-1] - 100) } // Player has a health bonus from the Periapt of Health if ( p_data[id][P_ITEM]==ITEM_HEALTH ){ maxHealth += iCvar[FT_HEALTH_BONUS] } return maxHealth }
Użytkownicy przeglądający ten temat: 1
0 użytkowników, 1 gości, 0 anonimowych