精華區beta mud_mars 關於我們 聯絡資訊
目前屬於遊俠專用 保佑術 bless 遊俠額外加成int1 破除邪惡術 dispel evil 這招和 harm 是一樣內容,實在很累贅,所以就刪除 harm 解除詛咒術 remove curse 巨人之力 giant strength 超渡術 turning undead 新增扣魔比例,通常要超渡或著驅散邪靈需要耗費極大的體力與精神 原本的扣魔實在不合邏輯。 回復術 heal 集體回復術 group heal 聖言枷鎖 power words 神聖之光 saint light 目前設定成完補的招式,也就是一次回滿的聖系大招, 如果cooldown功能做好,扣魔比例可能要再改,目前是扣一半的魔 強制無法馬上使用第二次。 以下放公式 -- [heal] void spell_heal( int sn, int level, CHAR_DATA *ch, void *vo ) { int heal,dif,rand_set,per; CHAR_DATA *victim = (CHAR_DATA *) vo; dif = victim->max_hit - victim->hit; if ( dif > 0 ) { rand_set = number_range( ch->level*get_curr_int(ch)*50, ch->level*get_curr_int(ch)*70 ); per = rand_set/10000; heal = dif * per / 30; victim->hit = UMIN( victim->hit + heal, victim->max_hit ); }else{ victim->hit = victim->max_hit; } update_pos( victim ); send_to_char( "一股暖流充滿了你的身體.\n\r", victim ); if ( ch != victim ) act("你施展治療術,一股暖流充滿了$N的身體!", ch, NULL, victim, TO_CHAR); return; } [heal_group] void spell_group_heal( int sn, int level, CHAR_DATA *ch, void *vo ) { int heal = 0; int rand_set; int dif, per; CHAR_DATA *victim; for ( victim = char_list; victim != NULL; victim = victim->next ) { if ( ( is_same_group( victim, ch ) ) && ( victim->in_room->vnum == ch->in_room->vnum ) ) { dif = victim->max_hit - victim->hit; if ( dif > 0 ) { rand_set = number_range( level*get_curr_int(ch)*50, level*get_curr_int(ch)*70 ); per = rand_set/10000; heal = dif * per / 32; victim->hit = UMIN( victim->hit + heal, victim->max_hit ); } else { victim->hit = victim->max_hit; } send_to_char( "一股暖流充滿了你的身體.\n\r", victim ); } } act("你施展治療術,一股暖流充滿了隊友的身體!", ch, NULL, victim, TO_CHAR); return; } 同場加映 call death [call_death] void spell_call_death( int sn, int level, CHAR_DATA *ch, void *vo) { char buffer[MAX_STRING_LENGTH]; CHAR_DATA *victim=(CHAR_DATA *) vo; int test=0,rand=0,range,ppl=0,true_int=0; if( !IS_NPC(ch) && ch->alignment > -800) { send_to_char("你還需要做更多的壞事....邪惡的孩子...\n\r",ch); return; } if(!IS_NPC(victim)) ppl=500; else if ( !str_cmp( victim->name, "Dragon king Chasel" ) ) { sprintf( buffer, "不自量力的%s(%s), 居然想要偷襲我!!" , ch->cname, ch->name ); do_yell( victim, buffer ); return; } if ( !str_cmp( victim->name, "the black dragon zakanado") ) { send_to_char( "哈哈!!不以為這樣就能打贏我!!\n\r" , ch); return; } if ( !str_cmp( victim->name, "Kilin") ) { send_to_char( "麒麟面對死神顯得毫無畏懼!\n\r" ,ch); return; } true_int=get_curr_int(ch); /* 玩家 INT經eq改變後的的真正值 */ if( victim->level <= 55) test=(victim->level)-victim->alignment/50+ppl; else { if( victim->level <= 70) test=(victim->level*2)-victim->alignment/50+ppl; else { if( victim->level <= 85) test=(victim->level*5)-victim->alignment/50+ppl; else { if ( victim->level <=100) test=(victim->level*10)-victim->alignment/50+ppl; else test=((victim->level*10)-victim->alignment/50+ppl)*2; } } } if(level >= 100 && ch->alignment == -1000) range=(level*2/3*true_int/25)-ch->alignment/150; else range=(level/2*true_int/25)-ch->alignment/150; if(range <= 0 ) range=1; rand=number_range(1,test); send_to_char("你唸道:「生命的終結者, 邪惡的代表; 偉大的死神! 請以您的鐮刀 取走眼前\n\r",ch); send_to_char(" 這可憐生物的靈魂吧!」\n\r",ch); act("$n唸道:「生命的終結者, 邪惡的代表; 偉大的死神! 請以您的鐮刀取 ",ch,NULL,victim,TO_ROOM); act(" 走眼前這可憐生物的靈魂吧!」",ch,NULL,victim,TO_ROOM); act("$n召喚死神攻擊你!",ch,NULL,victim,TO_VICT); if(test > 0 && rand <= range) { act("你召喚死神帶走了$N的靈魂!!!",ch,NULL,victim,TO_CHAR); send_to_char("你見到拿著鐮刀的黑衣骷髏\以乾枯\的手指示意你 ...\n\r",victim); send_to_char("你迷迷糊糊地隨它而去...\n\r",victim); act("$N見到拿著鐮刀的黑衣骷髏\以乾枯\的手指示意他 ,",ch,NULL,victim,TO_NOTVICT); act(" 靈魂迷迷糊糊地隨它而去...",ch,NULL,victim,TO_NOTVICT); raw_kill(victim, 1, ch); return; } else { send_to_char("你的召喚死神失敗了!\n\r",ch); return; } } -- 有改的東西我會講,很多時候你們根本不知道狀況就胡亂猜測我偷改 真的折磨人。一再重申的是,沒有開發團隊,只有個人,能看到的有 限,能測試的有限,不回報就以我觀察的為準,所以希望能回報多點 資訊囉! -- Mars-瑪爾斯群英傳,為一種多人的地下城文字網路遊戲(MUD), 以西方魔法奇幻風格為背景,讓玩家扮演各種職業進行冒險、解謎。 IP: 220.135.242.105:8888 討論板: PTT mud_mars Eplis @ Mars -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.218.24.252 ※ 編輯: eplis 來自: 124.218.24.252 (08/19 12:36)
xx52002:所以int37 call個米蟲院長的命中率大概也只有1/20 :P 08/19 12:54
Jate:破除了以前人說call 是看wis的迷思XDDDD 08/19 13:23
RosyLaLa:我目前法力滿是624 使用 他會顯示 你的魔力不足以使用 08/19 15:24
RosyLaLa:超渡跟神聖之光 忘記說了 :P 08/19 16:21
eplis:有最低魔量限制,否則純str pal超低魔量也可以用 08/19 19:32