• 0

    posted a message on Making a custom ability and dont know how?

    Sooo i need the same thing as drake, but quite a bit more complicated:

    An ability that must have:

    -is castable while moving [DONE]

    -does not require a target or aiming [DONE]

    -fires a missile in a certain direction, based on the casters facing direction [like left, front etc] [DONE]

    -checks the inventory for certain items [DONE]

    -in specific slots[DONE]

    -and fires an specific amount(based on the stacksize) of projectiles[DONE]

    -of a certain type (specified by the item type)[DONE {Probably :)}]

    - the projectile should not follow terrain deformation [STUCK]

    -applies debuff/extra critical damage if critical hit/different amounts of dmg/chain lightning on impact/pulls the enemy hit in/ignores armor etc

    -each projectile type should have an amount of damage, movespeed, area of effect, maximum range, missile&impact model[DONE]

    -an array of debuffs

    -different damage to different types of units (structures light etc) [DONE]

    -missile explodes at the first target it hits, [DONE]

    -collides with walls [DONE]

    [should have:

    -cannonball spread (so a certain angle in which the projectiles can be fired,[DONE]

    -reduced by an attribute of the hero) [DONE]

    -one of the projectiletypes should home in on a target once its getting close to one; one should hit all enemies and ignore obstacles in range

    -chance for a critical hit(2x damage) based on one of the casters attributes (that attribute should also increase the energy reduction of a missile) { formula:critical hit chance on NPCs: 0.05 + 0.0006 * Attribute2 }[DONE]

    -reduced chance that an incoming missile is a critical hit based on an other attribute (chance to critical hit a normal unit is only based on the casters attribute) that attribute also decreases the amount of energy reduced by a missile hit { formula:critical hit chance on Players: ((0,85*Castersattribute2)/(Castersattribute2+1,8*targetsattribute1))-0,1 if (result<0){result=0.05;} } [DONE]

    the ability should only check 3 distinct slots of the inventory for items [DONE]

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.