War3FT -Hp
PaNiKa
25.11.2009
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
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
R3X
25.11.2009
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 }