csyyses 发表于 2012-2-24 21:49

红沙追随者技能3,死亡仪式能复活生者补丁

本帖最后由 csyyses 于 2012-2-24 21:50 编辑

\sessions\red_sands\atoms\familiar_beh.atom
默认的太坑了,只让人玩死灵,现在改成不光能复活对应的死灵兵种,还能复活对应的生者兵种

deadraiser {
    class=scripted
    script_attack=beholder_deadraiser_attack
    script_calccells=beholder_deadraiser_selcells
   
    picture=ba1_familiar_deadraiser_
    picture_small=ba1_familiar_deadraiser_small.png
   
    hinthead=special_familiar_deadraiser_head
    hint=special_familiar_deadraiser_hint
    hint_gen_script=familiar_deadraiser_cell_hint
    nfeatures=golem,pawn,boss,mech,flying
   
    log_label=null
    ad_factor=0
    attack_cursor=magicstick
    moves=1
    always_hint=1
    disabled=0
    endmove=0
    custom_params {
      type=talent_special
      humanoid=,sprite,dryad,werewolf,sprite_lake,robber,peasant,footman,goblin2,goblin,robber2,pirat,pirat2,elf,elf2,bowman,miner,orc2,barbarian,orc,footman2,dwarf,cannoner,catapult,barbarian2,ogre,orc2,giant,horseman,knight,orc_saboteur,miner2,assassin,gorguana,gorguana_council,orc_hunter,goblin_shaman,orc_chieftain,
      spider=,spider,spider_venom,spider_fire,
      ghostfodder=,wolf,griffin,hyena,graywolf,bear,bear2,bear_white,unicorn,unicorn2,gobot,gobot2,brontor,brontor,highterrant,griffin2,tirex,griffin_cursed,
      beholder=,beholder,beholder2,mistik,gorgon,
      dragonfodder=,greendragon,blackdragon,reddragon,tirex,
      magi=,archmage,druid,shaman,firemage,gorguana2,demonologist,runemage,shaman_blood,goblin_shaman,whitch_hunter,gorguana_elder,
      evilgenius=,alchemist,ingeneer,
      
      humanoid_target=,skeleton,archer,zombie,zombie2,ghost,ghost2,blackknight,vampire,vampire2,bat,bat2,driad,pirat_ghost,sprite,dryad,werewolf,sprite_lake,robber,peasant,footman,goblin2,goblin,robber2,pirat,pirat2,elf,elf2,bowman,miner,orc2,barbarian,orc,footman2,dwarf,cannoner,catapult,barbarian2,ogre,orc2,giant,horseman,knight,orc_saboteur,miner2,assassin,gorguana,gorguana_council,orc_hunter,goblin_shaman,orc_chieftain,
      spider_target=,spider_undead,ghost,ghost2,spider,spider_venom,spider_fire,
      ghostfodder_target=,ghost,ghost2,wolf,griffin,hyena,graywolf,bear,bear2,bear_white,unicorn,unicorn2,gobot,gobot2,brontor,brontor,highterrant,griffin2,tirex,griffin_cursed,
      beholder_target=,dread_eye,ghost,ghost2,beholder,beholder2,mistik,gorgon,
      dragonfodder_target=,bonedragon,ghost,ghost2,greendragon,blackdragon,reddragon,tirex,
      magi_target=,skeleton,archer,zombie,zombie2,ghost,ghost2,vampire,vampire2,necromant,spiritist,darkmage,archmage,druid,shaman,firemage,gorguana2,demonologist,runemage,shaman_blood,goblin_shaman,whitch_hunter,gorguana_elder,
      evilgenius_target=,skeleton,evilgenius,zombie,zombie2,ghost,ghost2,vampire,vampire2,blackknight,alchemist,ingeneer,

      hp_base=70
      hp_perlevel=12
      intbonus=3 // 镳铞屙螓
      xp_coeff=4 // 磬 礤泐 溴腓?箴铐
      sacrifice=1
    }
}

csyyses 发表于 2012-2-24 23:02

tmd,代码里写死只能复活不死,继续修改

sessions\red_sands\scripts\familiar_talents.lua
527行
if Attack.act_race(i,"undead") and Attack.cell_is_empty(Attack.get_cell(source)) and Attack.cell_is_pass(Attack.get_cell(source)) and Attack.cell_get_corpse(source)~=nil then
   把 Attack.act_race(i,"undead") and 删掉

在睡觉的猫 发表于 2012-2-25 15:46

本帖最后由 在睡觉的猫 于 2012-2-25 15:51 编辑

然后把 咱在每个技能中间都加了个
    endmove=0
很无耻吧= =.。

qqqawpq 发表于 2012-3-10 20:25

在睡觉的猫 发表于 2012-2-25 15:46 static/image/common/back.gif
然后把 咱在每个技能中间都加了个
    endmove=0
很无耻吧= =.。

不管事吧,有的技能,加那个不管用
页: [1]
查看完整版本: 红沙追随者技能3,死亡仪式能复活生者补丁