Jump to content

sonofcereal

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by sonofcereal

  1. ok i will not bump...

    in file skillid.lub

    KN_SATTELITE_BOUND = 8443

    in file skilldescript.lub

      [SKID.KN_SATTELITE_BOUND] = {
    		"Skill of Event Horizon : SATTELITE BOUND",
    		...
    	}

    in file skillinfolist.lub

    [SKID.KN_SATTELITE_BOUND] = {
    		"KN_SATTELITE_BOUND";
    		SkillName = "Sattelite Bound",
    		MaxLv = 1,
    		SpAmount = { 40 },
    		bSeperateLv = false,
    		AttackRange = { 14 },
    		_NeedSkillList = {
    			{ SKID.SM_SWORD,10 }
    		}
    	},

    in file skilltreeview.lub

      [JOBID.JT_KNIGHT] = {
        [0] = SKID.KN_TWOHANDQUICKEN,
        [1] = SKID.KN_AUTOCOUNTER,
        [2] = SKID.KN_RIDING,
        [3] = SKID.KN_SPEARMASTERY,
        [6] = SKID.KN_CHARGEATK,
        [8] = SKID.KN_BOWLINGBASH,
        [9] = SKID.KN_CAVALIERMASTERY,
        [10] = SKID.KN_PIERCE,
        [13] = SKID.KN_ONEHAND,
        [16] = SKID.KN_SPEARBOOMERANG,
        [17] = SKID.KN_SPEARSTAB,
        [24] = SKID.KN_BRANDISHSPEAR,
        [27] = SKID.KN_SATTELITE_BOUND
      },

    in file skill.h

    KN_SATTELITE_BOUND = 8443,

    in file skill.c

    case KN_SATTELITE_BOUND:
    		{
    		bool path = path_search_long(NULL, src->m, src->x, src->y, bl->x, bl->y,CELL_CHKWALL);
    		unsigned int dist = distance_bl(src, bl);
    		uint8 dir = map_calc_dir(bl, src->x, src->y);
    
    		// teleport to target (if not on WoE grounds)
    		if( !map_flag_gvg(src->m) && !map[src->m].flag.battleground && unit_movepos(src, bl->x, bl->y, 0, 1) )
    			clif_blown(src);
    
    		// cause damage and knockback if the path to target was a straight one
    		if( path )
    		{
    			skill_attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, dist);
    			skill_blown(src, bl, dist, dir, 0);
    			//HACK: since knockback officially defaults to the left, the client also turns to the left... therefore,
    			// make the caster look in the direction of the target
    			unit_setdir(src, (dir+4)%8);
    		}
    
    		}
    		break;

    in file battle.c

    		case KN_SATTELITE_BOUND:
    			{
    				int k = (wd.miscflag-1)/3; //+100% every 3 cells of distance
    				if( k > 2 ) k = 2; // ...but hard-limited to 300%.
    				skillratio += 100 * k;
    			}
    			break;

    in file skill_db.txt

    8443,10,6,1,-1,0,0,10,1,no,0,0,0,weapon,0,0x0,	KN_SATTELITE_BOUND,Sattelite Bound

    in file skill_tree.txt

    7,8443,1,2,10,0,0,0,0,0,0,0,0 //KN_SATTELITE_BOUND#Sattelite Bound#

    in file skill_require_db.txt

    8443,0,0,40,0,0,0,99,0,0,none,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0								//KN_SATTELITE_BOUND

     

  2. 1 hour ago, hazimjauhari90 said:

    english clientside translation will use .lub files & no need to worry.. the client also with read lub files.. unless u patch the client to read lua files...

    for example, in nemo patcher u can find load custom lua files instead of lub.. unless if can patch to read lua files, or otherwise the client will read lub files i guess..

    i'm not sure about other load lua files in nemo patcher, but if for itemInfo.lua, below link might help u.

     

    thx for answer, i will try again.

    because i try to make new skill in server 

    but it's not work when i use skill then skill that miss, i don't know that because i fixed file .lub instead of file .lua 

  3. hello guys, today i try to custom new skill which i follow by https://rathena.org/board/topic/97954-guide-adding-custom-icons-to-skills/?_fromLogin=1 and https://github.com/rathena/rathena/wiki/Adding_new_skills which it's ok , my new skill was adding to server but when i use new skill to monster then miss  !! [see picture] 

    why ? plz somebody help me /hp

    Ps. new skill i copy data from skill Charge Attack.

     

    screen^FF0000Version 9.1010.jpg

  4.  

    i have same problem

     

     n file doc/item_db i see Last Updated : 20130809 ### my Client ver.: 2013-12-23 cRagexe

     

    i can see 

     

     

    Loc: Equipment's placement. Values are:

        2^8 256 = Upper Headgear

        2^9 512 = Middle Headgear

        2^0 001 = Lower Headgear

        2^4 016 = Armor

        2^1 002 = Weapon

        2^5 032 = Shield

        2^2 004 = Garment

        2^6 064 = Footgear

        2^3 008 = Accessory Right

        2^7 128 = Accessory Left

        2^10 1024 = Costume Top Headgear

        2^11 2048 = Costume Mid Headgear

        2^12 4096 = Costume Low Headgear

        2^13 8192 = Costume Garment/Robe

        2^15 32768 = Ammo

        2^16 65536 = Shadow Armor

        2^17 131072 = Shadow Weapon

        2^18 262144 = Shadow Shield

        2^19 524288 = Shadow Shoes

        2^20 1048576 = Shadow Accessory Right (Earring)

        2^21 2097152 = Shadow Accessory Left (Pendant)

     
    i try to make Violet_Sword to costume Item[shadow Weapon]
     
    from 

     

    1185,Violet_Fear,Violet Fear,5,20,,2200,275,,1,2,0x00004082,18,2,34,4,80,1,3,{ bonus3 bAutoSpell,"WZ_METEOR",3,30; bonus3 bAutoSpell,"WZ_FROSTNOVA",5,50; autobonus "{ bonus bIgnoreDefClass,Class_Normal; specialeffect2 EF_ENHANCE; }",50,5000; },{},{}

    i change to

     

     

    121185,Violet_Fear,Violet Fear,12,20,,2200,275,,1,2,0x00004082,18,2,131072,4,80,1,3,{ bonus3 bAutoSpell,"WZ_METEOR",3,30; bonus3 bAutoSpell,"WZ_FROSTNOVA",5,50; autobonus "{ bonus bIgnoreDefClass,Class_Normal; specialeffect2 EF_ENHANCE; }",50,5000; },{},{}

     

    24001,T_DEX1_Weapon_Shadow,T DEX1 Weapon Shadow,12,10,,0,,,,0,0xFFFFFFFF,63,2,131072,,1,,,{ bonus bDex,1; },{},{}

     

     

    but i don't equip it.

     

    i try @item 24001 to equip[T_DEX1_Weapon_Shadow] i can equip it

     

    why ? i don't equip violet_fear after change itemdb ??

    dont forget to reloaditemdb

     

    Yes, I did. And then I made runserver too.

     

    but it's no change. /sob

  5. i have same problem

     

     n file doc/item_db i see Last Updated : 20130809 ### my Client ver.: 2013-12-23 cRagexe

     

    i can see 

     

     

    Loc: Equipment's placement. Values are:
        2^8 256 = Upper Headgear
        2^9 512 = Middle Headgear
        2^0 001 = Lower Headgear
        2^4 016 = Armor
        2^1 002 = Weapon
        2^5 032 = Shield
        2^2 004 = Garment
        2^6 064 = Footgear
        2^3 008 = Accessory Right
        2^7 128 = Accessory Left
        2^10 1024 = Costume Top Headgear
        2^11 2048 = Costume Mid Headgear
        2^12 4096 = Costume Low Headgear
        2^13 8192 = Costume Garment/Robe
        2^15 32768 = Ammo
        2^16 65536 =
    Shadow Armor
        2^17 131072 =
    Shadow Weapon
        2^18 262144 =
    Shadow Shield
        2^19 524288 =
    Shadow Shoes
        2^20 1048576 =
    Shadow Accessory Right (Earring)
        2^21 2097152 =
    Shadow Accessory Left (Pendant)

     
    i try to make Violet_Sword to costume Item[shadow Weapon]
     
    from 

     

    1185,Violet_Fear,Violet Fear,5,20,,2200,275,,1,2,0x00004082,18,2,34,4,80,1,3,{ bonus3 bAutoSpell,"WZ_METEOR",3,30; bonus3 bAutoSpell,"WZ_FROSTNOVA",5,50; autobonus "{ bonus bIgnoreDefClass,Class_Normal; specialeffect2 EF_ENHANCE; }",50,5000; },{},{}

    i change to

     

     

    121185,Violet_Fear,Violet Fear,12,20,,2200,275,,1,2,0x00004082,18,2,131072,4,80,1,3,{ bonus3 bAutoSpell,"WZ_METEOR",3,30; bonus3 bAutoSpell,"WZ_FROSTNOVA",5,50; autobonus "{ bonus bIgnoreDefClass,Class_Normal; specialeffect2 EF_ENHANCE; }",50,5000; },{},{}

     

    24001,T_DEX1_Weapon_Shadow,T DEX1 Weapon Shadow,12,10,,0,,,,0,0xFFFFFFFF,63,2,131072,,1,,,{ bonus bDex,1; },{},{}

     

     

    but i don't equip it.

     

    i try @item 24001 to equip[T_DEX1_Weapon_Shadow] i can equip it

     

    why ? i don't equip violet_fear after change itemdb ??

  6. Maybe just use skill_damage_db, that's easiest: https://github.com/rathena/rathena/blob/master/db/skill_damage_db.txt

     

    You can also edit the damage formula in battle.c, search for GS_GROUNDDRIFT, you'll find both the percentual damage formula for renewal and the absolute damage addition for pre-renewal.

    oh , i forget battle.c but i always found in skill.c  /oops

     

    and after i modify in battle.c, i must to compile server ...right ?  /thx  /thx

  7. Hello rAthena ,

     

    I try to custom weapon which i studies in rAthena Wiki's

     

    ...

     

    in iteminfo

     

    [40002] = {

    unidentifiedDisplayName = "Pillar of Creation",
    unidentifiedResourceName = "Pillar_of_Creation",
    unidentifiedDescriptionName = {
    "Unknown Item, can be identified by [Magnifier]",
    "Weight: ^77777750^000000",
    },
    identifiedDisplayName = "Pillar of Creation",
    identifiedResourceName = "Pillar_of_Creation",
    identifiedDescriptionName = {
    "...",
    "Class : ^777777Spear^000000",
    "Attack: ^7777771000^000000",
    "Weight : ^77777750^000000",
    "Weapon Level: ^7777774^000000",
    "Required Level: ^777777150^000000",
    "Job: ^777777Swordman Class",
    },
    slotCount = 4,
    ClassNum = 98
    }, 

     

     
     
    in item_db

    40002,Pillar_of_Creation,Pillar_of_Creation,5,100,,500,1000,0,3,4,0xFFFFFFFF,63,2,2,4,150,1,4,{},{},{}
     

     

    in weapontable

    WEAPONTYPE_Pillar_of_Creation = 98
     
      [Weapon_IDs.WEAPONTYPE_Pillar_of_Creation] = "_40002"
     
      [Weapon_IDs.WEAPONTYPE_Pillar_of_Creation] = Weapon_IDs.WEAPONTYPE_SPEAR

     

     

    In texture 

     

    >> Collection  >>> Pillar_of_Creation 

    >> Item >>> Pillar_of_Creation

     

    In Sprite

    Pillar_of_Creation.act & Pillar_of_Creation.spr

     

    post-33508-0-28707900-1438274171_thumb.jpg

     

    post-33508-0-43423100-1438274228_thumb.jpg

     

    ps. 2013-12-23

    ps.2. sorry for my skill english /sry

×
×
  • Create New...