Jump to content

Recommended Posts

Posted

accessory po. diba po kasi yung Ifrit Card na sloslot sa accessory? tapos pag natatamaan siya mag EQ pero low chance. yung damage po pano pataasin? INT lang po ba?

Posted

check mo item_db sa item

eto ang format

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV, Refineable,View,{Script},{OnEquip_Script},{OnUnequip_Script}
Posted

	if (skill_num == NPC_EARTHQUAKE)
{	//Adds atk2 to the damage, should be influenced by number of hits and skill-ratio, but not mdef reductions. [skotlex]
	//Also divide the extra bonuses from atk2 based on the number in range [Kevin]
	if(mflag>0)
		ad.damage+= (sstatus->rhw.atk2*skillratio/100)/mflag;
	else
		ShowError("Zero range by %d:%s, divide per 0 avoided!\n", skill_num, skill_get_name(skill_num));
}

ayun sa code refine ng weapon sa right hand nakabase yung pangdagdag damage pero divided yung damage dipende sa dami ng target...

Posted

ad = Damage class...na kung saan naka store or structure ng info about sa damage, type, etc..so in our case magical damage

so yung .damage diyan nasstore yung total damage na nacompute...

rhw.atk2 diyan na sstore yung refine/upgrade level

rhw.atk diyan naman yung sa atk strength ng weapon..

Posted

pano naman code pormula kung gusto mo ibasae ung pinsala sa kabouan ng atk+atk2(kasama rin ang refine) ngunit sa kanang kamay lang at hindi kasama ang pinsala na magmumula sa kaliwang kamay (katulad kung SinX ka ay isang armas mo lang ang pagmumulan ng pinsala)

+1 kay malufett nosebleed sa tagalog

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...