Thread: Random fixes
View Single Post
  #3  
Old 08-01-2004, 04:50 PM
Branks
Sarnak
 
Join Date: May 2004
Posts: 58
Default

also a shadowknight friend of mine told me that after level 40 HT is a different spell so i tried correcting it in zone/client_process.cpp around line 2127 by adding

Code:
							else if((GetClass() == SHADOWKNIGHT)&&(GetLevel() <= 39))
							{
								ability=89;	// solar: TODO check this value, why is it not 88?
								spell_to_cast = 88;
							}
							else if((GetClass() == SHADOWKNIGHT)&&(GetLevel() >= 40))
							{
								ability=89;
								spell_to_cast = 2821;
							}
							else

however the line below it

Code:
						if(spell_to_cast != castspell->spell_id)
						{
							InterruptSpell(castspell->spell_id); //CHEATER!!!
							break;
						}

prevents spell 2821 from being cast, so does anyone know how i could make 2821 an allowable spell for HT since im pretty sure it is correct, but i may be wrong since ive never played an SK myself.

also as a correction to the above post in case 117 in client.cpp strong root, the cast time should be 2 seconds correct this by making line 4052- CastSpell(2748,targ,9,2000,0,0,0); anyway uh thanks again.
Reply With Quote